Skip to main content
Glama

Cook a recipe step by step

cook_recipe

Needs the phone link: the person signs in with the 6-digit code from the Kitchen Timer app (⋯ → Link an agent). Move through a recipe the way the cook does on the phone, on the same shared state: whichever of you moves the step, the other sees it after the phone's next sync. start begins a run at step 1 (or continues the one in progress; with step, at that step), next/back move one step (next on the last step finishes), goto jumps to step, timer starts the timer of the current step (or of step) on the board with an absolute finish time, and finish ends the run (timers already running keep running).

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": {
      "recipe": "<recipe>",
      "action": "<action>"
    },
    "name": "cook_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepNoA step number, counting from 1. Required for `goto`; optional for `start` and `timer`.
actionYesWhat to do; see the tool description.
notifyNoOnly for `timer`: notify the cook's phone that the timer is on.
recipeYesId or name of the recipe (read_recipes).

Output Schema

NameRequiredDescriptionDefault
cookYesWhere the run is now (step, of, title), or null when no run is in progress.
stepYesThe current step in full (title, text, timer).
timerNoFor `timer`: the step's timer on the board.
recipeYesThe recipe: id, name, step and timer counts, whether a run is in progress.
deliveryYesHow recently the phone checked in, so you never imply it has seen this.
warningsYesThings worth saying out loud that are not failures.
phoneAlertYesWhether the paired device's backup alarm armed, and which device that is. armed:false is a real answer, not an error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (idempotentHint=false, destructiveHint=false), the description discloses the authentication prerequisite (phone link plus 6-digit sign-in code), the shared-state model with eventual consistency after the phone's next sync, the special-case that 'next' on the last step finishes the run, that timers use an absolute finish time on the board, and that already-running timers survive 'finish'. That is genuine behavioral context an agent could not infer from structured fields.

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?

One dense paragraph, front-loaded with the hard prerequisite (phone link and sign-in) before the operation semantics, so nothing critical is buried. It borders on run-on with heavy inline parentheticals, but every clause carries distinct information and no sentence is 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 an output schema present, return values need no explanation here. The description covers auth, sync semantics, all six actions, and timer persistence, which is complete for a stateful navigation tool. Remaining gaps are minor: no error behavior (e.g., an invalid step for `goto`) and no note on what happens if no run is in progress for 'next'/'back'/'finish'.

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 is 3; the description goes beyond it by stating that `step` selects the step for 'start' and 'timer' as well as being required for 'goto', and by explaining the last-step edge case for 'next'. `recipe` is pointed at read_recipes and `notify` is left to its schema text, which is acceptable given the schema already documents it.

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 names a specific resource (a recipe run) and enumerates six concrete operations (start/next/back/goto/timer/finish) with what each does. An agent can tell this is step-navigation for an active cook session rather than recipe editing or timer board management. It does not explicitly differentiate itself from siblings like skip_step or adjust_timer, which keeps it short of a 5.

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?

The action-by-action breakdown effectively maps intent to action: 'start' to begin or continue, 'next'/'back' to move one step, 'goto' to jump, 'timer' to arm the current step's timer, 'finish' to end the run. That gives clear usage context without any explicit when-not guidance or named alternatives (e.g., how 'next' differs from skip_step, or when to use control_timers instead of 'timer').

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