Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Get Recipe

get_recipe
Read-onlyIdempotent

Fetch a recipe by ID to retrieve its ingredients, portion count, and nutrients per portion. Use it to resolve recipe IDs from consumed items or saved recipes.

Instructions

Get a recipe by ID with its ingredients, portion count and nutrients per portion. Use it to resolve recipe_id of recipe portions in get_user_consumed_items.

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": {
      "id": "<id>"
    },
    "name": "get_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecipe ID, e.g. recipe_id of a recipe portion from get_user_consumed_items or an ID from get_user_recipes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description then adds real value beyond them by disclosing the return contents — ingredients, portion count, and per-portion nutrients — which matters because no output schema exists.

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 sentences, both front-loaded with the useful information: what it returns first, then how to obtain the ID. No filler or repetition of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool, the definition covers purpose, return payload, and the workflow that supplies the ID, with annotations handling safety and the schema fully documenting the input. Nothing needed to call it correctly is absent.

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 100%, and the schema itself documents that the id is a UUID and where to source it (a recipe portion from get_user_consumed_items or an ID from get_user_recipes). The description adds nothing about the parameter beyond the schema, so the baseline 3 applies.

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 ('Get a recipe by ID') and enumerates the payload it returns: ingredients, portion count, and nutrients per portion. That distinguishes it from the list-style siblings like get_user_recipes without needing to name them.

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 an explicit use case and names the sibling that motivates it ('use it to resolve recipe_id of recipe portions in get_user_consumed_items'), and the schema points to get_user_recipes as another ID source. It stops short of saying when not to use it, e.g. bulk recipe lookups.

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