Skip to main content
Glama

reliable-gate

Resume an approved held tool call (executes once)

resume_approved_hold
Destructive

Resume a held tool call after a human approved it with approve_or_decline_hold. Executes the held call exactly once — and only if its stored state is APPROVED. A second resume, or resuming a declined, already-executed, or still-held call, returns an error and executes nothing (at-most-once is a property of the persisted state, so it survives restarts). In v1 the execution runs against a fake executor only: no real database, mailbox, or payment is touched.

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": {
      "hold_id": "<hold_id>"
    },
    "name": "resume_approved_hold"
  }
}

Input Schema

NameRequiredDescriptionDefault
hold_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining that at-most-once is a property of persisted state and therefore survives restarts, that failed resumes execute nothing, and that v1 uses a fake executor touching no real database, mailbox, or payment. That last point materially softens the destructiveHint=true annotation for a caller deciding whether to invoke it.

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?

Four dense sentences, front-loaded with the action and its once-only guarantee, then error behavior, then the v1 executor caveat. No sentence is redundant and each adds decision-relevant information.

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 state-mutating resume operation with no output schema, the description covers preconditions, failure modes, and execution side effects thoroughly. The remaining gap is the unexplained hold_id, which the agent must infer comes from the approval step.

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?

Only one parameter, hold_id, and the schema gives it no description (0% coverage). The description implies it identifies a held call whose state is checked, but never says the format or where the caller obtains the id — presumably from the approval tool. Adequate but thin for a 0%-coverage schema.

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 resource ('Resume a held tool call') plus the defining trait ('Executes the held call exactly once'), and distinguishes itself from the sibling approve_or_decline_hold by naming it as the prerequisite approval step. An agent can tell the two apart without opening either schema.

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 a clear precondition (only after human approval via approve_or_decline_hold) and an explicit when-not list: declined, already-executed, still-held, or second resume all error out. It does not discuss the relationship to evaluate_tool_call or the broader workflow ordering, which keeps it short of a full 5.

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.