Skip to main content
Glama

Save or edit a recipe

save_recipe

Needs the phone link: the person signs in with the 6-digit code from the Kitchen Timer app (⋯ → Link an agent). Save a recipe — a meal with ordered steps the cook follows on the phone, each step able to start its own timer — or edit one. Give the steps as pasted text (text, one step per numbered line or paragraph), as a link to a recipe page (url), or as steps. A time written in a step ("roast for 45 minutes"; a range like "2-3 hours" takes the upper end) becomes that step's timer, the same as pasting it into the app. Saving never starts anything. To edit, name the recipe in recipe: fields you leave out keep their value; text, url or steps REPLACE all the steps (a run in progress keeps its place).

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

Input Schema

NameRequiredDescriptionDefault
urlNoA web address of a recipe page (http or https). The server reads the page's recipe data; links to private or internal addresses are refused. Ten a minute.
nameNoRecipe name. Required when creating from text or steps; from a link it defaults to the page's title.
textNoThe recipe steps pasted as text: numbered or bulleted lines, else paragraphs. Times in a step become that step's timer.
emojiNoIcon on the recipe card. Defaults to a plate.
stepsNoSteps given directly. Use this when you have already split the recipe yourself.
recipeNoId or name of an existing recipe to EDIT (see read_recipes). Omit to create a new one.
summaryNoOne short line describing the dish.

Output Schema

NameRequiredDescriptionDefault
recipeYesThe recipe: id, name, step and timer counts, whether a run is in progress.
createdYestrue = a new recipe, false = an existing one was edited.
deliveryYesHow recently the phone checked in, so you never imply it has seen this.
warningsYesThings worth saying out loud that are not failures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the sparse annotations (only idempotentHint=false, destructiveHint=false), it discloses the sign-in prerequisite with the 6-digit code path, that edits are partial (omitted fields keep their value), that `text`/`url`/`steps` REPLACE all steps, that an in-progress run keeps its place, and that saving has no side effects on timers. That is exactly the context the annotations do not carry.

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?

The auth requirement and resource definition are front-loaded, and every clause carries information (mode switching, input forms, replacement semantics). It is dense rather than padded, though the parentheticals about ranges and in-progress runs make it a heavier read than strictly necessary.

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 7-parameter creation/edit tool with thin annotations, the description covers the authentication prerequisite, both operating modes, all three step-input forms, the destructive-replace caveat, and the fact that nothing starts. Return values are handled by the existing output schema, so nothing material is missing.

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 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema does not encode: `recipe` switches create into edit mode, and text/url/steps overwrite rather than append to steps. It also explains the time-in-a-step parsing rule including range handling ('2-3 hours' takes the upper end).

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?

The description gives a specific verb+resource (save or edit a recipe) and then defines the resource itself: 'a meal with ordered steps the cook follows on the phone, each step able to start its own timer.' It also separates the two modes cleanly via the `recipe` parameter ('Omit to create a new one') and points to read_recipes for ids, so an agent can distinguish this from siblings like cook_recipe or add_dish.

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 states the three accepted input shapes (`text`, `url`, `steps`) and when each applies, plus the create-vs-edit condition. 'Saving never starts anything' implicitly routes actual cooking to another tool, and read_recipes is named for looking up edit targets. It stops short of naming the starting tool explicitly, so guidance is strong but not fully closed.

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