Skip to main content
Glama
Tandoor Recipes MCP

Tandoor Recipes MCP

List units

list_units
Read-onlyIdempotent

List measurement units with optional name filters, pagination, random ordering, and compact or full results for recipe and ingredient workflows.

Instructions

List measurement units. Optional: query (name filter, or similarity ranking if fuzzy search is on), limit, random. Returns {count, next, previous, results}, 50 per page.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1.
limitNoMaximum number of units 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.
updated_atNoNo effect: Tandoor units have no updated_at field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.4.4
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of units 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 / updated_at / description
      Added value: +"No effect: Tandoor units 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.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds the return envelope {count, next, previous, results} plus a default page size of 50 — meaningful since no output schema exists. It omits any statement about ordering beyond the random flag, but the added behavioral value is solid for a read-only list tool.

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?

Two short, front-loaded sentences with no filler; the core purpose comes first and pagination last. The "Optional: query, limit, random" enumeration is a partial list of seven parameters, which reads as an exhaustive summary and is slightly misleading, but the prose itself is tight.

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 100% schema description coverage, complete annotations, and no output schema, the description only needs to cover purpose and return shape — both are present, including pagination semantics. It would be stronger if it flagged the return-shape switch (slim vs full) and the no-op updated_at parameter, but nothing critical for correct invocation is missing.

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%, so baseline is 3. The description restates query, limit, and random (all already documented, including the fuzzy-search behavior) and adds the 50-per-page default, but says nothing about format=slim/full, page_size max 200, or the no-op updated_at field — information that lives only in the schema.

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 measurement units" gives a specific verb and resource, so an agent knows exactly what it returns. It does not reference any sibling (e.g. list_foods, list_keywords) to contrast scope, so differentiation is implied by the resource name rather than stated.

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?

Usage is implied rather than stated: the tool lists a single, non-overlapping resource, so there is no real alternative to route between. The description offers no explicit when/when-not conditions and no prerequisites, and the partial "Optional:" list gives no guidance on choosing among the seven parameters.

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