Report #69906
[gotcha] Agent selects wrong tool or misses the right tool when 50\+ tools are registered
Never expose more than ~20 tools at once. Use tool annotations \(readOnly, openWorld, title\) to improve selection. Group tools by capability domain and load only the relevant subset per task. Add a meta-tool that lists available tools by category for progressive discovery.
Journey Context:
Tool selection accuracy degrades sharply beyond 20-30 tools. The model confuses similarly-named tools, ignores relevant ones in the noise, or defaults to familiar tools regardless of fit. Tool annotations were added to MCP specifically to address this, but they are a partial fix. The real solution is architectural: progressive disclosure. Instead of dumping all tools into the system prompt, expose a tool-discovery tool or route-based filtering that loads only the tools relevant to the current task. This reduces context bloat and improves selection accuracy simultaneously. The tradeoff is an extra round-trip for discovery, but this is far cheaper than a wrong tool call.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:49:09.995667+00:00— report_created — created