Skip to main content
Glama

List menu items

list_menu_items
Read-onlyIdempotent

List a restaurant's menu items. Call with just restaurantId first to see the category names (and counts), then filter with category and/or query rather than reading the whole menu. Items with choices (sides, sizes, add-ons) list them under optionGroups: when ordering, pass the chosen group and choice names as selectedOptions; a group with required=true must be chosen. Unavailable items are left out. Items marked soldAheadOnly are sold only for a scheduled date (a pre-order with a time slot): they can't be ordered for immediate delivery; use list_preorder_slots to pick a time, then draft_preorder and place_preorder (pickup). Paginate with limit and offset.

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": {
      "restaurantId": "<restaurantId>"
    },
    "name": "list_menu_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoOnly items whose name or description contains this text, e.g. 'burger'
offsetNo
categoryNoOnly items in this category (case-insensitive), e.g. 'drinks'
restaurantIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: unavailable items are omitted, optionGroups/selectedOptions ordering semantics, required=true groups must be chosen, and the pre-order-only constraint of soldAheadOnly items. This is real behavioral disclosure, not restatement.

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?

Front-loaded with purpose and the core workflow, then the pre-order caveat and pagination. It is dense and slightly run-on but every clause carries actionable information; nothing is filler.

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 no output schema, the description does the work of describing the shape of results (category names and counts, item optionGroups, omission of unavailable items) and pagination. Adequate for a read-only list tool, though it omits limit/offset defaults and total-count behavior.

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 only 40% (limit, offset, restaurantId undocumented in schema). The description partially compensates by explaining that category/query are filters and that limit/offset paginate, but it never states defaults, caps, or what restaurantId must reference, so the coverage gap is not fully closed.

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?

States a specific verb+resource and scopes it to a single restaurant's menu via restaurantId. It does not explicitly name the closest sibling (search_menu) or contrast cross-venue search with this per-restaurant listing, so the sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit workflow: call with just restaurantId to see category names and counts, then narrow with category/query instead of reading the whole menu. It also routes soldAheadOnly items through list_preorder_slots -> draft_preorder -> place_preorder, naming the alternatives and the condition that selects them.

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.

Resources