Skip to main content
Glama

The Meal Plan Vault

List meal preps

list_meal_preps
Read-only

List meal preps by prep day, with the meals each one feeds, servings_left (servings not yet given to a meal), servings_on_hand (cooked and not yet eaten: what's actually in the fridge or freezer), storage, use_by and use_by_status (past, today, soon, ok). Each meal carries its calories, protein, carbs and fat. servings_remaining also counts batches nobody marked cooked: from the prep day on, a batch counts as made and a meal as eaten once it's marked eaten or its day has passed. eat_by is the use-by date, or the prep day plus 4 days in the fridge and 90 in the freezer when none was set; eat_by_status grades it like use_by_status. Defaults to two weeks either side of today. on_hand looks back four months, keeps only batches marked cooked, and sorts by eat_by, earliest first. servings_remaining is accurate whether or not anyone marked the batch cooked.

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": "list_meal_preps"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO date YYYY-MM-DD, inclusive
fromNoISO date YYYY-MM-DD, inclusive
on_handNoOnly cooked batches with servings not yet eaten
storageNoOnly batches kept here

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing the default date window, the four-month lookback and earliest-first sort for on_hand, the fallback computation for eat_by (prep day +4 days fridge / +90 freezer), and how unmarked batches are treated. The only weakness is that these semantics are stated twice under two different names, muddying rather than clarifying.

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

Conciseness2/5

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

Front-loads the field list, but the body is a dense run-on that repeats itself ('servings_remaining also counts batches nobody marked cooked' vs. 'servings_remaining is accurate whether or not anyone marked the batch cooked') and switches between two vocabularies (servings_left/servings_remaining, use_by/eat_by) without explaining the relationship. Sentences do not earn their place because of the duplication.

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?

With no output schema, the description carries the burden of explaining return values and does so field by field, plus default scoping and sort order; annotations already cover the read-only profile. The residual gap is the unexplained dual naming (use_by vs eat_by, servings_left vs servings_remaining), which could leave an agent unsure which key it will actually receive.

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 description coverage is already 100%, so the baseline is 3; the description adds real meaning on top by explaining that from/to default to two weeks either side of today and that on_hand restricts to cooked batches with uneaten servings sorted by eat_by. That is genuine added semantics beyond the schema's one-line definitions.

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?

States a specific verb and resource ('List meal preps by prep day') and enumerates the returned fields (servings_left, storage, use_by, calories/protein/carbs/fat). It is clear what the tool does, but it never distinguishes itself from siblings like get_prep_day, get_meal_history, or get_meal_plan_week, which an agent could plausibly pick instead.

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?

Gives useful context for invoking it (default window of two weeks either side of today; on_hand looks back four months and sorts earliest-first), but provides no explicit when-to-use/when-not guidance relative to alternative list or history tools. Usage is implied by the parameter behaviors rather than stated as routing advice.

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