Five generate_image calls in one turn: Sume MCP create budget
Hosted Sume MCP gives paid creates their own budget (20 per principal, 64 per process) and queues a call up to 20 seconds before wait_busy.

An agent that sends five generate_image calls in one turn used to see three of them refused with wait_busy, even with an empty generation queue. Sume's hosted MCP work-bounds notes explain why, and what changed.
What went wrong
The tool budget, not generation, was full. All tool calls shared two slots per workspace member on a process, and two 14-second crawl_find calls in another thread held both. Admission refused each create at once, even though generation had 0 jobs in progress and 44 queued against limits of 300 and 1,500.
What changed
- Paid-generation creates have their own budget: 64 per process and twenty per principal, matching the 20 ids one
jobs_waitaccepts. createandtooladmission queue a call for up to 20 seconds in arrival order, inside the 60-second request lifetime.wait_busynow means the process stayed saturated for the whole wait.- The tool cap stays four per principal and 16 per process. Spend, wallet holds and idempotency are unchanged, and a refused call creates no job.
What to do in an agent
A create is a sub-second submit. Its real gate is generation admission: wallet, concurrency limit and queue, which can still answer generation_admission_rejected, 429 queue_full or 402 insufficient_credits (Generation admission). So fan out up to twenty creates, each with its own idempotency_key, then wait in groups of twenty.
If three or more calls have the same shape, such as one image per scene, the script_run tool runs them in one program with max_calls and max_paid_calls limits and returns the child jobs[]. Retry a wait_busy after a second with the same key rather than a new one.
Sources
Related posts
More in Agents
- usage.cap on a Format run: an agent reads remaining_usd_micros
A Format run receipt splits its spend cap into limit, counted and remaining USD micros. A supervising agent can read headroom before it asks for more work.
- Sume hosted MCP is not Studio Agent: the one URL to put in your client
Put https://mcp.sume.com/mcp into Claude, Cursor or Codex. Studio Agent is the in-app product, not a customer MCP server, so there is no second URL to add.
- Sume jobs_wait limits: 20 ids and 55 seconds per call
Hosted Sume MCP jobs_wait takes at most 20 job ids of 256 characters and waits up to 55 seconds. How to wait on a 30-clip storyboard in groups.
- Launch-day run of a Sume schedule: one key per model, input as data
Start a schedule run the day a model launches with POST /v1/actions/{id}/runs. Send the model name as input data and derive the Idempotency-Key from it.
Written by Sume