Skip to main content
Glama

instantiate_recipe

Instantiates a recipe into a parent thread and its DAG children, validating required params and freezing recipe bytes into the run before returning the RecipeRun.

Instructions

Instantiate a recipe into a parent thread + its DAG children (copy-on-fire: the recipe bytes are frozen into the run). params are validated against the recipe's declared params (required ones must be present). Returns the RecipeRun.

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": {
      "recipe_id": "<recipe_id>"
    },
    "name": "instantiate_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoinstantiation params (must satisfy the recipe's required params)
recipe_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (not read-only, not destructive, not idempotent, closed-world). The description adds genuinely new behavioral context beyond them: copy-on-fire semantics meaning the recipe bytes are snapshotted into the run, and that params are validated against the recipe's declared params with required ones enforced. It does not say what happens on validation failure or whether a failed call rolls back the thread creation, which is why it is not a 5.

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?

Three tight clauses with the core effect front-loaded, the copy-on-fire semantic parenthetically scoped, and the return shape named last. No sentence is filler; each one carries a distinct fact.

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 a two-parameter mutation with full annotation coverage, the definition supplies the effect, the snapshot semantics, the validation rule, and the return type (RecipeRun), which compensates for the missing output schema. The remaining gap is failure behavior and whether the created parent thread has any state prerequisites, but nothing essential to making the call is absent.

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 coverage is 50%: params is described in the schema, recipe_id is a bare required UUID. The description adds real meaning for params by explaining they are validated against the recipe's declared params with required ones enforced, but says nothing about recipe_id beyond its obvious name. That is the baseline-3 situation where the schema carries part of the load and the description only partially compensates.

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 nails a specific verb and resource ("Instantiate a recipe") and goes further to state the concrete effect: a parent thread plus DAG children, with recipe bytes frozen into the run. That is far more than a restatement of the name. It does not explicitly contrast itself with the nearby create_recipe, so sibling differentiation is only implicit, which keeps it off 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?

Usage is implied rather than stated: you use this to turn a recipe into a running thread tree, and params must satisfy the recipe's declared required params. There is no explicit when-not guidance, no mention of prerequisites such as permissions or recipe state, and no pointer to alternatives for simply editing a recipe. Adequate context, but the agent has to infer the routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools