Skip to main content
Glama
Tandoor Recipes MCP

Tandoor Recipes MCP

Get food

get_food
Read-onlyIdempotent

Retrieves a food or ingredient by ID, returning compact or full details. Use list_foods to find the correct ID before fetching it.

Instructions

Get food (ingredient) by ID. Find IDs with list_foods.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_food"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesFood ID, from list_foods.
formatNoslim (default) returns a compact shape. full returns the raw Tandoor object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.4.4
    • addedInput schema / properties / id / description
      Added value: +"Food ID, from list_foods."
  2. Changed1 schema field changedv3.4.1
    • addedInput schema / properties / format / description
      Added value: +"slim (default) returns a compact shape. full returns the raw Tandoor object."
  3. First observedv3.4.0

TDQS

A3.6/5.0
Behavior2/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 fully covered structurally. The description adds nothing behavioral on top of that — no mention of error/not-found behavior, no note that the lookup is by immutable ID. Note the schema's slim/full format switch is documented in the schema, not the description.

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 with zero waste; the core action is front-loaded and the follow-on sentence is a tightly scoped pointer to the prerequisite tool.

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 single-parameter read tool with full schema coverage and complete safety annotations, the definition is essentially complete: action, key, and ID source are all stated. The only missing element an agent might want is failure behavior when an ID does not exist, which is minor here.

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%, including the id parameter's provenance and the enum meaning of format, so the schema carries the parameter burden. The description only reinforces "by ID" and adds no syntax or format nuance beyond structured fields, which is the baseline-3 case.

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?

The description uses a specific verb and resource ("Get food (ingredient) by ID") and even disambiguates the domain term by equating food with ingredient. It implicitly separates itself from list/collection siblings by emphasizing single-item retrieval by ID, though it never explicitly contrasts with list_foods as a retrieval path.

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 a clear prerequisite: IDs come from list_foods, so an agent knows how to obtain the required input. It stops short of stating when to prefer this over list_foods for browsing or what to do if the ID is unknown, but for a narrowly scoped getter the context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.