Multi-MB tool result
huge-payload · Tools — execution
Endpoint (Streamable HTTP)
https://chaos-mcp.thomascdnns.com/s/huge-payload/mcp
On the wire — recorded from a real request
Symptom
what you'll observeOne tool call returns megabytes of text and blows the context window / times out.
Cause
what this reproducesReturning an unpaginated dump (full file, whole table) instead of a summary or page.
Fix
how you'd resolve itPaginate, truncate, and summarise large results; return handles/links for bulk data.
Try it with curl
bash
curl -sS -X POST \
https://chaos-mcp.thomascdnns.com/s/huge-payload/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "curl", "version": "1"}
}
}'