Skip to main content
Glama

WaitApp

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. Paginate with limit and offset.

Input Schema

TableJSON 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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description adds real value beyond that by disclosing the response shape (category names plus counts), the optionGroups structure for items with choices, the selectedOptions convention for ordering, and pagination behavior. It stops short of error handling or limits, so not a 5.

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?

Three dense sentences with the purpose front-loaded and zero filler; the optionGroups sentence is information-heavy but each clause carries usable guidance. Slightly compressed, but nothing should be cut.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of describing returns and does so (category names and counts, optionGroups, selectedOptions), plus a recommended call sequence and pagination guidance. For a read-only listing tool whose safety profile is covered by annotations, this is complete enough to invoke correctly.

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 only 40% (limit, offset, and restaurantId are undocumented in the schema), so the description must compensate. It explains the filtering role of category and query and says to paginate with limit and offset, but never states defaults (30/0), the 100-item cap, or what offset actually indexes into, leaving the numeric params partially opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (List) and resource (a restaurant's menu items), which is unambiguous against siblings like list_room_types, list_events, or list_saved_locations. An agent can tell what this returns without opening the schema.

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 two-step workflow: call with only restaurantId to see category names and counts, then narrow with category and/or query 'rather than reading the whole menu'. It also names the condition under which optionGroups/selectedOptions matter (items with choices) and the required=true constraint.

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