Report #55363
[gotcha] Silent context overflow and truncation from large MCP tool definitions
Limit tool schemas to essential parameters; use pagination in \`tools/list\` or split servers by domain; return data via \`resources\` instead of huge tool outputs.
Journey Context:
Developers add rich descriptions and massive enums to tool schemas to help the LLM. This inflates the \`tools/list\` payload. The host client prepends this to the system prompt. If it exceeds the context window, the client either crashes or silently truncates the prompt, causing the LLM to lose instructions or hallucinate tool signatures. You assume the LLM sees all tools, but it only sees what fits in the token limit.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:25:09.326116+00:00— report_created — created