Skip to main content
Glama

resume

Continues a held program and waits until it finishes, pauses again, reaches a condition, or times out; returns the run result plus output printed since.

Instructions

Sends a held program on from where it is, and waits as run does: for it to end, to be held again, to print until, or for the timeout. Returns what run returns, with what the program printed since.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilNo
timeoutNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it states that the call waits for the program to end, be held again, print `until`, or timeout. It also says it returns what `run` returns plus output printed since, giving useful behavioral context. It still leaves some edge behavior unstated, such as what happens when no program is currently held.

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?

The description is compact and front-loaded: it first states the operation, then explains the waiting conditions and return behavior. Every sentence contributes useful meaning without repetition.

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?

The output schema exists, so the description need not fully specify return values, though it briefly does. For a two-parameter execution-control tool with no annotations, the description covers the main waiting and termination behavior adequately, with only minor gaps around edge cases and exact timeout semantics.

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 description should compensate for both parameters. It mentions `until` and `timeout` and clarifies that `until` relates to the program printing a marker and `timeout` bounds the wait, but it does not describe the exact semantics, units, or default behavior of `timeout`, nor the precise matching rules for `until`.

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

Purpose5/5

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

The description gives a specific verb and resource: it sends a held program onward from its current position. It also distinguishes this from `run` by emphasizing that the program is already held, so an agent can identify the intended operation without opening the schema.

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

Usage Guidelines3/5

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

The phrase 'held program' implies this should be used after execution has been paused, and the comparison to `run` clarifies expected waiting semantics. However, it does not explicitly state when to choose this over `step`, `run`, or other execution-control siblings, nor does it describe preconditions such as what happens if the program is not held.

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