Skip to main content
Glama

create_recipe

Create a reusable thread blueprint with parameters, completion criteria, retry settings, and dependency-linked child threads that can be instantiated into a parent thread and child threads.

Instructions

Create a recipe: a reusable thread-type blueprint. spec = {params, definition_of_done, retry, children}, where each child is {key, title, required_skills, depends_on (sibling keys)}. Instantiating it (instantiate_recipe) builds a parent thread + a child per child + wires the DAG + attaches skills. NOT a recipe VM — a blueprint the room instantiates.

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": {
      "channel_id": "<channel_id>",
      "name": "<name>",
      "spec": "<spec>"
    },
    "name": "create_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
specYesthe RecipeSpec (params, definition_of_done, retry, children)
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare non-readOnly, non-destructive, non-idempotent, closed-world, so the safety profile is covered. The description adds real value by clarifying that creation alone does not build threads or wire dependencies — instantiate_recipe does that — which prevents a common misinvocation. It does not say what object is returned, whether the name must be unique within the channel, or what validation failures look like.

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?

Three dense sentences, front-loaded with the definition before the instantiation contrast. The nested-shape enumeration is unavoidably long but every clause carries information; 'wires the DAG' is slightly jargon-heavy for an otherwise precise phrasing.

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 no output schema and only annotations for the safety profile, the description supplies enough to call the tool correctly: what a recipe is, the spec's nested shape, and how it relates to instantiation. It falls short of complete by omitting the return value (presumably a recipe or its id) and the semantics of channel_id/name.

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 only 33% and the spec object is nested, so the description carries useful weight by enumerating RecipeSpec's keys (params, definition_of_done, retry, children) and each child's shape (key, title, required_skills, depends_on sibling keys). However, the two top-level string parameters are not explained at all — notably channel_id, whose role as the owning channel for the blueprint must be inferred, and name's uniqueness expectations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a recipe') and immediately defines the resource as 'a reusable thread-type blueprint', then explicitly contrasts it with instantiate_recipe and with a 'recipe VM'. An agent can distinguish it from every sibling create_* tool and from instantiate_recipe without opening a schema.

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

Usage Guidelines4/5

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

The definition effectively splits the workflow: create_recipe defines the blueprint, while 'instantiating it (instantiate_recipe) builds a parent thread + a child per child + wires the DAG'. That names the alternative and the condition that selects it, though the routing is implied by the parenthetical rather than stated as an imperative ('call this first, then instantiate_recipe').

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