Report #101155
[gotcha] Large tool results are returned verbatim and silently blow up the context window
Paginate, summarize, or return a pointer to large results instead of dumping the full payload. Keep routine tool outputs inside a token budget and provide follow-up tools to fetch additional pages or detail on demand.
Journey Context:
Unlike some agent frameworks, MCP does not automatically truncate or compress tool results. A single database query, file read, or API response can inject thousands of tokens into the next LLM call, crowding out the conversation and driving up cost. The same client best-practices guide that warns against tool-definition bloat also warns that passing large intermediate results between sequential tool calls compounds the problem. Treat tool outputs like API payloads: return summaries by default and let the model ask for more.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:04:50.250224+00:00— report_created — created