Skip to main content
Glama

MenuNode

Look up a reservation

get_reservation
Read-onlyIdempotent

Look up a reservation by its confirmation code. allergy_plan (null = none declared) is the allergy the guest declared when booking and the kitchen's word on each dish they asked about: kitchen yes = the kitchen says it can make it without what they declared (say exactly that, repeating what they declared; never "safe" or "suitable", the guarantee is the restaurant's), no = it says it cannot, not_answered = no word yet. deposit (null = none) says whether the restaurant asked for a deposit, its status (waiting, reported, received, refunded, applied, kept, refunding, refund_failed), the amount, the method (transfer, or the provider: mercadopago or stripe) and, while it is still to pay, where to transfer it or payment_url to pay online (with refund_until, the last moment a cancel gives it back). Read only: only the restaurant marks a deposit received.

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": {
      "confirmation_code": "<confirmation_code>"
    },
    "name": "get_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_codeYes

Output Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
timeYesHH:MM, restaurant local time
notesYes
statusYes
depositYes#368: the deposit the restaurant asks to hold this booking; null = none (or, on create_reservation, not past the code yet: see deposit_amount). The guest pays the restaurant directly; only the restaurant marks it received
manage_urlYes
party_sizeYes
restaurantYes
allergy_planYes
customer_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations, the description clarifies that this is a read-only view and that only the restaurant can mark a deposit as received. It also adds useful interpretation of allergy_plan and deposit statuses, though it does not mention authentication, rate limits, or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the description then becomes a long run-on explanation of allergy and deposit field semantics. Much of that detail may belong in the output schema rather than in a one-parameter lookup description.

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?

For a simple one-parameter read tool with annotations and an output schema, the definition is complete enough to call correctly. However, it does not spell out usage context or confirmation-code format details.

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 0%, so the description must carry the meaning of confirmation_code. It does say the lookup is by confirmation code, but it does not explain format, case sensitivity, or where to obtain the code.

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?

The first sentence states a specific verb and resource: 'Look up a reservation by its confirmation code.' It is clearly distinct from mutation siblings such as cancel_reservation or change_reservation, though it does not explicitly name those alternatives.

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

Usage Guidelines2/5

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

The description gives no explicit guidance on when to use this lookup versus checking availability, changing, canceling, or confirming a reservation. Usage is only implied by the verb 'look up'.

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.