Skip to main content
Glama

MenuNode

Price a menu for a group

quote_group
Read-onlyIdempotent

Price a group meal (a birthday, a company dinner) from the restaurant's own menus for groups (get_restaurant_info.group_menus): for each one that takes this party_size on that date, total = price_per_person x party_size. It is the price the restaurant publishes today: nothing is saved or sent to the restaurant, it holds until valid_until and it does not lock the price for the event date. Nothing else is added or guessed: drinks, deposit, service and anything not in includes are listed in to_confirm. Pass date (YYYY-MM-DD, up to a year ahead) to check that day against each menu's own dates and weekdays, its notice_days and the restaurant's booking rules (booking: bookable, reason, free_times; reason party_size = too many people to book online, use the contact); a menu that starts later is priced for a date inside its dates. menu_id prices only one. status no_group_menu or no_fit = there is no published price for this group: give the diner the contact (or ask_restaurant) and never make one up. reserve_url opens the booking page with the party size (and date) filled in; nothing is booked by this call.

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": {
      "restaurant_slug": "<restaurant_slug>",
      "party_size": "<party_size>"
    },
    "name": "quote_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD on the restaurant's calendar, today to a year ahead (optional; without it, today's menus)
branchNoLocation of a restaurant with several (get_restaurant_info.locations[].branch, e.g. "palermo"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.
menu_idNoOne of get_restaurant_info.group_menus[].menu_id (optional; default all)
languageNoMenu language: en | es | pt | fr. A language the restaurant does not offer falls back to its own language.
party_sizeYesHow many people, the organiser included
restaurant_slugYes

Output Schema

NameRequiredDescriptionDefault
dateYesThe date asked for (YYYY-MM-DD), or null
quotesYes
statusYesquoted: at least one group menu takes this party size on that date (quotes). no_fit: none does (other_menus says why). no_group_menu: the restaurant has none: give the diner the contact for a quote
bookingYesnull = no date asked or the restaurant takes no online bookings. Otherwise the booking rules applied to this date and party size (same verdict as list_available_slots)
contactYes
messageYes
currencyYes
party_sizeYes
to_confirmYesWhat the quote does not cover and the diner confirms with the restaurant
other_menusYesGroup menus not priced for this request, and why
reserve_urlYesThe booking page with this party size (and date) filled in; null when the restaurant takes no online bookings or not for this many people
valid_untilYesquoted: ISO time the prices published today hold until (the end of the restaurant's today). Nothing is saved or sent and the price for the event date is not locked: ask again after it. null otherwise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint and idempotentHint, and the description reinforces this by stating nothing is saved, sent, or booked, and the price is not locked for the event date. It adds real behavioral context (valid_until, to_confirm for drinks/deposit/service, contact escalation for large parties) beyond the annotations, though it doesn't detail response field structure.

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 the core purpose and formula, then behavior, then edge cases. Dense and information-rich but the long parenthetical booking-rules clause is somewhat packed; still, nearly every phrase carries functional meaning.

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?

Covers pricing formula, date semantics, fallback behavior for missing menus, oversized parties, contact escalation, and that nothing is booked. With an output schema present and high schema coverage, this is complete enough for an agent to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high, but the description still adds meaning: date is checked against menus' own dates/weekdays, notice_days and booking rules, up to a year ahead; party_size triggers the too-many-people-to-book-online case; menu_id prices only one. branch is left to the schema, but overall it enriches parameter understanding.

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 and resource (price a group meal) and scopes it to the restaurant's published group menus, with the pricing formula spelled out (price_per_person x party_size). It distinguishes itself from siblings like get_menu/get_restaurant_info by making clear it only computes published prices and books nothing.

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?

Explicit about when this applies (a party for a group menu, optional date check) and what to do when it doesn't: status no_group_menu or no_fit means give the diner the contact or use ask_restaurant, never invent a price. It also points to reserve_url for booking and clarifies menu_id restricts to one menu.

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.