Skip to main content
Glama

Sigmora

Open one run output with Sigma

recipes_runs_outputs_refine
Idempotent

Open one output of a recipe run with Sigma to refine it; returns the opening prompt. Free.

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

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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "recipes_runs_outputs_refine"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe run (`run.id` from GET /v1/recipes/{recipeInstanceId}/runs).
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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety and retry profile is covered. The description adds genuinely useful context beyond that — 'Free' (cost) and 'returns the opening prompt' (result shape) — but it never explains what durable state the non-read-only call actually creates or what 'refine' sets in motion, which is the main open question.

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?

Two short lines, front-loaded with the purpose before the REST endpoint, with no filler. The telegraphic 'Free.' fragment is slightly clipped but carries real information, so little is wasted.

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 an output schema present and full schema coverage, the description need not explain return values or parameters, and it correctly does not. What remains thin is workflow context around a mutation-flavored, non-read-only call — what the 'opening prompt' is for and what changes after invocation — but nothing essential for correct invocation is missing.

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% and every parameter is documented in-schema, including the idempotencyKey conflict/charge semantics. The description only echoes the path parameters via the REST line and adds no new meaning (formats, defaults, cross-field constraints) beyond what the schema already states, so the baseline 3 applies.

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 names a specific verb and resource: 'Open one output of a recipe run with Sigma to refine it', and adds the observable effect ('returns the opening prompt'). That is clearly distinct from broad siblings like recipes_runs_refine or recipes_runs_outputs_decide, but it never names those alternatives, so the differentiation is implicit rather than stated.

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?

Usage is only implied by 'Open one output of a recipe run ... to refine it' — an agent can infer this is the per-output refinement entry point. There is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. the run must be in a finished state), and no routing to the run-level or decide siblings.

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