Skip to main content
Glama

The Meal Plan Vault

Get meal history

get_meal_history
Read-only

What the household ate between two dates, from the meal plan: each dish with how many times it was on the plan (as a main or a side), last_eaten, and which meals it was. Most frequent first. Defaults to the 30 days up to today; from and to are inclusive. marked_cooked counts the times someone marked it 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": "get_meal_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO date YYYY-MM-DD, inclusive. Defaults to today
fromNoISO date YYYY-MM-DD, inclusive
limitNo
meal_typesNoOnly these meals, e.g. ["dinner"]
include_sidesNoCount side dishes too

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only establish read-only and closed-world behavior, while the description adds meaningful behavior: aggregation by dish, frequency ordering, inclusive date handling, default lookback, and marked_cooked semantics. It does not cover limit or pagination behavior, so it is not fully exhaustive.

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?

Three compact sentences, front-loaded with purpose and then output/default details. No redundant restatement of the title or annotations, and every clause contributes useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only aggregation tool with no output schema, the description supplies the return shape, ordering, date semantics, and key field meanings. Remaining limit details are in the schema, so an agent has enough to call it correctly.

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 coverage is 80% and the schema already defines from/to, meal_types, include_sides, and limit constraints. The description adds real meaning for from/to inclusivity, the default 30-day window, and counting sides versus mains, though it leaves limit unmentioned.

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 first clause identifies a specific retrieval: historical meal-plan consumption between two dates, and the rest specifies the aggregation by dish, times as main/side, last_eaten, and meals. This clearly distinguishes it from plan and nutrition siblings without needing to name them.

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?

It gives the default date window and inclusive bounds, which helps an agent call it, but never states when to choose it over siblings like get_meal_plan_week or get_day_nutrition, nor any exclusions. Usage is implied by 'history between two dates' rather than explicitly guided.

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