Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Review or edit my recipes

update_recipe
Destructive

For a user-requested food photo, use the chat host’s own image tool and then attach its actual file with recipeId and photo only. Attachment costs no Chop it credits and changes only the photo; never call a paid generation/import route or invent a file URL. Reviews changes to 1–20 recipes with action preview and changes; read every library page first for whole-library work. mode update tidies only titles, descriptions and tags. mode copy creates separate private recipes, protecting originals and all existing plans. Adaptations need complete ingredients and steps together, including serving changes; preserve optional garnishes. Show the exact preview, then action apply with changeSetId and confirmed true only after user approval. Retry the same ID to recover its receipt; never create a fresh batch after an uncertain write. Conflicts change nothing and require a fresh review. Metadata-only batches support confirmed undo for 24 hours if unchanged; undo never deletes copies. Omitting action retains the immediate single-recipe edit for an explicitly requested change to an original. Copies and reviews make no AI call or credit debit. Requires a linked Chop it account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
photoNoAttach the user's chosen or chat-generated food photo to this owned recipe, with no Chop it credit charge. Send recipeId and photo only, not batch actions or text edits. Use the actual file supplied by the host; never invent a download URL.
stepsNoReplaces the WHOLE method — send every step, not only the changed ones.
titleNoNew title, plain title case, no marketing words.
actionNoPreview a bounded batch or separate recipe copies, then apply its changeSetId only after the user approves. Undo a metadata batch only while its results are unchanged. Omit for the existing single-recipe edit.
changesNoExact recipes and complete requested changes. Update permits only title, description and tags. Culinary changes use copy, preserving every original recipe and plan. Collect the full library before proposing batches.
recipeIdNoId of one of the user's own saved recipes (from list_saved_recipes).
servingsNoNew serving count.
confirmedNoTrue only after the user approves the displayed preview or undo. A preview itself grants no permission.
changeSetIdNo
descriptionNoNew one-sentence description of the finished dish.
cookTimeMinsNo
prepTimeMinsNo
finishingTouchNoOne vivid sentence describing the plated dish.
ingredientSectionsNoReplaces the WHOLE ingredient list — send every ingredient, not only the changed ones.

Output Schema

NameRequiredDescriptionDefault
itemsNo
titleNo
appUrlNo
statusYes
canUndoNo
messageYes
recipeIdNo
replayedNo
expiresAtNo
changeSetIdNo
updatedFieldsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / photo
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Attach the user's chosen or chat-generated food photo to this owned recipe, with no Chop it credit charge. Send recipeId and photo only, not batch actions or text edits. Use the actual file supplied by the host; never invent a download URL.",
      +  "properties": {
      +    "download_url": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "file_id": {
      +      "maxLength": 512,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "file_name": {
      +      "type": "string"
      +    },
      +    "mime_type": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "download_url",
      +    "file_id"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=true, yet the description adds substantial behavior beyond them: no credit debit for photos, copies, or reviews; a linked-account requirement; conflicts change nothing and require fresh review; retrying the same ID recovers a receipt rather than creating a new batch; metadata batches support a 24-hour confirmed undo; undo never deletes copies; and a preview grants no permission. That is unusually rich disclosure for a destructive, non-idempotent mutation.

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?

One undifferentiated block of roughly a dozen dense clauses covering at least six independent topics, with the least common path (host-generated photo) leading. Every clause is a real rule, so little is padding, but the absence of ordering or structure means a reader must parse the whole wall to recover the core workflow.

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 15-parameter, nested-object, destructive tool with an output schema available, the definition covers the decision-critical surface: approval gating, credit implications, conflict behavior, retry semantics, undo window, and account prerequisites. It stops short of explaining scope of effect beyond the target recipes or how long a changeSetId stays valid outside the undo window, but with an output schema present it need not describe returns.

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?

Schema coverage is already 73%, so the schema carries the per-field work; the description's added value is cross-parameter semantics — the action/changeSetId/confirmed handshake, the 1–20 bound on changes, the whole-list replacement rule for steps and ingredientSections, and the update-versus-copy mode split. It does not cover the unannotated remainder (e.g. prepTimeMins/cookTimeMins intent, changeSetId expiry), so it falls short of fully compensating.

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 does identify a specific verb and resource set — batch review/apply of recipe changes, a copy mode, an immediate single-recipe edit when action is omitted, and a photo-attach path — which an agent can separate from siblings like delete_recipe or import_recipe_from_url. However, the first and most prominent sentence is a narrow edge case (photo attachment), so the tool's primary purpose is buried mid-paragraph rather than front-loaded.

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?

It gives explicit conditional routing: mode update only for titles/descriptions/tags, culinary changes must use copy, action preview then apply with changeSetId and confirmed true only after approval, omit action for an explicit single-recipe edit, and undo only within 24 hours while unchanged. The only gap is sibling-level guidance — it warns off paid generation/import routes but never points to preview_shared_week, get_recipe, or other in-catalog alternatives.

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