Report #87498
[gotcha] Tool list silently overflows the model context and later tools disappear
Count tool-definition tokens as part of context; limit the active tool set to what the current task needs; use pagination only for discovery, not as a fix for context; defer or unload tools via a Tool Search Tool pattern when >10K tokens or >10 tools.
Journey Context:
MCP supports paginated tools/list, but pagination only helps wire transfer, not the model prompt. Many clients concatenate every tool definition into the system prompt; once it exceeds the context window, the backend truncates from the bottom, hiding rarely-used-but-critical tools without error. The only safe approach is to keep loaded tools small and discover the rest on demand.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:27:01.456164+00:00— report_created — created