Gemini CLI tool output bound vs Sume's 256 KiB MCP result cap

Gemini CLI v0.63.0-preview.0 bounds tool output size. Sume refuses MCP results above 256 KiB (mcp_output_too_large); not a job failure, so read narrower.

4 min readSume
All posts

Two different limits can shorten a tool result. Gemini CLI v0.63.0-preview.0 lists a change to "bound tool output size", and Sume's MCP server returns mcp_output_too_large for a result above 256 KiB. The Sume error is an output limit, not a job failure: read a narrower or paginated slice.

The Gemini CLI line is from its release list; the Sume limit from packages/mcp-server in the Sume repository and the hosted MCP docs, read 2026-10-01.

What did Gemini CLI change?

The 2026-09-29 preview notes include "bound tool output size and optimize memory lifecycle in long-running agent loops". The release list does not give the numeric limit, so check your version's settings before relying on one.

What does Sume do with a large result?

The server's constant is MCP_OUTPUT_MAX_BYTES = 256 * 1024. Past that it returns a text result with code mcp_output_too_large and max_bytes, saying the tool returned more data than MCP can display, to use a narrower or paginated read, and never to resubmit a paid create.

How to tell which side cut a result, read 2026-10-01
SignalCut by
Result contains mcp_output_too_large and max_bytesSume server
Result ends abruptly with no Sume error codeLook at the client's output bound
Job status is terminal and healthyNot a job failure either way

How do I read the rest?

Use the narrowest read that answers the question: jobs_status or jobs_get for one job, jobs_result for artifacts, and list tools with their paging inputs. Report media.sume.com URLs and public ids instead of pasting bulk output. Timeouts are a separate topic, covered in Gemini CLI MCP timeouts and `jobs_wait`.

Should I resubmit when I see the error?

No. The message says it is not a job failure, and a resubmitted paid create would start another job. Re-read the existing job by id.

Sources

Related posts

More in Integrations

All Integrations posts

Written by Sume