Skip to main content
Glama

Read one saved food

get_food
Read-onlyIdempotent

One of the person's saved foods in full, by its id (from search_foods) or its name: figures per 100 g (100 ml for a drink), its portion, its description and collections, and a recipe's ingredients.

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

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds what a caller receives: nutrient figures per 100 g (or 100 ml for drinks), portion, description, collections, and recipe ingredients. It does not disclose behavior when both keys are supplied, when neither is supplied, or how name ambiguity or missing records are handled.

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?

A single front-loaded sentence with no filler; the lookup keys and the returned content are each stated once. The enumeration of return fields is slightly redundant with the output schema and the opening clause is a bit convoluted, but nothing is wasteful.

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

Completeness3/5

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

An output schema exists, so the description need not explain return values, and annotations cover the read-only profile. However, for a tool with zero required parameters and two alternative lookup keys, the definition never states the resolution rules or failure behavior, which is the main gap an agent would hit.

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 0%, so the description must carry the parameter meaning and partly does: it says id comes from search_foods and that name is an alternative lookup key. It does not say whether id or name matching is exact or fuzzy, which wins if both are given, or that both are optional.

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?

Starts with a specific verb-and-resource statement ('One of the person's saved foods in full') and immediately names the two lookup keys. An agent can distinguish it from search_foods ('find') and save_food ('write') 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?

The parenthetical '(from search_foods)' tells the agent the correct workflow order: search first, then fetch the full record by id. It also offers name as an alternative key. It stops short of explicit exclusions, such as when to prefer search_foods or what to do if several records share a name.

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.