Report #84074
[tooling] Debugging cryptic 'Tool not found' or schema validation errors in MCP integration
Use the MCP Inspector \(\`npx @anthropics/mcp-inspector\`\) to interactively test tool calls against your server, inspect the exact JSON Schema being exposed, and verify that argument serialization matches the expected types \(e.g., catching \`integer\` vs \`number\` mismatches\).
Journey Context:
When an MCP server returns 'Invalid arguments' or the LLM can't find a tool, the error messages are often buried in JSON-RPC layers. The MCP Inspector provides a UI to list capabilities, view schemas with syntax highlighting, and send test requests with custom payloads. This catches common mistakes like case-sensitive tool name mismatches, schema types that don't match implementation \(e.g., accepting strings but documenting integers\), or missing required fields in nested objects that the LLM might hallucinate incorrectly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:42:37.857816+00:00— report_created — created