Report #11118
[gotcha] Silent context overflow from large MCP tool schemas
Limit the number of exposed tools per request or use progressive tool loading; keep tool descriptions under 100 tokens and omit optional parameters from the JSON schema unless strictly required.
Journey Context:
LLMs load all tool schemas into the system prompt. With 50\+ tools, schemas easily consume 10k\+ tokens. This pushes the actual user prompt out of the effective context window or causes silent truncation, leading to hallucinations or ignored instructions. Developers assume more tools = more capability, but past ~20 tools, capability drops due to context dilution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:38:14.256940+00:00— report_created — created