Skip to main content
Glama

Plan a meal

plan_meal

No sign-in needed. Make a meal plan: each dish starts at the right moment so everything is ready at the same time. Returns a link (open it on the phone in the kitchen, where the alarms ring), a QR code for that link, and the schedule. YOU do the cooking knowledge: break a recipe into dishes, each with its total cooking minutes, and put the timed moments inside a dish as steps ("simmer 20, rest 5" is a dish of 25 minutes with a step "Rest" at 20). Use readyInMinutes for "we eat in 90 minutes", readyAt for "at 7" (send the plain local clock time, "19:00" or "7pm"; a time zone is never needed, because the plan page fixes the exact moment in the zone of the phone that opens it, and the reply says so), or startNow to start cooking now (a single timer is a one-dish plan with startNow). If the person gave no time at all, ask when they want to eat. Keep times realistic and use only what the person gave you; at most 12 dishes, no dish over 12 hours, and a ready time up to two weeks ahead (later is refused). A clock time with no date means the next time the clock reads that on the phone that opens the plan; when the person named another day, send a local date-time such as "2026-11-24T19:00" and say the date you used. A time that has already passed (it is 8 pm and they said 7 pm, or the date is yesterday) is never an error: you get a plan for the next such time, normally tomorrow, and the reply says the day, so tell the person; if they want to eat sooner, call again with startNow. If the ready time is up to 15 minutes too soon for the longest dish, you still get a plan: it starts now and the reply gives the new ready time, so tell the person. If it is more than that, the reply is not an error and no plan is made: it gives the earliest ready time, so call again with startNow (or a later time) and tell the person the new time. For a plan more than a day away, tell the person to open the Kitchen Timer app on their phone once before the day. Dish names are plain text, no links. The reply link works for anyone who has it and the plan is deleted about a day after the meal. Tell the person the alarms ring on the phone page, not in this chat. When you wrote a recipe, send it as recipe (ingredients and ordered steps, with dish on the step that starts each timed dish): the page then shows the recipe, and Start cooking opens it on the phone with each timer inside its step and saves it under Meals. It is public like the plan, so nothing personal in it. The reply also holds a secret CONTROL KEY (starts with ktpk_): remember it for the rest of the chat, do not show it or put it in any link, and pass it with the plan's code to the control tools to keep managing this plan. Kitchen Timer can also be connected for the whole kitchen: ⋯ → Link an agent in the app shows the connector address and a 6-digit code.

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": {
      "dishes": "<dishes>"
    },
    "name": "plan_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
dishesYesWhat is being cooked. A single timer is one dish.
recipeNoOptional: the recipe, so the person gets a full meal to cook from (ingredients, then the steps in order, each timed step showing its timer) and not only timers. It is saved under Meals on their phone when they tap Start cooking. Leave it out for a plain timer plan. Plain text only, no links. It is public like the rest of the plan (anyone with the link can read it, deleted about a day after the meal), so put nothing personal in it. Limits: 30 ingredients, 20 steps, step text 400 characters; over a limit the call is refused, nothing is cut.
readyAtNoEverything ready at this time: a plain local clock time such as "19:00" or "7pm" (no time zone needed: the phone that opens the plan fixes the moment), a local date-time such as "2026-10-17T19:00" for another day, ISO 8601 with a UTC offset (2026-10-17T19:00:00+01:00), or epoch milliseconds.
startNowNoTrue: start every dish now (the longest dish sets when it is ready).
timeZoneNoOptional IANA time zone such as Europe/London. Leave it out when you do not know it: a plain local clock time needs no zone, the phone page fixes the moment. Only used to word the schedule text; the card and the phone show times in the viewer's own clock.
readyInMinutesNoEverything ready this many minutes from now. Give exactly one of readyInMinutes, readyAt, startNow.

Output Schema

