Skip to main content
Glama

Save recipe

save_recipe
DestructiveIdempotent

Save a reusable recipe made of saved foods with their grams, or update one (by id, or the same name; the items replace the old list). Returns its totals and nutrition per 100 g and per serving.

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>",
      "items": "<items>"
    },
    "name": "save_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
nameYes
itemsYes
notesNo
yield_gNoUsual cooked weight of the whole recipe; per 100 g is worked out on it. Default: the raw weight
serving_gNoWeight of one serving in grams

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description usefully confirms why: the items list replaces the old list, so an update silently discards prior contents. It also discloses the return shape (totals plus nutrition per 100 g and per serving), which is important since no output schema exists. It stops short of covering permissions, name-conflict behavior, or what happens to unmentioned fields like notes during an update.

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?

A single dense sentence that front-loads the primary action and packs update semantics and return shape into parenthetical and trailing clauses. Every clause carries information, though the parenthetical about id/name is slightly nested and dense.

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 six-parameter mutation tool with no output schema and only partial schema descriptions, the definition covers the two things an agent most needs: how update targeting works and what comes back. Minor gaps around notes handling and destructive-update confirmation keep it from being fully complete.

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 only 33%, but the description compensates partially by clarifying that items are saved foods expressed in grams and that id/name are alternative update keys — the resolution rule the schema does not state. It says nothing about notes, name-length limits, or the 60-item cap, so gaps remain.

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 uses a clear verb (save/update) with a specific resource (a reusable recipe made of saved foods with grams), and it separates the create path from the update path. It implicitly differentiates itself from save_food by saying the recipe is composed of already-saved foods, but it never names a sibling tool outright.

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?

It explains how update mode is triggered (by id, or by matching name) which is genuinely useful routing guidance, but it gives no when-not-to-use guidance and no explicit alternatives among the many sibling tools. Usage context is implied rather than fully specified.

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