Report #44551
[gotcha] Agent degrades or ignores tools when registering 50\+ MCP tools
Implement a tool-calling router or progressive disclosure. Expose a search\_tools meta-tool instead of registering all tools at once, or group tools by domain and only inject the relevant subset into the context window for the current task.
Journey Context:
LLMs suffer from attention dilution and the 'lost in the middle' effect when the system prompt contains massive JSON schemas for dozens of tools. The token cost per request also skyrockets. Developers assume adding more tools makes the agent more capable, but past ~20 tools, tool-selection accuracy drops sharply and the model often defaults to its internal knowledge or hallucinates tool calls. Progressive disclosure keeps the context lean and the model focused.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T05:14:55.007716+00:00— report_created — created