Skip to main content
Glama

update_recipe

Updates an existing AI prompt recipe by applying specified changes to its trigger, instructions, output format, or required and optional document lists.

Instructions

Update an existing 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>",
      "recipeId": "<recipeId>",
      "updates": "<updates>"
    },
    "name": "update_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
updatesYes
recipeIdYesThe ID of the recipe to update
workspacePathYesAbsolute path to the workspace directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose whether unspecified fields are preserved or wiped, whether the update is reversible, what permissions are needed, or what happens to a recipe that does not exist — all critical for a mutation tool with a nested 'updates' payload.

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?

One front-loaded sentence with zero filler, but the brevity leaves no room for the usage or behavior context an agent needs. Efficient rather than wasteful, yet under-specified.

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?

For a mutation tool with nested parameters, no annotations, and no output schema, the definition omits prerequisites, update semantics, side effects, and return information. An agent cannot safely invoke it without guessing.

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 67%, with every sub-field of 'updates' individually described, so the schema does most of the work and the description adds nothing beyond it. The key ambiguity — whether 'updates' is a partial merge or a replacement — is unresolved in both schema and description.

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 specific verb and resource ('Update an existing AI prompt recipe'), making the operation immediately identifiable. It does not distinguish this from siblings like create_recipe, get_recipe, or list_recipes, so an agent gets no help choosing among the recipe tools.

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 when-to-use guidance: nothing says to call get_recipe first, that the recipe must already exist, or when to prefer create_recipe over this tool. The word 'existing' implies a prerequisite but does not state it as an instruction.

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