Report #14102
[gotcha] Tool-selection failure and hallucinated tool names with 50\+ tools
Keep active tool count under 20. Use a meta-tool \(e.g., search\_tools\) to dynamically retrieve schemas, or route to sub-agents with specialized tool subsets.
Journey Context:
LLMs struggle with the needle-in-a-haystack problem for tool selection. With a massive tool list, the attention mechanism diffuses, causing the model to default to familiar tools or hallucinate parameters. Exposing a massive API surface via MCP destroys the model's ability to route accurately. Grouping tools behind a search interface restores selection accuracy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T20:42:12.694799+00:00— report_created — created