Skip to main content
Glama

The Meal Plan Vault

Copy meal plan week

copy_meal_plan_week
DestructiveIdempotent

Repeat a week: copy every meal from one week of the plan into another, keeping each meal on the same weekday and slot. Recipes, sides, notes, servings and leftover/no-meal markers are copied; cooked status is not. By default only empty slots in the target week are filled. The target week's meal plan is auto-created if it doesn't exist.

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": {
      "source_week_start": "<source_week_start>",
      "target_week_start": "<target_week_start>"
    },
    "name": "copy_meal_plan_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofill-empty only fills empty slots; replace clears the target week first (cooked meals are kept)fill-empty
source_week_startYesAny ISO date YYYY-MM-DD in the week to copy from
target_week_startYesAny ISO date YYYY-MM-DD in the week to copy into

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations flag destructiveHint=true and idempotentHint=true, and the description goes beyond them by enumerating exactly which fields travel (recipes, sides, notes, servings, leftover/no-meal markers) and which do not (cooked status). It also discloses the non-obvious side effect that a missing target week is auto-created, which is precisely the kind of context annotations cannot convey.

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?

Four short sentences, each carrying distinct information: what is copied, what is excluded, the default mode, and the auto-creation side effect. The core action is front-loaded and nothing is redundant.

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 three-parameter copy operation with full schema coverage and a destructive annotation, the description covers the important unknowns: scope, excluded fields, and target-week behavior. The only residual gap is that no output schema exists and the description doesn't hint at what is returned (e.g. a count of copied meals), which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both date parameters and the mode enum are already fully documented in the schema, including what 'replace' does. The description's 'only empty slots are filled' largely restates the mode default rather than adding new parameter semantics, so the baseline 3 applies.

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 opens with a specific verb+resource+scope: 'copy every meal from one week of the plan into another', and adds the alignment rule (same weekday and slot). This is unmistakably distinct from siblings like get_meal_plan_week, set_meal_plan_entry or remove_meal_plan_entry, so an agent can select it 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 Guidelines4/5

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

It states the default operating mode ('only empty slots in the target week are filled') and that the target week is auto-created, which tells the agent the preconditions are forgiving. What's missing is any explicit when-not guidance or pointer to an alternative (e.g. inspect with get_meal_plan_week first, or use set_meal_plan_entry for single-slot edits).

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