Skip to main content
Glama

get_menu

Read-only

Fetches a restaurant’s menu with item IDs, prices, availability, promotions, and order-ahead windows so users can choose items and build a cart.

Instructions

Fetch a restaurant's menu: returns menu_id (needed for cart adds and item details), store_is_open, the store's active promotions and which items qualify, order-ahead/schedule-ahead windows, and items with item_id, name, description, price, category, has_required_modifiers, orderability, and popularity (is_popular, popularity_rank, popular_modifications). Large menus are capped — pass filter (case-insensitive substring on name/description/category) to narrow.

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": {
      "store_id": "<store_id>",
      "intent": "<intent>"
    },
    "name": "get_menu"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoOptional substring filter, e.g. 'chicken'
intentYesOne short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected.
store_idYesStore ID from search_restaurants or order history
address_idNoSaved address to price promos against (default: the user's default address). Promo eligibility depends on the delivery location

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / address_id
      Added value: +{
      +  "description": "Saved address to price promos against (default: the user's default address). Promo eligibility depends on the delivery location",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnly/openWorld/non-destructive, so the bar is lower. The description nonetheless adds non-obvious behavior: large menus are capped, filter matching is case-insensitive on name/description/category, and promo eligibility depends on the delivery address. It doesn't discuss auth or rate limits, but for a read tool that's a minor gap.

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?

The description is a single dense paragraph, but it is front-loaded with the action and payoff (menu_id) and every clause contributes usable information. It is slightly long, but not padded.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does so thoroughly: top-level fields, promotions, scheduling windows, item attributes, and popularity signals are all listed. Combined with the capping and filter behavior, an agent has everything needed to call this correctly.

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?

Schema coverage is 100%, so baseline is 3. The description still adds semantic value beyond the schema by explaining that filter is a case-insensitive substring across name/description/category (the schema only gives a simple example) and by tying menu_id to cart adds and item details.

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?

The description opens with a specific verb and resource ('Fetch a restaurant's menu') and then enumerates the exact return payload including menu_id, store_is_open, promotions, order-ahead windows, and item fields. It clearly distinguishes this from both search_restaurants (which would find stores) and get_restaurant_item_details (which the menu_id feeds into).

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

Usage Guidelines4/5

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

It signals the tool's downstream role ('menu_id needed for cart adds and item details') and gives a practical condition for using the filter on large menus. However, it never explicitly names a sibling alternative or states when-not to use this tool, stopping short of a 5.

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