Skip to main content
Glama
Tandoor Recipes MCP

Tandoor Recipes MCP

List foods

list_foods
Read-onlyIdempotent

Retrieve and filter food ingredients from Tandoor Recipes by name, parent ID, or food tree, with pagination, random order, and compact/full output.

Instructions

List foods (ingredients). Optional: query (name filter, or similarity ranking if fuzzy search is on), root (parent id, 0 for top-level), tree (id, with its descendants), root_tree, random, limit. root, tree and root_tree ignore query, random, limit and updated_at.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1.
rootNoParent food ID; lists its direct children. 0 lists top-level foods.
treeNoFood ID; lists that food and all its descendants.
limitNoMaximum number of foods to return.
queryNoName filter, or similarity ranking when Tandoor fuzzy search is on.
formatNoslim (default) returns a compact shape. full returns the raw Tandoor object.
randomNoString. Any non-empty value shuffles the order, even "false".
page_sizeNoResults per page. Default 50, max 200.
root_treeNoFood ID; lists the whole tree that food belongs to.
updated_atNoNo effect: Tandoor foods have no updated_at field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv3.4.4
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of foods to return."
    • addedInput schema / properties / page / description
      Added value: +"Page number, from 1."
    • addedInput schema / properties / page_size / description
      Added value: +"Results per page. Default 50, max 200."
    • addedInput schema / properties / query / description
      Added value: +"Name filter, or similarity ranking when Tandoor fuzzy search is on."
    • addedInput schema / properties / random / description
      Added value: +"String. Any non-empty value shuffles the order, even \"false\"."
    • addedInput schema / properties / root / description
      Added value: +"Parent food ID; lists its direct children. 0 lists top-level foods."
    • addedInput schema / properties / root_tree / description
      Added value: +"Food ID; lists the whole tree that food belongs to."
    • addedInput schema / properties / tree / description
      Added value: +"Food ID; lists that food and all its descendants."
    • addedInput schema / properties / updated_at / description
      Added value: +"No effect: Tandoor foods have no updated_at field."
  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.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior beyond them: that root/tree/root_tree silently ignore query, random, limit and updated_at, which is a non-obvious precedence rule an agent could otherwise get wrong. It still says nothing about what a response looks like or how paging behaves.

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, the core purpose front-loaded and the constraint stated last, with zero filler. The terse parenthetical parameter list is dense but each item carries the mode meaning an agent needs.

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?

For a 10-parameter tool with no output schema, the definition covers mode selection and parameter precedence but leaves the pagination story (page, page_size, limit interplay) and the return shape (slim vs full beyond the schema's enum text) unaddressed. Adequate to invoke correctly in the common case, but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, and the schema already documents root=0, tree descendants, and the string/random quirk. The description earns above baseline by stating the precedence rule that mode parameters discard query, random, limit and updated_at, which the schema does not express. It does not clarify page vs limit vs page_size interaction, so it is not a 5.

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?

"List foods (ingredients)" gives a specific verb and resource and even disambiguates the domain term, so an agent knows this is a food enumeration endpoint rather than recipes or units. It stops short of naming how it differs from the sibling get_food or other list_* tools, so it is clear but not fully differentiated.

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?

The description enumerates the optional mode parameters (root, tree, root_tree, random, query) which implicitly tells the agent how to choose a listing mode, and the final sentence states that mode parameters override the others. There is no explicit statement of when to use this versus get_food or the other list_* tools, and no guidance on the default no-argument behavior.

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