Skip to main content
Glama

Lookup Booking

lookup_booking
Read-only

Look up a reservation by verifying the guest's identity. Returns the confirmation number and booking summary in conversation.

Requires the guest's full name plus either the hotel confirmation number, or the last 4 digits of the card used to book together with the check-in date. An email address is not a verification factor. It may be supplied in addition and will be matched, but a name and an email alone will not return a reservation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoEmail address used when booking
last_nameYesGuest last name on the reservation
first_nameYesGuest first name on the reservation
check_in_dateNoCheck-in date (YYYY-MM-DD) — required with last_four_card
last_four_cardNoLast 4 digits of the card used to book
confirmation_numberNoHotel confirmation number

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hotelNo
statusYes
check_inNo
check_outNo
guest_nameNo
action_handoffYes
booking_statusNo
available_actionsNo
verification_tokenYes
confirmation_numberYes
verification_token_noteNo
confirmation_number_statusNo
verification_token_expires_atYes

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already declare this as a safe read operation (readOnlyHint=true, destructiveHint=false), so the description does not need to restate that. It adds valuable behavioral details: which identity factors are verified, that email is not a verification factor but is matched if supplied, and that results are returned 'in conversation'. No contradictions with annotations.

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

Conciseness5/5

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

The description is three tight sentences. The first sentence front-loads the core purpose and output. The second and third provide exact verification requirements and a negative case. Every sentence earns its place; no filler or repetition of schema details.

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 read-only lookup tool with an output schema, this description covers everything needed to call it correctly: required identity factors, accepted verification methods, optional fields, and the negative condition. It also indicates conversational output, so the agent knows what kind of response to expect. The safety profile is already covered by annotations.

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?

Although the input schema has 100% description coverage, the tool description adds crucial cross-parameter semantics: confirmation_number is an alternative to last_four_card combined with check_in_date, and email is optional and insufficient on its own. This combination logic is not encoded in the schema field descriptions, making the description highly valuable for correct invocation.

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 states a specific verb ('look up a reservation'), the resource ('reservation'), and adds a defining characteristic: verification of the guest's identity. It also clarifies the output type ('confirmation number and booking summary in conversation'), which distinguishes it from the sibling tools that act on bookings (book_hotel, cancel_booking, resend_confirmation) and from a generic fetch like get_booking.

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?

The description gives clear context for when this tool is appropriate: the guest must provide full name plus either a confirmation number or card digits with check-in date. It explicitly states a non-sufficient condition ('a name and an email alone will not return a reservation'). However, it does not explicitly name alternative tools or say when to prefer get_booking or another sibling, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation4/5

The tools mostly map to clear stages: search_hotels, get_hotel_details, book_hotel, cancel_booking, resend_confirmation, and search_tools are all distinct. The only close pair is get_booking and lookup_booking, but their documented distinction (token/confirmation-required details vs identity-based summary lookup) prevents actual confusion.

Naming Consistency5/5

All tools use a consistent verb_noun pattern in snake_case: search_hotels, book_hotel, cancel_booking, get_booking, lookup_booking. No mixed casing or vague names appear.

Tool Count5/5

Eight tools is well-scoped for a otel booking MCP: the functional surface covers the guest journey from search to confirmation resending, and search_tools is a useful mettool. The count is neither too thin nor bloated.

Completeness4/5

The core lifecycle is present: search, rate/details, book, lookup, view details, resend confirmation, and a cancellation handoff. Missing an explicit modify/change-booking operation and cancellation requires an external page, but these are present as product constraints rather than obvious coverage gaps.