Skip to main content
Glama

create_recipe

Creates a new AI prompt recipe in a workspace, defining trigger phrases, override instructions, required or optional documents, and the expected output format.

Instructions

Create a new AI prompt recipe

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": {
      "workspacePath": "<workspacePath>",
      "recipe": "<recipe>"
    },
    "name": "create_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipeYes
workspacePathYesAbsolute path to the workspace directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and supplies almost nothing: it does not say what is returned, whether an existing id causes an error or overwrite, whether the recipe becomes immediately active, or what permissions the workspace requires. Only the nested schema hints that id is auto-generated when omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with zero waste and the purpose is front-loaded, but the brevity reflects under-specification rather than disciplined concision. There is room for one clarifying clause without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating tool with a nested required object, no annotations, and no output schema, so the description needed to explain effects and return behavior. It says nothing about what the created recipe looks like on return or how errors surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% and the description adds no parameter meaning at all. The nested recipe fields are reasonably documented in the schema, but the description never explains the required workspacePath, the recipe's trigger semantics, or how required/optional documents interact, so it does not compensate for the coverage gap.

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 gives a clear verb+resource pair: 'Create' + 'AI prompt recipe', so the agent knows exactly what operation is performed. It does not differentiate from siblings such as update_recipe or list_recipes, but the create semantics are unambiguous.

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?

There is no guidance on when to use this versus update_recipe (for existing recipes) or list_recipes/get_recipe. No prerequisites, ordering, or exclusions are stated; the agent must infer that this is for new recipes only.

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