Skip to main content
Glama

Sigmora

Approve or discard one run output

recipes_runs_outputs_decide
DestructiveIdempotent

Approve or discard one output (a clip, the stream recap, a moment) of a recipe run. Free.

REST: POST /v1/recipes/{recipeInstanceId}/runs/{runId}/outputs/{outputKey}/decision.

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>",
      "outputKey": "<outputKey>",
      "decision": "<decision>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "recipes_runs_outputs_decide"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe run (`run.id` from GET /v1/recipes/{recipeInstanceId}/runs).
decisionYes`approved` releases the output's posts; `discarded` posts nothing of it.
outputKeyYesOne output of the run (`run.outputs[].key`).
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

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the irreversible/mutating profile is structured. The description adds the meaningful 'Free' cost signal and the endpoint, but does not itself explain that approval releases posts downstream or that discard is effectively unrecoverable — that behavior is only disclosed in the schema's enum text.

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?

Two short blocks: the action with concrete output examples front-loaded, then the REST mapping. Zero filler or restated title text.

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 a full-coverage schema, an output schema, and destructive/idempotent annotations, the description only needs to frame the action and its cost, which it does. The main remaining gap is disambiguation from the run-level approve/discard siblings, which an agent must resolve by name alone.

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%, including enum semantics, idempotency-key retry/conflict rules, and the workspace-credential refusal behavior, so the baseline is 3. The description contributes no parameter-level meaning beyond what the schema already states.

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?

A specific verb pair ('Approve or discard') plus a precisely scoped resource ('one output ... of a recipe run'), reinforced with concrete examples of what an output is (a clip, the stream recap, a moment). It clearly differs from run-level siblings by operating on a single output key, though it never names those siblings to draw the contrast explicitly.

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

Usage Guidelines2/5

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

The only usage signal is the cost note ('Free') and the REST path. Nothing tells the agent when to prefer this over run-level siblings such as recipes_runs_approve or recipes_runs_discard, nor whether outputs must first be refined before deciding, nor what happens to outputs left undecided.

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