Claude Code saves MCP text over 50,000 characters: size Sume reads

Claude Code writes long MCP text results to a file, and Sume caps a tool answer at 256 KiB. Read job waves in batches of 20 ids so each answer stays small.

4 min readSume
All posts

Claude Code saves successful MCP text results longer than 50,000 characters to a file, whatever MAX_MCP_OUTPUT_TOKENS says. Sume separately caps one tool answer at 256 KiB. If you read a big wave of finished jobs in one call, you can hit either limit, so read waves in groups of 20 ids or fewer and keep each result small.

The limits side by side

The Claude Code figures come from its MCP page. The 20-id ceiling for both jobs_wait and jobs_result is on Sume's jobs and results page. The 256 KiB answer budget is part of the server's work bounds in the Sume repo: oversize output returns an explicit error, not a silent cut.

Output limits (Claude Code docs and Sume docs, read 2026-10-06)
WhereLimitWhat happens past it
Claude CodeWarning above 10,000 tokensWarning shown
Claude Code25,000 tokens default maximum (MAX_MCP_OUTPUT_TOKENS)Raise it with the variable if you need more
Claude Code50,000 characters of textSaved to a file regardless of the variable
Sume hosted MCP256 KiB serialized per tool answerExplicit oversize error, no silent truncation
Sume jobs_wait / jobs_result20 job ids per callMore ids need more calls

Why the file path is not a Sume problem

When Claude Code stores a long answer in a file, the agent has to open the file to see it. The job itself is unaffected. Results are durable, so a wave you cannot read in one answer can be read again with jobs_result.

A practical pattern

Wait on up to 20 ids with include_results: true if the results are small, such as transcripts of short clips. Sume names any result that does not fit in results_omitted.job_ids; read those with one batch jobs_result call. For media jobs, the result is mostly URLs, so it stays small anyway.

An oversize Sume answer does not mean the related job failed. Do not resubmit paid work because a result was too large.

  • Group ids in tens or twenties rather than sending 60 at once.
  • Quote media.sume.com URLs, not signed links, in the final report.
  • If the answer lands in a Claude Code file, read the file before deciding anything about the job.

The tradeoff

Batching ids saves calls but concentrates output. If one answer in a batch is large, it can push the whole batch past a limit. Smaller groups cost one more call and remove the surprise.

Sources

Related posts

More in Integrations

All Integrations posts

Written by Sume