Skip to main content
Glama

The Meal Plan Vault

Get meal plan week

get_meal_plan_week
Read-only

Get the meal plan for a given week. week_start_date may be any date within the target week; it is normalized to the household's configured week start (Monday by default), which the result returns as week_start_date even when the week has no plan yet. Each entry has nutrition_per_serving when its recipe's nutrition is calculated, and sides: the dishes served with the main, each { recipe_id, title } (recipe_id is null for a side that's just a name). Entries with a mealPrepId are eaten from a meal prep; meal_preps lists those preps with the meals they feed and servings left.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_meal_plan_week"
  }
}

Input Schema

NameRequiredDescriptionDefault
week_start_dateNoISO date YYYY-MM-DD of any day in the week. Defaults to the current week.

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?

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description discloses real behavior: date normalization to the household's configured week start (Monday by default), and that week_start_date is returned even when no plan exists. It does not mention permissions, pagination, or error cases, keeping it short of a 5.

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?

The purpose is front-loaded in the first sentence, followed by normalization behavior and then the return-shape details. Every sentence carries information, though the entry-structure sentence is dense and could be split for readability.

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?

Since there is no output schema, the description usefully explains the returned entries, nutrition_per_serving, sides with nullable recipe_id, and meal_preps with servings left. Combined with the empty-week behavior, an agent has enough to call and interpret results, with only minor gaps around ordering or error handling.

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?

The schema already documents week_start_date at 100% coverage, but the description adds genuine meaning: any day within the target week is acceptable, it is normalized to the household week start, and it defaults to the current week. This is more than a restatement of the schema and directly affects how an agent supplies the value.

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?

The description opens with a specific verb and resource: 'Get the meal plan for a given week.' That is unambiguous and distinct from mutation siblings like set_meal_plan_entry or copy_meal_plan_week. It does not explicitly contrast with read siblings such as get_meal_plan_nutrition or get_meal_history, so it falls short of full sibling differentiation.

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?

Usage is implied by the week-scoping explanation and the note that any date in the week works, which helps an agent call it correctly. However, there is no explicit statement of when to prefer this over get_day_nutrition, get_meal_plan_nutrition, or get_meal_history, and no exclusions or prerequisites are given.

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