Skip to main content
Glama

Resume a Rigor workflow

rigor_resume

Resume a timed-out or failed Rigor workflow from the last completed step. Requires the workflow_id from a prior rigor_execute call. Works on workflows with status: executing, failed, approved, blocked, timed_out, or pending_approval. Streams progress via SSE.

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_id": "<workflow_id>"
    },
    "name": "rigor_resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYesThe workflow_id to resume (e.g., wr_xxx)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, and the description adds real context beyond them: resume begins at the last completed step (completed work is not re-run) and progress is streamed via SSE. It does not clarify what happens on a repeated resume given idempotentHint=false, which is the one behavior an agent might get wrong.

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?

Four short sentences, front-loaded with the action and starting point, then prerequisites, valid states, and output channel; nothing is padding. Minor friction: the opening 'timed-out or failed' is narrower than the status list that follows, a small internal inconsistency.

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 tool with no output schema, the definition covers prerequisite (workflow_id from rigor_execute), eligibility (status list), resume semantics, and the SSE progress channel. The remaining gap is behavior under repeated invocation, which the non-idempotent annotation flags but the description never explains.

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?

With a single parameter at 100% schema coverage, the schema already documents workflow_id and its wr_xxx format. The description still adds provenance — the id must come from a prior rigor_execute call — which tells the agent where to obtain a valid value, exceeding the baseline 3.

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 and resource ('Resume a ... Rigor workflow') plus the exact starting point ('from the last completed step'), which is more precise than the title alone. It does not explicitly contrast itself with siblings such as rigor_execute (mentioned only as the source of the workflow_id) or rigor_approve, so an agent must infer the boundary.

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 clear triggering context — workflows that timed out or failed — and enumerates the eligible statuses (executing, failed, approved, blocked, timed_out, pending_approval), which is exactly the precondition an agent needs. It stops short of saying when NOT to resume or naming a sibling to use instead (e.g., starting fresh via rigor_execute).

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