Skip to main content
Glama

Sigmora

Approve an automation run

recipes_runs_approve
DestructiveIdempotent

Approve a finished recipe run (releases its queued posts under the workspace approval policy). Free; the run was charged on delivery.

REST: POST /v1/recipes/{recipeInstanceId}/runs/{runId}/approve.

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": {
      "recipeInstanceId": "<recipeInstanceId>",
      "runId": "<runId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "recipes_runs_approve"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe run (`run.id` from GET /v1/recipes/{recipeInstanceId}/runs).
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyYesRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.
recipeInstanceIdYesThe started recipe (`id` from GET /v1/recipes).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description adds real context beyond annotations: approval releases queued posts under a workspace policy, and it is free because the run was already charged. It does not disclose the irreversibility implied by destructiveHint=true (queued posts go out; no stated undo), nor does it restate the idempotentHint semantics beyond the schema's idempotencyKey text. No contradiction, but the mutation consequences are only partially spelled out.

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 effect in the first clause, followed by cost context and a compact REST reference. Every sentence carries information; the formatting is a little terse but wastes nothing.

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 annotations covering safety and idempotency, a full schema, and an output schema, the description only needs to explain the action's consequence — which it does. The remaining gap is the lack of explicit alternatives and of any statement about whether approval is reversible or terminal for the run.

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 description coverage is 100%, so the baseline is 3. The description's REST line maps recipeInstanceId and runId onto the path, which is mildly useful orientation, but it adds no new meaning about idempotencyKey, workspace binding, or argument constraints.

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?

States a specific verb and resource ('Approve a finished recipe run') and adds the concrete effect ('releases its queued posts under the workspace approval policy'), which is more than a restated title. It does not explicitly distinguish itself from siblings like recipes_runs_discard or recipes_runs_outputs_decide, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'finished recipe run' implies a precondition, but there is no explicit when-to-use guidance and no mention of when to approve versus discard or to decide on outputs. The agent must infer the routing from sibling names alone.

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