Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Create Recipe

create_user_recipe

Create a recipe from product IDs and amounts, calculate per-portion nutrients, and return the recipe ID for logging consumed portions.

Instructions

Create a recipe from products and their amounts in the whole recipe. The nutrients per portion are calculated from the products. Returns the recipe ID for add_user_consumed_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": {
      "name": "<name>",
      "portion_count": "<portion_count>",
      "ingredients": "<ingredients>"
    },
    "name": "create_user_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false. The description adds genuine value by disclosing that per-portion nutrients are derived from the products server-side and that the return is a recipe ID. It omits the practical consequence of non-idempotency (retries create duplicate recipes) and any permission/error behavior.

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?

Three short sentences, each carrying distinct information: what is created, how nutrients are computed, and what is returned. The key scoping fact (whole recipe) is front-loaded with zero filler.

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?

With no output schema, the description usefully states the return value (recipe ID), and it explains the nutrient derivation, which is the non-obvious behavior of this tool. Gaps are minor: no note on duplicate-creation risk or required permissions for a non-idempotent write.

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 description coverage is 100%, so all four parameters (including nested ingredient fields, base units, and the minimum-two-ingredients constraint) are already documented in the schema. The description reinforces that amounts apply to the whole recipe rather than per portion, but that distinction is also present in the schema text, so value added is marginal.

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?

States a specific verb and resource ("Create a recipe from products and their amounts") and adds a meaningful qualifier about the whole-recipe scope plus side effects (per-portion nutrients calculated). It does not explicitly distinguish itself from update_user_recipe or create_user_meal, so sibling differentiation is left to the agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use/when-not-to-use guidance or prerequisites. However, the closing sentence routes the agent forward ("Returns the recipe ID for add_user_consumed_recipe"), which implies the create-then-consume workflow. The choice between this and update_user_recipe for an existing recipe is never addressed.

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