Skip to main content
Glama

Add a dish to the plan

add_dish

No sign-in needed. Add one more dish to this plan. The ready time stays, so the new dish goes in at the ready time minus its cooking time and must still fit. Before the person taps Start it joins the plan on the sheet; afterwards it goes onto the phone too. Same rules as plan_meal: a plain-text name, at most 12 dishes. Needs the plan's code and control key.

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": {
      "code": "<code>",
      "key": "<key>",
      "name": "<name>",
      "minutes": "<minutes>"
    },
    "name": "add_dish"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe secret control key plan_meal gave you for this plan (starts with ktpk_). Never show it or put it in a link.
codeYesThe plan's code, or its whole link.
nameYesPlain text, 80 characters at most.
stepsNoOptional moments inside the cooking time.
minutesYesTotal cooking time in minutes.

Output Schema

NameRequiredDescriptionDefault
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the ready time is preserved, the new dish is placed at ready time minus its cooking time and must still fit, it lands on the plan sheet before Start and on the phone after, and it is capped at 12 dishes. Annotations already cover the write/non-idempotent/non-destructive profile, so this supplementary scheduling and lifecycle detail is a genuine value-add.

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?

Front-loads the surprising fact ('No sign-in needed') then states the action and constraints in a few tight sentences. The pre-/post-Start sentence is slightly dense but every clause carries operational meaning; nothing 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?

For a 5-parameter mutation with an output schema and full annotation coverage, the description supplies the scheduling invariant, the capacity limit, and the timing of side effects — enough for an agent to call it correctly. Only the role of the optional 'steps' parameter is unaddressed, which the schema itself handles.

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 schema already documents all five parameters with bounds. The description still adds domain meaning: that name must be plain text, that minutes interacts with the fixed ready time via a fit constraint, and that the 12-dish cap is a hard plan limit enforced elsewhere.

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 — 'Add one more dish to this plan' — and implicitly contrasts with plan_meal ('Same rules as plan_meal'), so an agent can tell this is the incremental-add path rather than plan creation. It stops short of naming a sibling to use for editing an existing dish (e.g. adjust_dish), leaving that distinction to inference.

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?

'No sign-in needed' and 'Needs the plan's code and control key' give prerequisites, and 'Add one more dish to this plan' implies the plan must already exist. However, there is no explicit when-not-to-use guidance or routing to adjust_dish/edit alternatives for modifying a dish already in the plan.

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