Skip to main content
Glama
Tandoor Recipes MCP

Tandoor Recipes MCP

Update meal plan

update_meal_plan
Idempotent

Update an existing meal plan by ID, changing only the fields you provide. Keeps current servings when omitted so plans with shopping entries update without errors.

Instructions

Update a meal plan by ID (PATCH); only the fields you give change, and at least one is required. If servings is omitted, the tool reads the plan and resends its current servings, so plans with shopping entries do not fail; plans at any date are reachable. Use create_meal_plan to add a plan and delete_meal_plan to remove one.

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": {
      "id": "<id>"
    },
    "name": "update_meal_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMeal plan ID, from list_meal_plans.
noteNoFree-text note.
titleNoPlan title.
to_dateNoEnd date, YYYY-MM-DD or ISO datetime.
servingsNoNumber of servings. Omitted keeps the current value.
from_dateNoStart date, YYYY-MM-DD or ISO datetime.
recipe_idNoRecipe ID, from search_recipes. null removes the recipe.
meal_type_idNoMeal type ID, from list_meal_types.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv3.4.4
    • addedInput schema / properties / from_date / description
      Added value: +"Start date, YYYY-MM-DD or ISO datetime."
    • addedInput schema / properties / id / description
      Added value: +"Meal plan ID, from list_meal_plans."
    • addedInput schema / properties / meal_type_id / description
      Added value: +"Meal type ID, from list_meal_types."
    • addedInput schema / properties / note / description
      Added value: +"Free-text note."
    • addedInput schema / properties / recipe_id / description
      Added value: +"Recipe ID, from search_recipes. null removes the recipe."
    • addedInput schema / properties / servings / description
      Added value: +"Number of servings. Omitted keeps the current value."
    • addedInput schema / properties / title / description
      Added value: +"Plan title."
    • addedInput schema / properties / to_date / description
      Added value: +"End date, YYYY-MM-DD or ISO datetime."
  2. First observedv3.4.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: annotations only declare non-readonly, idempotent, non-destructive, closed-world. The description adds the partial-update contract ('only the fields you give change'), the at-least-one-field rule, and a non-obvious internal fallback where omitted servings triggers a read-and-resend so plans with shopping entries do not fail. That fallback is exactly the kind of hidden behavior 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?

Two sentences, front-loaded with the operation and ID, then alternatives last. The servings fallback clause is dense and needs a second read, but every clause carries information an agent needs; there is no filler.

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 an 8-parameter mutation tool with full schema coverage and no output schema, the description covers the operation, the partial-update rule, the required-field constraint, the edge-case fallback, and sibling routing. Nothing needed to invoke it correctly 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 100%, so the schema already documents every field, making 3 the baseline. The description still adds semantic value by defining PATCH-style partial-update semantics across all fields and explaining the special servings handling, though it does not clarify the recipe_id null-removal case or date-range interactions.

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?

States a specific verb and resource ('Update a meal plan by ID (PATCH)') and immediately distinguishes itself from the two nearest siblings, create_meal_plan and delete_meal_plan. An agent can identify the operation without opening the schema.

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?

Explicitly routes to alternatives: 'Use create_meal_plan to add a plan and delete_meal_plan to remove one.' It also states a hard precondition ('at least one [field] is required') and clarifies a reachability constraint ('plans at any date are reachable'), leaving little to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.