Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Save a recipe to the Chop it library

save_recipe

Saves a structured recipe to the user's Chop it library: one read from a cookbook photo, one created with the user, or a corrected import. Takes the recipeDraftToken from start_recipe; the recipe is checked against that brief (UK ingredient names and metric quantities, ingredients in logical sections, a complete method with sensory cues, a plain title). status needs_revision means nothing was saved and fixes lists what to change, with a fresh recipeDraftToken; status saved means it is in the library and appUrl opens it. Requires a linked Chop it account.

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": {
      "title": "<title>",
      "ingredientSections": "<ingredientSections>",
      "steps": "<steps>"
    },
    "name": "save_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoe.g. cuisine, 'quick', 'family favourite'.
stepsYesComplete numbered method with sensory cues (golden, bubbling).
titleYesRecipe title in plain title case, no marketing words.
fidelityNo'transcription' for a faithful copy of an existing recipe (a cookbook page, pasted text). Honoured ONLY when sourceUrl or sourceNote carries real evidence — otherwise treated as 'generated'.
servingsNo
sourceUrlNoWhere the recipe came from, if a link exists.
sourceNoteNoProvenance, e.g. 'photographed from a family cookbook'.
descriptionNoOne-sentence appetising description of the finished dish.
cookTimeMinsNo
prepTimeMinsNo
finishingTouchNoOne vivid sentence describing the plated dish.
recipeDraftTokenNoA signed copy of the brief start_recipe just issued, so the server can confirm the recipe was written to the brief it actually gave out. It is not a credential and not a secret: it carries no keys, grants no access to anything, and everything inside it (servings, the excluded ingredients, the attempt count) was already returned to you in this same response, in the clear. The signature stops those constraints being edited in transit, not read. It is safe to show the user. Include the one start_recipe returned so the recipe is checked against that brief.
ingredientSectionsYes

Output Schema

NameRequiredDescriptionDefault
fixesNo
titleNo
appUrlNo
statusYes
keepUrlNo
messageYes
recipeIdNo
warningsNo
savesAfterCapNo
recipeDraftTokenNoThe same signed brief, re-issued with the revision count advanced. Not a credential and not a secret; see the description on start_recipe's output.
attemptsRemainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations it discloses the auth prerequisite ("Requires a linked Chop it account") and, critically, what each outcome means: needs_revision means nothing was saved and a fresh recipeDraftToken is issued, saved means it is in the library and appUrl opens it. It also spells out the validation criteria the recipe is checked against, so an agent can pre-empt a rejected save.

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?

Four dense sentences, front-loaded with the action and the token prerequisite before the status semantics. Each sentence carries information, though the parenthetical validation list is long enough to bury the status behavior it precedes.

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 13-parameter, non-idempotent write tool it covers auth, inputs, validation, and failure/success outcomes, and an output schema exists so return values need no elaboration. It does not warn that repeat calls will create duplicate saves despite idempotentHint=false, which is the one behavioral note an agent would still want.

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

Parameters4/5

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

With 69% schema coverage the schema already documents most fields, but the description adds meaning the schema alone does not: the recipeDraftToken must come from start_recipe and binds the save to that brief, and the brief's constraints (UK ingredient names, metric quantities, logical sections, sensory cues, plain title) explain why particular field values matter. Fields such as servings, fidelity, and timing are left entirely to the schema.

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?

"Saves a structured recipe to the user's Chop it library" is a specific verb+resource, and the description further pins down which recipes qualify (cookbook photo transcription, recipe co-created with the user, corrected import). It never names overlapping siblings such as save_discovered_recipe or update_recipe, so the boundary against those tools is left implicit.

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?

"Takes the recipeDraftToken from start_recipe" establishes the required call sequence and makes clear this tool is the save step in a draft workflow. It does not state explicit when-not conditions or name an alternative tool for saving a discovered or imported recipe, so the routing guidance stops short of 5.

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