Skip to main content
Glama

Propose a recipe revision

propose_revision
Idempotent

Registers a proposed revision and returns its immutable recipe coordinates plus a review link. It then starts EXACTLY ONE run: a replay of the named successful run's retained inputs, which reads no upstream source and never becomes live. Nothing else runs — it confirms no run, promotes no table and approves no repair. Example: {"recipe": { …the whole revision document… }, "sources_from_run": "…"}. Returns {recipe_id, recipe_digest, dataset_id, table_id, source_ids, replay_run_id, repair_review_url}. A replay that needs a confirmation comes back with status held and its projection instead of repair_review_url — show the projected size and runtime to the user and call confirm_run with replay_run_id; do NOT propose again. If the revision registers but its replay does not start at all, the answer is revision_registered_replay_not_started carrying the same immutable coordinates — keep them, fix the replay precondition and propose again. Open repair_review_url with a person once the replay settles; approving the held full run is theirs to do there, in a logged-in browser.

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": "<recipe>",
      "sources_from_run": "<sources_from_run>"
    },
    "name": "propose_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipeYes
sources_from_runYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing that the replayed run reads no upstream source and never becomes live, plus the two distinct failure shapes (held with a projection, and revision_registered_replay_not_started). It also states the human-in-the-loop boundary: repair approval happens in a logged-in browser, not through this tool.

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?

Front-loaded with the two things an agent must know first (what registers, what runs), and every subsequent sentence carries operational instruction. The embedded example JSON is mildly redundant given both fields are required and typed in the schema, which keeps it off a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, side-effecting tool with no output schema, the description enumerates the returned fields and describes the alternate return shapes for held and not-started outcomes. Combined with the escalation path to a human via repair_review_url, an agent has everything needed to call it and handle every documented outcome.

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 0% schema description coverage the description must carry the load, and the inline example clarifies that 'recipe' is the whole revision document (matching the free-form nested object) and that 'sources_from_run' names the successful run whose retained inputs are replayed. That is real added meaning, though the internal structure of the recipe document and the required properties of sources_from_run are not spelled out.

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 and object ('Registers a proposed revision') and immediately scopes the side effect: exactly one replay run of a named run's retained inputs, which never becomes live. It also names what it is not — no confirmation, no promotion, no repair approval — so an agent can separate it from confirm_run and the registration/activation siblings.

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?

Usage is explicit and conditional: if a replay comes back held, show projections and call confirm_run with replay_run_id and 'do NOT propose again'; if the replay never starts, keep the returned coordinates, fix the precondition and propose again. Both branches name the alternative tool and the exclusions, leaving nothing 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