Skip to main content
Glama

List Recent Meals

list_recent_meals
Read-only

Meals the user logged recently, newest first, with foods, amounts and energy. days is how far back to look, up to 60.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back to look.

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 declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuine value on top: it discloses ordering (newest first) and what each result contains (foods, amounts, energy), which annotations cannot convey. It stops short of noting any result cap or pagination behavior.

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?

Two short sentences, zero filler, with scope and ordering front-loaded before the parameter note. Every clause carries information.

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?

For a one-parameter, read-only, no-output-schema tool, this is nearly complete: scope, ordering, and returned fields are all stated, and safety is covered by annotations. Only the maximum number of meals returned is left unstated.

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 single parameter is already documented as 'How many days back to look' with a 60 maximum. The description's 'up to 60' and equivalent phrasing restate the schema rather than adding new meaning, so the baseline 3 applies.

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 pair ('Meals the user logged recently'), plus sort order and payload contents (foods, amounts, energy). The 'recently logged' framing implicitly separates it from list_favorite_meals, but no sibling is named, so differentiation is inferred rather than stated.

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 scope phrase 'logged recently' — an agent can guess this is for reviewing recent diary activity — but there is no explicit when-to-use, no exclusion, and no pointer to alternatives such as get_diary for full history or list_favorite_meals for saved templates.

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