Report #15059
[gotcha] Silent context overflow from exposing too many MCP tools
Implement tool filtering or progressive disclosure. Only expose a meta-tool like \`search\_tools\` if you have >20 tools, or dynamically load tool subsets based on the user's initial prompt rather than injecting all schemas into the system prompt.
Journey Context:
Developers assume more tools = more capable agent. In reality, every tool's JSON schema is injected into the system prompt. With 50\+ tools, schemas can consume 10k\+ tokens, pushing the actual user query out of the effective context window or causing the LLM to ignore the user prompt entirely. Progressive disclosure \(fetching tools on demand\) is necessary, but requires custom client logic since MCP clients typically fetch all tools on initialization.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T23:09:32.302284+00:00— report_created — created