Skip to main content
Glama

Saved meals

get_saved_meals
Read-onlyIdempotent

The user's saved meals (named sets of foods they eat often, e.g. 'Usual breakfast'), with each meal's items, calories and macros, and how often it was used. Use it when they ask what they have saved, or to pick the right one before log_saved_meal.

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

Input Schema

NameRequiredDescriptionDefault
nameNoOnly meals whose name contains this

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already supply readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes beyond them by disclosing the payload contents (items, calories, macros, usage count), which matters because there is no output schema. It does not say what happens when nothing is saved or whether results are ordered or capped.

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 sentences, front-loaded with the identity and contents of the resource, then the usage routing. No filler, no repetition of the title, and the example meal name removes ambiguity cheaply.

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-optional-parameter read tool with full annotation coverage and no output schema, the description supplies both what comes back and when to call it, which is the right level of detail. The minor omission is not stating that omitting 'name' returns all saved meals, or whether any cap/ordering applies.

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?

There is a single optional 'name' parameter whose schema description already covers its semantics fully (100% coverage, substring match, maxLength 120). The description does not mention filtering by name at all, so it adds no meaning beyond the schema. Baseline 3 applies when the schema does the work.

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 description names the exact resource and disambiguates it with a concrete gloss ("named sets of foods they eat often, e.g. 'Usual breakfast'") and enumerates what each record carries (items, calories, macros, usage frequency). That is enough to distinguish it from log_saved_meal and the other get_* siblings without opening any 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?

It gives two concrete triggers: when the user asks what they have saved, and as the lookup step before log_saved_meal. This explicitly positions it relative to the write-side sibling. It stops short of stating when-not to use it (e.g. when a full food log or daily summary is wanted), so it is clear context rather than exhaustive routing.

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