Skip to main content
Glama

Release an existing legacy preview hold

approve_full_run
Idempotent

Compatibility for an existing legacy full run paired with a bounded preview, in awaiting_sample_approval. New full builds use progressive acquisition and never need this tool for their inspection checkpoint. Call it ONLY once the legacy preview has sealed a table you have checked and the user has said to build the whole thing, or on a delegation you recorded with write_note. Example: {"run_id": "…", "expected_version": 4}. Pass expected_version from the get_run that showed you the preview, so a run that moved in between is refused rather than released. Any editor of the workspace may settle a preview hold, so you can. A REPAIR hold is different: a full run held behind a replay comparison is released by a person in a logged-in browser, from the run’s page, and this tool answers step_up_required for it. Returns the run receipt with its new status. Next: run_events with this run_id to watch the build.

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": {
      "run_id": "<run_id>"
    },
    "name": "approve_full_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
expected_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the optimistic-concurrency behavior (a run that moved between the get_run and this call is refused rather than released), the permission model (any editor of the workspace may settle a preview hold), the failure mode for REPAIR holds (step_up_required), and the return value (run receipt with its new status). It does not contradict any annotation, and these are exactly the mutation-time behaviors an agent needs.

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?

Information is front-loaded with the compatibility caveat and the critical 'ONLY' condition appears early, and the inline example plus the 'Next:' pointer aid structure. It is dense and runs long, with the permission aside ('Any editor of the workspace may settle a preview hold, so you can') and the REPAIR explanation both slightly verbose, though each still carries usable information.

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 non-destructive-but-state-changing approval tool with no output schema, the description covers preconditions, authorization, concurrency semantics, error modes, return shape and the follow-up call (run_events). Nothing material needed to invoke it correctly is missing.

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%, so the description carries the burden. It does this well for expected_version, explaining that it must come from the get_run that showed the preview and that its purpose is to refuse stale releases; run_id is only implied via the example and the closing 'run_events with this run_id'. run_id is self-evident from the name and example, so the gap is small.

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 description identifies the exact object acted on (an existing legacy full run paired with a bounded preview in awaiting_sample_approval) and explicitly carves out two things it is not: progressive-acquisition full builds and REPAIR holds. The action verb itself ('approve'/'release') is only implied by the surrounding clauses rather than stated directly, so the agent must infer the operation from the title and the 'user has said to build the whole thing' phrase.

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?

It gives a hard gating condition ('Call it ONLY once the legacy preview has sealed a table you have checked and the user has said to build the whole thing'), an alternate authorization path (a delegation recorded with write_note), and explicit exclusions for new full builds and for REPAIR holds, which route to a browser-based person and return step_up_required. An agent can determine when to call this versus not call it without opening any other definition.

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