Skip to main content
Glama

resume_workflow

Continues a caller-owned workflow run by submitting instructions, answering pending input decisions, and granting optional retry attempts after stale checkpoints are refreshed.

Instructions

Resume a caller-owned run with instructions and optional explicit attempt grants.

Preserve spaces and word boundaries in instructions rather than compressing natural prose; the caller's source text is retained unchanged before workflow input assembly.

For non-question continuation, pass the originally displayed attention_checkpoint_id. A stale checkpoint refuses the answer and grants; refresh before submitting again. Omission retains legacy caller behavior. Do not combine it with decision_id.

For needs_input, supply its current input_decision_id as decision_id and a nonempty answer in instructions. Stale answers and live/uncertain dispatches are refused. When the root run carries a forwarded question from a Run workflow descendant, the answer is applied to the attention source run; additional_attempts go to that source and grant no fresh child. For an orchestrator usage-limit checkpoint, instructions must exactly match an offered recovery answer (fallback, fallback:2, and so on, or retry_current); this approves a Fresh configured recovery candidate for the preserved decision. Other prose does not approve replacement dispatch. Use pause_workflow to wait or cancel_workflow to stop. A paused quota checkpoint retains its decision_id and still requires the exact offered recovery answer (fallback or retry_current) on resume. An accepted resume or answer sets the run's resumed_at; an answer routed through the root stamps the root. Worker usage-limit recovery is selected explicitly by the orchestrator using an issued retry continuation and candidate_id, within attempt limits. The orchestrator may instead ask the caller to pause, cancel, or choose a configured worker fallback; after the answer it must explicitly select the candidate_id. Answers alone never authorize skipping. Set allow_optional_review_skip=True only to permit the orchestrator to skip a current settled optional review with recorded harness permission denial, when optional_review_skip_available is true. The core revalidates eligibility and decision_id; this grants no retry, required-review bypass, or permissions. For a forwarded question, consent applies only to its originating child checkpoint. Each accepted answer replaces previous skip consent at that checkpoint: the default False revokes it, while True renews it with the latest answer as its reason.

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": {
      "workflow_run_id": "<workflow_run_id>"
    },
    "name": "resume_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_idNo
instructionsNo
workflow_run_idYes
additional_attemptsNo
attention_checkpoint_idNo
allow_optional_review_skipNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A4.2/5.0
Behavior5/5

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

Since no annotations were provided, the description carries the full behavioral burden, and it meets that burden in detail. It discloses that a stale checkpoint refuses the answer and grants, that stale answers and live/uncertain dispatches are refused, that a forwarded answer is applied to the attention source run, that an accepted resume stamps resumed_at, and how allow_optional_review_skip is revalidated and how its consent is revoked or renewed.

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

Conciseness2/5

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

The purpose is stated up front, but the body is a dense paragraph of chained conditionals with no headings, bullets, or formatting that would separate the paths for non-question continuation, needs_input, quota recovery, and consent. Most sentences carry real information, yet the wall of text makes the useful content costly to parse and re-check during an actual call.

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 tool with six parameters, no annotations, and 0% schema description coverage, the description is thorough regarding refusals, decision routing, and consent semantics, and the presence of an output schema relieves it of explaining return values. It still leaves some operational details implicit, such as whether resume blocks, how attempts are counted, and what errors surface.

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

Parameters4/5

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

Schema description coverage is 0% across six parameters, so the description must compensate, and it largely does, explaining decision_id, instructions, attention_checkpoint_id, and allow_optional_review_skip. The gaps are smaller: workflow_run_id is never described, and the mechanics and limits of additional_attempts are only implied by 'within attempt limits' and 'grant no fresh child.'

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?

The first sentence gives a specific verb and resource: 'Resume a caller-owned run with instructions and optional explicit attempt grants.' That is far stronger than a restatement of the name. However, the description never contrasts the tool with the sibling resume_task, so the agent must infer that distinction on its own.

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

Usage Guidelines5/5

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

Guidance on when to use the tool is unusually explicit: for non-question continuation, pass the originally displayed attention_checkpoint_id; for needs_input, supply the current input_decision_id as decision_id plus a nonempty answer; and do not combine the two paths. The text also names explicit alternatives and rules of exclusion ('Use pause_workflow to wait or cancel_workflow to stop', 'Do not combine it with decision_id'), covering both when to use it and when not to.

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