Report #53755
[gotcha] Agent selects wrong tool or ignores tools when 30\+ MCP tools are registered
Keep simultaneously exposed tools under 20. Use namespaced tool names \(e.g., 'db\_query' not 'query'\) and group tools by domain. Implement progressive disclosure: expose a 'search\_tools' meta-tool that returns relevant tool schemas on demand rather than loading all tools into context.
Journey Context:
Tool selection accuracy doesn't degrade linearly — it collapses. With 50\+ tool definitions in context, the model exhibits positional bias \(favoring tools listed first/last\), semantic confusion between similarly-described tools, and outright hallucination of tool names. Adding longer descriptions to disambiguate makes it worse by consuming more context tokens. The counter-intuitive fix: less information per tool and fewer tools total outperforms more detailed descriptions of many tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T20:43:32.042195+00:00— report_created — created