Skip to main content
Glama

Replay retained inputs

replay_run
Idempotent

Runs a registered recipe revision against the retained raw inputs of a named successful run of the same table. No upstream acquisition is performed. Replay must be enabled and the inputs must still be retained. Returns {run_id, status, mode, version, dashboard_url}. Replay never becomes live and does not approve a repair. Follow the run's dashboard_url to inspect its comparison; a person approves the repair from that page in a logged-in browser. approve_full_run releases a PREVIEW hold and not a repair one.

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": {
      "recipe_id": "<recipe_id>",
      "recipe_digest": "<recipe_digest>",
      "sources_from_run": "<sources_from_run>"
    },
    "name": "replay_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipe_idYes
recipe_digestYes
sources_from_runYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=false), and the description adds genuinely new facts: no upstream fetching, prerequisite feature flag and retention, and that the result is never live and never approves a repair. The one unexplained item is idempotency — the tool creates a run yet is declared idempotent, which an agent would benefit from having clarified.

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?

Five short sentences, front-loaded with the core action, then prerequisites, then return shape, then boundaries and sibling routing. No restatement of the name or title and no filler.

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 compensates by naming the exact return fields {run_id, status, mode, version, dashboard_url}. Prerequisites and non-effects are covered; the only remaining gaps are per-parameter meaning and an explanation of the idempotent-on-a-creating-operation annotation.

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 0% across three required UUID/sha256 parameters, so the description carries the full burden. It implicitly maps them well ('registered recipe revision' implies the recipe_id/recipe_digest pair, 'a named successful run' implies sources_from_run) but never states the digest's role, whether it must match the registered revision, or what happens on a mismatch.

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 (runs) and resource (a registered recipe revision) plus the exact input basis: retained raw inputs of a named successful run of the same table. 'No upstream acquisition is performed' immediately separates it from a fresh start_run-style operation, so an agent can pick it without opening any schema.

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 explicit preconditions (replay must be enabled, inputs must still be retained) and explicit exclusions (never becomes live, does not approve a repair). It also routes away from the wrong sibling by noting approve_full_run releases a PREVIEW hold, not a repair one, and points to the dashboard page for the human approval step.

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