Skip to main content
Glama

Read meals

list_meals
Read-only

Read the person's saved meals, newest first. Filter by day, by fromDay and toDay (inclusive local dates) for a range such as a week, or by from and to timestamps, and optionally by state to see plans or eaten meals. Only meals in a result exist; never claim others do. A day list_days marks partial is missing meals, so leave it out of averages and never call it a low day.

Input Schema

NameRequiredDescriptionDefault
toNoOnly meals eaten before this time, with its UTC offset
dayNoOnly meals on this local date, in each meal's own timezone
fromNoOnly meals eaten at or after this time, with its UTC offset
limitNoThe most meals to return
stateNoOnly planned meals or only eaten (logged) ones; leave out for both
toDayNoOnly meals on or before this local date
offsetNoSkip this many results. Pass the nextOffset of the previous page to read on; a null nextOffset means there are no more.
fromDayNoOnly meals on or after this local date

Output Schema

NameRequiredDescriptionDefault
mealsYes
nextOffsetYes

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 already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real domain behavior beyond that: 'Only meals in a result exist; never claim others do' is an explicit anti-hallucination guard, and the note that partial days from list_days are missing meals and must be excluded from averages and low-day claims is non-obvious operational context.

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 core purpose and filter modes are front-loaded in the first two sentences with no filler. The closing sentence about partial days is valuable but grammatically mangled ('A day list_days marks partial is missing meals'), which costs it a point.

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?

An output schema exists, so return-shape explanation is unnecessary. With 8 optional params, the description covers filter selection and the partial-day caveat adequately; only pagination (offset/nextOffset) is absent from the prose, though the schema documents it.

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 100%, so a 3 baseline would be defensible, but the description adds relational meaning the flat schema cannot convey: day / fromDay-toDay / from-to are alternative filter modes, and fromDay/toDay are inclusive local dates suited to a week range. It says less about limit or offset, which the schema already documents.

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 (read the person's saved meals) plus ordering (newest first), which cleanly separates it from get_meal (single meal), list_days, and list_foods. An agent can tell what this tool returns 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?

Explicitly enumerates the filtering modes and when each applies: 'day' for a single date, 'fromDay/toDay' for an inclusive local-date range such as a week, 'from/to' for timestamps, and 'state' to see plans or eaten meals. It also gives cross-tool guidance about list_days partial days. It stops short of naming exclusions against siblings like get_meal, so it is not a full 5.

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