Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Update Recipe

update_user_recipe
DestructiveIdempotent

Replace an existing user recipe with updated name, portions, ingredients, and instructions; nutrients per portion are recalculated from the specified products.

Instructions

Replace one of the user's own recipes: name, portions, ingredients and instructions. Pass the whole recipe, as for create_user_recipe; the nutrients per portion are recalculated from the products.

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": {
      "name": "<name>",
      "portion_count": "<portion_count>",
      "ingredients": "<ingredients>",
      "id": "<id>"
    },
    "name": "update_user_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecipe ID from get_user_recipes or create_user_recipe
nameYesRecipe name
ingredientsYesProducts in the whole recipe; Yazio requires at least 2
instructionsNoPreparation steps
portion_countYesNumber of portions the recipe makes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses the key side effect: 'the nutrients per portion are recalculated from the products'. Combined with 'Replace' and 'Pass the whole recipe', it implies that omitted fields are overwritten, which is exactly the destructive behavior an agent must anticipate. It does not cover failure behavior for a nonexistent or foreign recipe id.

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

Conciseness5/5

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

Two tight sentences; the replacement scope and field list come first, followed by the calling contract and the nutrient side effect. No redundant restatement of the title or name.

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 5-parameter destructive mutation with full schema documentation, the description covers replacement semantics, payload shape, and the main side effect. Gaps are minor: no error/ownership preconditions and no confirmation of what is returned, though annotations already convey the risk profile.

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 100%, so the baseline would be 3, but the description adds derived-value semantics: changing ingredients/portion_count causes nutrient recomputation, and the payload shape mirrors create_user_recipe. The required id parameter is only explained by the schema, not the description.

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 with scope: 'Replace one of the user's own recipes', and enumerates the affected fields (name, portions, ingredients, instructions). The word 'Replace' and the reference to create_user_recipe clearly separate it from create_user_recipe and delete_user_recipe without needing the 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?

Gives a concrete calling rule: 'Pass the whole recipe, as for create_user_recipe', which tells the agent this is full replacement rather than partial patching. It does not name an alternative for partial edits or state any precondition (e.g. recipe must exist and be owned by the user), so it stops short of explicit when-not guidance.

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