Skip to main content
Glama

The Meal Plan Vault

Get meal plan nutrition

get_meal_plan_nutrition
Read-only

Get calories, protein, carbs and fat for each planned meal in a week, per person (one serving of each dish), with day totals and the daily average. A meal's dishes are its main and its recipe sides. A dish's tracker_import_url imports into MyFitnessPal or Cronometer. week_start_date may be any date within the target week.

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_nutrition"
  }
}

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

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, closed-world safety profile, and the description adds real domain behavior on top: the serving basis ('one serving of each dish' per person), what counts as a dish (main plus recipe sides), and that `tracker_import_url` feeds MyFitnessPal/Cronometer. It doesn't mention units for the macro values or how missing nutrition data is handled, which are the remaining behavioral gaps.

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-loaded with the deliverable and tightly packed; each sentence carries information (result shape, dish definition, export URL, date flexibility). Dense but no filler, though the final date sentence is redundant with the schema and could be dropped.

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?

There is no output schema, so the description correctly describes the return contents (per-meal macros, day totals, daily average) and explains the secondary fields an agent might stumble on. Units and zero/missing-value behavior are the only notable omissions for a tool of this simplicity.

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 description coverage is 100% and the schema already says the date may be any day in the week, so the description's closing sentence largely restates it. With one fully documented, optional parameter, the schema carries the weight and the description adds little.

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 ('Get calories, protein, carbs and fat for each planned meal in a week') and pins down the aggregation shape: per meal, per person, day totals, and daily average. That makes it easily distinguishable from week-plan and single-day nutrition siblings.

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?

Clear context for when to call it (weekly nutrition rollup per person) and a useful default note via the schema. It stops short of naming alternatives such as a single-day nutrition tool or the week-plan tool, so the agent must infer that this is the aggregate-nutrition variant rather than the plan-structure variant.

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