Skip to main content
Glama

Resume procedure step

resume_step

Write: resume or take over a RUNNING step (needs grant). Returns attempt_id; follow next_action. Set confirm_takeover=true only for another agent's RUNNING step. For WAITING_AGENT use take_step. Optional expected_*_revision for optimistic concurrency (stale → conflict).

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": {
      "id": "<id>"
    },
    "name": "resume_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProcedure UUID or silvalabs:procedure/<uuid>/<name>#grant=…
grantNoRaw grant token; optional if already in procedure id (#grant= or ?grant=)
confirm_takeoverNotrue only to take over another agent's RUNNING step
expected_context_revisionNoOptimistic concurrency; omit unless you have a known revision
expected_instruction_revisionNoOptimistic concurrency; omit unless you have a known revision

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only tell the agent this is a non-readonly, non-idempotent, non-destructive write. The description adds the auth requirement (grant), the takeover semantics, the return value (attempt_id with a next_action to follow — valuable since there is no output schema), and the failure mode for stale revisions (conflict).

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

Conciseness4/5

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

Dense and front-loaded: the write classification and precondition come first, then return behavior, then the sibling distinction and concurrency caveat. The telegraphic style is efficient, though 'follow next_action' is left slightly cryptic without saying what that field contains.

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?

With no output schema, the description correctly compensates by naming the returned attempt_id and the next_action to act on, and it covers the concurrency conflict case. It stops short of describing what a successful resume actually changes about the step's state.

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 coverage is 100%, so all five parameters are already documented in the schema; the confirm_takeover wording in the description is nearly verbatim from the schema. The only genuine addition is the 'stale → conflict' outcome for the expected_*_revision parameters, which is a modest lift over the baseline.

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?

States a specific verb (resume/take over) and resource (a RUNNING procedure step), plus the precondition 'needs grant'. The 'Write:' prefix immediately classifies it as a mutation, and it explicitly separates itself from take_step for the WAITING_AGENT state.

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?

Gives an explicit when-to-use ('RUNNING step') and when-not with a named alternative ('For WAITING_AGENT use take_step'). It also bounds the risky flag with 'Set confirm_takeover=true only for another agent's RUNNING step', leaving little to inference.

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