Skip to main content
Glama

MenuNode

Ask the restaurant something the menu does not say

ask_restaurant
Idempotent

Ask the restaurant one short question its menu and get_restaurant_info do not answer (e.g. "Can the milanesa be baked instead of fried?", "Do you have a high chair?"). Check get_restaurant_info.faq first. If the restaurant already answered the same question, the answer comes back right away (status answered). Otherwise, when get_restaurant_info.takes_questions is true, the question waits up to 24 h for the restaurant (status asked or already_asked); its answer is then published in get_restaurant_info.faq, get_menu and llms.txt for everyone, never sent back to a person, so ask again or read faq later. status not_taking = the restaurant does not take questions this way right now: give the diner contact (phone, WhatsApp or email). The question is published only in the restaurant's own words; never put names, emails, phone numbers or links in it (refused).

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>",
      "question": "<question>"
    },
    "name": "ask_restaurant"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
languageNoLanguage of the question (en | es | pt | fr …), optional
questionYesOne question, in the diner's words, without personal data or links
restaurant_slugYes

Output Schema

NameRequiredDescriptionDefault
answerYesanswered: the restaurant's answer
statusYesanswered: the restaurant already answered the same question (answer). asked / already_asked: it waits for the restaurant until expires_at; the answer is published in get_restaurant_info.faq. not_taking: give the diner the contact
contactYes
messageYes
questionYesanswered: the question as the restaurant published it
expires_atYesasked / already_asked: ISO time the question stops waiting (24 h after it was first asked)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and idempotentHint=true; the description goes well beyond them by disclosing the asynchronous 24 h wait, that the answer is published publicly in faq/get_menu/llms.txt rather than returned to a person, and the full status vocabulary (answered, asked, already_asked, not_taking, refused). It also states the privacy rule that questions containing names, emails, phones or links are refused, which no structured field conveys.

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?

One dense paragraph that is front-loaded with the purpose and the faq-first rule before the outcome statuses. It is information-rich rather than padded, though the parenthetical status list is packed tightly enough to be slightly harder to scan than separate sentences would be.

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?

For a four-parameter write tool with an output schema, this covers everything an agent needs: preconditions, async timing, publication destination, all status outcomes, and the privacy filter. Nothing material about calling it correctly is missing.

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 75%, and the description usefully reinforces the question parameter's constraints (one short question, diner's own words, no personal data or links, else refused). It adds nothing for branch or language, but the branch semantics are already fully spelled out in the schema, so the gap is minor.

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 ("Ask the restaurant one short question") and immediately scopes it against siblings by excluding what "its menu and get_restaurant_info" already answer, with concrete example questions. An agent can tell this apart from get_restaurant_info, get_menu or send_event_inquiry without opening any 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?

It gives an explicit decision order: check get_restaurant_info.faq first, then call only when get_restaurant_info.takes_questions is true, and on status not_taking hand the diner phone/WhatsApp/email instead. Both the when-to-use and the when-not-to-use path are stated rather than inferred.

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.