Skip to main content
Glama
Tandoor Recipes MCP

Tandoor Recipes MCP

List keywords

list_keywords
Read-onlyIdempotent

Lists recipe keywords (tags) from Tandoor Recipes so agents can browse, filter by name or parent, inspect tag trees, and paginate results.

Instructions

List keywords (recipe tags). 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_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1.
rootNoParent keyword ID; lists its direct children. 0 lists top-level keywords.
treeNoKeyword ID; lists that keyword and all its descendants.
limitNoMaximum number of keywords, as a string, e.g. "10".
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_treeNoKeyword ID; lists the whole tree that keyword belongs to.
updated_atNoISO datetime; only keywords updated at or after it.

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 keywords, as a string, e.g. \"10\"."
    • 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 keyword ID; lists its direct children. 0 lists top-level keywords."
    • addedInput schema / properties / root_tree / description
      Added value: +"Keyword ID; lists the whole tree that keyword belongs to."
    • addedInput schema / properties / tree / description
      Added value: +"Keyword ID; lists that keyword and all its descendants."
    • addedInput schema / properties / updated_at / description
      Added value: +"ISO datetime; only keywords updated at or after it."
  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
Behavior4/5

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

The last sentence adds a genuinely non-obvious behavioral rule: root, tree and root_tree override query, random, limit and updated_at. That precedence is not derivable from the annotations or schema, though the description says nothing about pagination behavior or return shape beyond the schema's format enum.

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 compact sentences, front-loaded with purpose and followed by the constraint that matters most. The mid-sentence parameter list is terse but readable; nothing is padding.

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 ten-parameter, read-only list tool with no output schema, the description covers the tricky enumeration modes and their precedence but omits mention of paging (page, page_size) and the format switch. The schema carries those, so the gap is modest rather than fatal.

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 all ten parameters are already documented, including the counterintuitive 'random' string semantics and the string-typed limit. The description largely echoes the schema, adding value only through the precedence rule.

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 opens with a specific verb and resource ('List keywords'), and usefully glosses the domain term as '(recipe tags)'. It distinguishes listing from the singular 'get_keyword' sibling implicitly, but never names any alternative tool.

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 only implied through the parameter prose — the agent can infer that root/tree/root_tree are mutually exclusive enumeration modes. There is no explicit statement of when to choose this over other listing or keyword tools.

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