Skip to main content
Glama

Resume a USD recipe run

resume_recipe_run

Resume a paused API-key recipe or workflow. Omit approval to get a fresh quote. Then confirm currency USD, decimal max_usd total run budget and quote_id. The original key and payer are preserved.

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": "resume_recipe_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesPaused USD recipe run id
max_usdNoDecimal USD total run budget including already spent and in-flight amounts; omit to quote
currencyNoOptional. Always USD for this endpoint.
quote_idNoquote_id from the latest resume quote

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, open-world, non-idempotent, non-destructive mutation, so the safety profile is covered. The description adds genuinely new behavior: the original key and payer are preserved across the resume, and the quote-then-confirm handshake that gates the actual spend. It does not state what happens on a run that is not paused or whether repeated resumes double-charge.

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?

Three short sentences with the action front-loaded and no filler. The middle sentence is slightly elliptical ('Omit approval to get a fresh quote') and names something absent from the schema, which costs a point on clarity.

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 an open-world, non-idempotent mutation with no output schema, the description covers cost semantics (budget includes spent and in-flight), the quote gate, credential preservation, and the required identifiers. What is missing is the failure/return behavior after resuming, which an agent would want before spending money.

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 coverage is 100%, so the baseline is 3, but the description adds the cross-parameter relationship the schema cannot express: quote_id must come from the latest resume quote and max_usd is confirmed together with it. It also pins currency to USD. The phrase 'omit approval' references no parameter in the schema, which muddies rather than clarifies.

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 first sentence gives a specific verb and resource ('Resume a paused API-key recipe or workflow') and the word 'paused' scopes it away from starting a new run. It does not name the sibling to use instead (e.g. get_recipe_run or run_my_recipe), so differentiation is implied rather than explicit.

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?

It lays out a concrete two-step procedure: call without approval to obtain a fresh quote, then call again with currency, max_usd and quote_id to confirm. That is real when-to-use guidance, though it never says when NOT to resume (e.g. run already finished, insufficient balance) or which sibling to use for read-only inspection.

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.