Skip to main content
Glama

Continue a batch

continue_batch

Resume a finished Ship run (started with build_from_spec) that ended incomplete or nothing_delivered: re-dispatches only the stories that did not verify, in the same run. Verified stories are not rebuilt or billed again; a resumed story is billed once, when it first verifies. Each resumed story is told why its earlier attempt failed. At most 2 resumes per run (then RESUME_LIMIT_EXCEEDED). The same throttle, plan cap and allowance apply as for a new submission. Resuming a run with nothing left to do changes nothing. Track progress with get_batch.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "batchId": "<batchId>"
    },
    "name": "continue_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
batchIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial behavior beyond the annotations (readOnlyHint=false, destructiveHint=false): verified stories are neither rebuilt nor re-billed, billing occurs once at first verification, failures are communicated to the resumed story, at most 2 resumes per run with the RESUME_LIMIT_EXCEEDED error, and throttle/plan-cap/allowance rules mirror a new submission. It also discloses the no-op case, which is exactly the kind of consequence detail the description must carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the action and its precondition, then layers billing, limit, and routing details in short clauses. Every sentence carries distinct information; there is no repetition of the title or the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter mutation-style tool with no output schema, the description covers consequences, limits, and where to track progress, which is close to complete. The only material gap is the unspecified semantics of batchId.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the single batchId parameter is undocumented except implicitly through 'resume a finished Ship run' and 'in the same run'. The agent can infer batchId identifies the run, but nothing states the expected ID format or whether it accepts a batch or build identifier.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb (resume/re-dispatch) and resource (a finished Ship run from build_from_spec), plus the exact preconditions (ended incomplete or nothing_delivered) and the narrow effect (only unverified stories). It does not explicitly separate itself from similarly-named siblings such as continue_build or retry_build, so an agent must still infer which resume-family tool applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use condition (run ended incomplete/nothing_delivered) and a use-avoidance rule (resuming with nothing left to do changes nothing), plus a routing hint to get_batch for progress. It stops short of naming which sibling to use instead when the run is not in a resumable state or when the two-resume limit is already exhausted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources