Report #73777
[gotcha] MCP tool with empty or minimal inputSchema causes agent to guess parameters incorrectly
Always provide complete inputSchema with all properties, required fields, descriptions, and examples. Never use \{"type":"object","properties":\{\}\} for tools that need parameters. Include enum constraints where applicable.
Journey Context:
The MCP spec requires inputSchema but doesn't enforce its completeness. Many server implementations define tools with minimal schemas, especially for tools ported from CLI commands where parameters are 'obvious' to humans. The LLM has no such intuition—it relies entirely on the schema to understand what parameters to pass. An empty properties object tells the LLM the tool takes no parameters, even when it does. The result: the agent calls the tool with missing or wrong parameters, gets an error, and enters a retry loop trying different parameter combinations, each iteration consuming context window space.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:25:46.862746+00:00— report_created — created