NameRequiredDescriptionDefault
urlNoOpen this on the phone in the kitchen.
codeNo
linksNoEach dish that starts after another dish (also on the dish as startsAfter).
alarmsNo
dishesNo
readyAtNoReady time, ISO 8601 (UTC).
adjustedNoOnly when the asked-for time was up to 15 minutes too soon: the plan starts now and is ready later than asked. askedReadyAtMs / askedReadyAt is what was asked, lateMinutes how much too soon it was.
planMadeYesTrue when a plan was made (code, url and the schedule are then present). False: the time was too soon by more than 15 minutes, nothing was made, and earliestReadyAtMs says when it can be ready; call again with startNow true or a later readyAt.
scheduleNo
readyAtMsNo
readyLocalNoOnly when readyAt was a plain local clock time: that time (19:00, or 2026-11-23T19:00). The phone that opens the link fixes the real moment in its own time zone.
expiresAtMsNo
movedToNextNoOnly when the asked-for time had already passed: the plan is for the next time the clock reads that (normally tomorrow), not an error. askedReadyAt (or askedReadyLocal, when no time zone was known) is what was asked; the reply text says the day.
serverNowMsNo
askedReadyAtNoWith movedToNext: the moment that had passed, ISO 8601 (UTC). (With adjusted it is inside adjusted.)
askedReadyAtMsNoOnly with planMade false: the ready time that was asked for.
minutesTooSoonNo
askedReadyLocalNoWith movedToNext and a plain local time: what was asked (19:00, or 2026-11-20T19:00).
earliestReadyAtNo
zoneFixedOnOpenNo
earliestReadyAtMsNoOnly with planMade false: the earliest the plan can be ready.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / askedReadyAt
      Added value: +{
      +  "description": "With movedToNext: the moment that had passed, ISO 8601 (UTC). (With adjusted it is inside adjusted.)",
      +  "type": "string"
      +}
    • addedOutput schema / properties / askedReadyLocal
      Added value: +{
      +  "description": "With movedToNext and a plain local time: what was asked (19:00, or 2026-11-20T19:00).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / movedToNext
      Added value: +{
      +  "description": "Only when the asked-for time had already passed: the plan is for the next time the clock reads that (normally tomorrow), not an error. askedReadyAt (or askedReadyLocal, when no time zone was known) is what was asked; the reply text says the day.",
      +  "type": "boolean"
      +}
  2. Changed15 schema fields changed
    • changedInput schema / properties / readyAt / description
      Previous value: -"Everything ready at this time: ISO 8601 with a UTC offset (2026-10-17T19:00:00+01:00), or without an offset when timeZone is given, or epoch milliseconds."New value: +"Everything ready at this time: a plain local clock time such as \"19:00\" or \"7pm\" (no time zone needed: the phone that opens the plan fixes the moment), a local date-time such as \"2026-10-17T19:00\" for another day, ISO 8601 with a UTC offset (2026-10-17T19:00:00+01:00), or epoch milliseconds."
    • changedInput schema / properties / timeZone / description
      Previous value: -"Optional IANA time zone such as Europe/London. Only used to word the schedule text; the card and the phone show times in the viewer's own clock."New value: +"Optional IANA time zone such as Europe/London. Leave it out when you do not know it: a plain local clock time needs no zone, the phone page fixes the moment. Only used to word the schedule text; the card and the phone show times in the viewer's own clock."
    • addedOutput schema / properties / adjusted
      Added value: +{
      +  "description": "Only when the asked-for time was up to 15 minutes too soon: the plan starts now and is ready later than asked. askedReadyAtMs / askedReadyAt is what was asked, lateMinutes how much too soon it was.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / askedReadyAtMs
      Added value: +{
      +  "description": "Only with planMade false: the ready time that was asked for.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / earliestReadyAt
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / earliestReadyAtMs
      Added value: +{
      +  "description": "Only with planMade false: the earliest the plan can be ready.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / minutesTooSoon
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / planMade
      Added value: +{
      +  "description": "True when a plan was made (code, url and the schedule are then present). False: the time was too soon by more than 15 minutes, nothing was made, and earliestReadyAtMs says when it can be ready; call again with startNow true or a later readyAt.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / readyLocal
      Added value: +{
      +  "description": "Only when readyAt was a plain local clock time: that time (19:00, or 2026-11-23T19:00). The phone that opens the link fixes the real moment in its own time zone.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / schedule / items / properties / atMs / description
      Added value: +"Absent when the plan was made from a plain local clock time: the phone fixes the real moment when it opens the link. Then localTime and minutesBeforeReady say when."
    • addedOutput schema / properties / schedule / items / properties / localTime
      Added value: +{
      +  "description": "Only for a plan made from a plain local clock time: the wall-clock time, for example 5:40 PM.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / schedule / items / properties / minutesBeforeReady
      Added value: +{
      +  "description": "Only for a plan made from a plain local clock time: how long before everything is ready this happens.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / schedule / items / required
      Previous value: -[
      -  "atMs",
      -  "kind",
      -  "label"
      -]New value: +[
      +  "kind",
      +  "label"
      +]
    • addedOutput schema / properties / zoneFixedOnOpen
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "code",
      -  "url",
      -  "readyAtMs",
      -  "schedule"
      -]New value: +[
      +  "planMade"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / recipe
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional: the recipe, so the person gets a full meal to cook from (ingredients, then the steps in order, each timed step showing its timer) and not only timers. It is saved under Meals on their phone when they tap Start cooking. Leave it out for a plain timer plan. Plain text only, no links. It is public like the rest of the plan (anyone with the link can read it, deleted about a day after the meal), so put nothing personal in it. Limits: 30 ingredients, 20 steps, step text 400 characters; over a limit the call is refused, nothing is cut.",
      +  "properties": {
      +    "ingredients": {
      +      "description": "Ingredient lines with quantities, for example \"1.8 kg chicken\". At most 30, 100 characters each.",
      +      "items": {
      +        "maxLength": 1000,
      +        "type": "string"
      +      },
      +      "maxItems": 100,
      +      "type": "array"
      +    },
      +    "steps": {
      +      "description": "The method in order, at most 20 steps. A step that puts a dish on to cook sets `dish` and so starts that dish's timer; a hands-on step (chop, season, rest, serve) has no `dish`.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "dish": {
      +            "description": "Only on the step that starts a dish's timer: that dish's position in `dishes`, counting from 0 (the first dish is 0). Each dish at most once. The time is the dish's own `minutes`; never repeat it here.",
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "text": {
      +            "description": "What to do, 400 characters at most.",
      +            "maxLength": 5000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "A short heading, 80 characters at most. Left out: the start of the text.",
      +            "maxLength": 500,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 100,
      +      "minItems": 1,
      +      "type": "array"
      +    },
      +    "summary": {
      +      "description": "One or two sentences about the dish, 300 characters at most.",
      +      "maxLength": 1000,
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "The name the meal is saved under in Meals, 80 characters at most. Left out: the dish names.",
      +      "maxLength": 500,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "steps"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / readyInMinutes / maximum
      Previous value: -720New value: +86400
    • addedOutput schema / properties / readyAt
      Added value: +{
      +  "description": "Ready time, ISO 8601 (UTC).",
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / dishes / items / properties / startsAfter
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional: this dish starts a while after ANOTHER dish instead of finishing with the meal, for example the potatoes 30 minutes after the chicken goes in. Starting that other dish early or late then moves this one with it. The other dish may not itself wait on this one.",
      +  "properties": {
      +    "dish": {
      +      "description": "The other dish: its name as in this plan, or its number (1 is the first dish).",
      +      "type": [
      +        "string",
      +        "number"
      +      ]
      +    },
      +    "minutes": {
      +      "description": "Minutes after that moment. 0 or left out: right then.",
      +      "maximum": 720,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "when": {
      +      "description": "Count from when the other dish goes in, or from when it is done.",
      +      "enum": [
      +        "goes in",
      +        "is done"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "dish",
      +    "when"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / links
      Added value: +{
      +  "description": "Each dish that starts after another dish (also on the dish as startsAfter).",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  6. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say it is a non-read-only, non-destructive, non-idempotent write). It discloses that no sign-in is needed, that the link is public and deleted about a day after the meal, that a secret ktpk_ control key is returned and must not be shown, that alarms ring on the phone page rather than in chat, and that over-limit calls are refused with nothing truncated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded correctly with the purpose first, and nearly every sentence covers a real edge case. But it is a single dense block of roughly 500 words with repeated material (the time-zone/phone-fixes-the-moment rationale appears twice, as does the 'public, nothing personal' warning), which makes it hard to scan at call time.

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 6-parameter nested tool with an output schema, the description covers everything an agent needs: valid time inputs, the dish/step timing model, hard limits, refusal and clamping behavior, privacy and retention, and the control-key handoff. No gap would cause an incorrect call.

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 earns above that by teaching the conceptual model the schema cannot ('simmer 20, rest 5' is a 25-minute dish with a step at 20), by explaining that a bare clock time means the next such reading on the opening phone, and by clarifying what the secret key is for. Some of this repeats the schema's own field descriptions, keeping it from a 5.

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 ('Make a meal plan') and immediately explains the core mechanic: each dish is back-scheduled so everything finishes together, returning a link, QR code and schedule. That is far more than a restatement of the name. It stops short of explicitly differentiating itself from siblings such as arrange_timers or start_timers, so tool choice still needs inference.

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

Usage Guidelines5/5

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

Gives explicit routing between the three time modes ('readyInMinutes' for 'we eat in 90 minutes', 'readyAt' for 'at 7', 'startNow' for now), states the fallback when no time was given ('ask when they want to eat'), and prescribes recovery actions ('call again with startNow') for both the too-soon and already-passed cases. It also tells the agent what to say to the person in each branch.

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