Skip to main content
Glama

The Meal Plan Vault

Set meal plan entry

set_meal_plan_entry
DestructiveIdempotent

Schedule a recipe (or custom meal name) on a specific date and meal type. Creates or updates the entry. The week's meal plan is auto-created if it doesn't exist. With meal_prep_id the meal is eaten from a meal prep: the slot gets the prep's dish and adds nothing to the grocery list; servings_override is then how many servings this meal takes from the batch. For a main plus sides ("chicken with rice and salad"), the main is recipe_id or custom_meal_name and the sides go in sides, each a household recipe ({ recipe_id }) or just a name ({ name: "Garlic bread" }), up to 6. Sides are shopped for and counted in nutrition with the meal (one serving each). sides replaces the meal's sides; [] clears them. Omitting it keeps the sides the meal already has, except with meal_prep_id, which clears them. Passing only date, meal_type and sides changes just the sides of a planned meal.

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": {
      "date": "<date>",
      "meal_type": "<meal_type>"
    },
    "name": "set_meal_plan_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesISO date YYYY-MM-DD
notesNo
sidesNoSide dishes served with the main, in order. Replaces the meal's sides; [] clears them; omit to keep them.
meal_typeYes
recipe_idNo
meal_prep_idNoEat this meal from a meal prep
custom_meal_nameNoA one-off meal name, instead of recipe_id
servings_overrideNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description adds exactly the context they can't: the week's plan is auto-created, meal_prep_id entries add nothing to the grocery list while sides are shopped for and counted in nutrition, `sides` replaces and [] clears, and meal_prep_id implicitly clears sides. That spells out precisely what gets destroyed and what side effects propagate, which is unusually complete for a destructive mutation.

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

Conciseness5/5

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

The core action and upsert behavior lead, followed by mode-specific rules; nearly every clause carries a distinct rule (sides replacement, clearing, grocery/nutrition effects) rather than restating schema or title. Sentences are dense but each earns its place.

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 an 8-parameter destructive upsert with cascade effects (auto-created week plan, grocery list and nutrition consequences), the description covers the behavioral risk surface well and annotations fill the safety profile. The residual gap is the undocumented `notes` parameter and no indication of what the tool returns, which matters somewhat since there is no output schema.

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?

At 50% schema coverage the description does real work: it defines servings_override's meaning in the meal-prep context, explains recipe_id/custom_meal_name as the main, and fully specifies the sides item shape (recipe_id or name, not both, max 6, one serving each, ordering). `notes` is never mentioned, and meal_type is only implied by the date/meal-type phrase, leaving a small gap.

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 states a specific verb and resource ("Schedule a recipe ... on a specific date and meal type") plus the upsert semantics ("Creates or updates the entry"), and includes the alternate input modes (custom meal name, meal_prep_id, main-plus-sides). This distinguishes it clearly from remove_meal_plan_entry and get_meal_plan_week without needing their schemas.

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 explains when each mode applies: with meal_prep_id, servings_override becomes servings from the batch; passing only date, meal_type and sides changes just sides; omitting sides keeps existing sides. It doesn't name sibling alternatives (e.g., remove_meal_plan_entry for deletion or plan_meal_prep for creating preps), so guidance is strong on modes but silent on tool-level alternatives.

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