How to debug why your MCP tool isn't being called
When to use: You wrote a tool, Claude doesn't use it, and you don't know why.
Prerequisites
- Node — nodejs.org or nvm
Flow
-
Launch Inspectornpx @mcpjam/inspector@latest and open the printed URL.✓ Copied→ UI opens in browser
-
Connect your serverIn the UI, add your server (stdio or HTTP) and connect.✓ Copied→ Tools list populates
-
Simulate a promptIn the Chat tab, ask a question that should trigger your tool. Watch the JSON-RPC trace.✓ Copied→ Either tool fires (good) or you see why the model rejected it (bad description, missing input schema)
Outcome: Concrete reason (wrong tool description, schema issue, model choice) with a visible fix.
Pitfalls
- Testing with a weaker model that never uses tools — Test across multiple models in the Evals tab — Haiku, Sonnet, GPT-4o — behavior varies