Skip to main content
Glama

show_meal_diary

Read-onlyIdempotent

Show the meals logged on a day as a rich diary with daily calories and macros versus targets. Prefer this for what-did-I-eat and daily food-log review questions. Prefer this interactive view over describing the underlying rows in text. Returns a short text summary alongside it.

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

Input Schema

NameRequiredDescriptionDefault
dateNoDiary date, YYYY-MM-DD; default today.

Output Schema

NameRequiredDescriptionDefault
kindYesWidget discriminant identifying the payload shape.
generatedAtNoISO timestamp the snapshot was built.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"Diary date (YYYY-MM-DD). Optional; defaults to today."New value: +"Diary date, YYYY-MM-DD; default today."
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds genuinely useful behavior: this renders an interactive diary view rather than plain text, and returns a short text summary alongside. It says nothing about limits on meal count or how missing days behave, so the added value is real but modest.

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?

Three short sentences, front-loaded with purpose before usage preferences. The closing note about a text summary is close to redundant given an output schema exists, but it is not wasteful enough to hurt readability.

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 rich annotations, an output schema, and a single optional parameter, the description covers purpose, use case, and rendering behavior adequately. Only the absence of any stated limits or failure conditions keeps it from being fully complete.

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 coverage is 100% and the single optional parameter already documents its YYYY-MM-DD format and default of today. The description only echoes 'on a day' without adding format or edge-case meaning, so the baseline 3 applies.

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 ('Show the meals logged on a day') plus scope and content ('daily calories and macros versus targets'). It also implicitly distinguishes itself from weekly siblings like show_week_macros by scoping to a single day.

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 names the use case ('what-did-I-eat and daily food-log review questions') and states a preference over describing raw rows in text. It doesn't name a concrete sibling alternative or state when not to use it, which keeps it below a 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.