Skip to main content
Glama

Sigmora

Open an automation run with Sigma

recipes_runs_refine
Idempotent

Open a recipe run with Sigma to refine it: marks it refining and returns the opening prompt. Free; the refinement is priced by the Sigma tool you then run.

REST: POST /v1/recipes/{recipeInstanceId}/runs/{runId}/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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "recipes_runs_refine"
  }
}

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.7/5.0
Behavior4/5

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

The annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), but the description adds the key behavioral facts: the call mutates the run state by marking it refining, it returns the opening prompt, it is free, and downstream refinement is charged by whichever Sigma tool is next invoked. That pricing and side-effect disclosure genuinely extends beyond the structured fields; the only omission is what the 'refining' state entails operationally.

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 tight sentences carry the purpose, side effect, return value, and cost model, with the scope front-loaded before the pricing note. The trailing REST endpoint line is marginally redundant but functions as a compact reference; there is no filler.

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?

The tool is a moderate-complexity mutation whose annotations cover safety, schema covers all params at 100%, and an output schema exists, so the description does not need to explain return values. The description supplies the missing piece, namely the cost and side-effect model, leaving only the downstream tool selection unspecified.

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 schema already documents all four parameters, including the subtle idempotencyKey conflict semantics and workspace binding. The description adds no parameter-level detail beyond mentioning the return value, 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 opens with a specific verb, 'Open,' and its resource, 'a recipe run with Sigma,' and immediately states the outcome: it 'marks it refining and returns the opening prompt.' An agent can distinguish it from siblings such as recipes_run, recipes_runs_approve, and recipes_runs_outputs_refine by the distinct 'refine' action, although it never names an alternative: the sibling separation is implied, not 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?

The text is clear on when it applies, namely the first step in a refinement workflow, and it gives a concrete cost model: 'Free; the refinement is priced by the Sigma tool you then run,' which tells the agent that another tool call follows. However, it never names which Sigma tool to run next, nor distinguishes this from recipes_runs_outputs_refine or recipes_run, so the routing guidance is only implied.

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