Skip to main content
Glama

Get Booking

get_booking
Read-only

Look up a reservation exclusively by the hotel confirmation number shown in the guest's confirmation email. Internal Stayker booking IDs are never accepted or disclosed by MCP. Returns full booking details including hotel, dates, guest info, rate, and status.

Anonymous access requires a verification_token issued by lookup_booking and scoped to a single booking. Without a valid token, no booking data is returned. Developers authenticated with their own API key do not need a token; their access is scoped to their own bookings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verification_tokenNoBooking-scoped verification token required for anonymous access. Developer API key-authenticated access does not require it.
confirmation_numberYesHotel confirmation number shown in the guest's confirmation email

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomNo
hotelNo
guestsNo
nightsNo
statusNo
pricingNo
check_inNo
check_outNo
created_atNo
booking_typeYes
cancellationNo
action_handoffYes
available_actionsYes
confirmation_numberNo
reward_points_eligibleYes

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavioral detail beyond the annotations: it explains that internal booking IDs are never accepted, that anonymous access requires a verification_token from lookup_booking scoped to a single booking, and that developer-authenticated access is scoped to their own bookings. It also states that no booking data is returned without a valid token. This gives the agent a clear model of the tool's access and failure behavior.

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 concise, front-loaded with the core purpose and key constraint, and then provides necessary authentication context. Every sentence adds useful information without redundancy or filler.

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?

With an output schema present, the description does not need to enumerate return fields, but it still summarizes what is returned. It covers input semantics, authentication modes, scoping, and failure conditions, making the tool's behavior sufficiently complete for an agent to invoke it 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?

Although the schema already describes both parameters, the description adds important meaning beyond the schema: it specifies that verification_token is issued by lookup_booking, is booking-scoped, and is required for anonymous access only. It also reinforces that confirmation_number is specifically the hotel confirmation from the guest's email and not an internal ID.

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 clearly states the tool's function: looking up a reservation by the hotel confirmation number and returning full booking details. It also draws an explicit boundary by stating that internal Stayker booking IDs are never accepted or disclosed, which differentiates it from related lookup flows.

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 indicates this tool is for retrieving booking details using the guest's hotel confirmation number, and it gives clear context about authentication requirements and scoping. It does not explicitly say when to use an alternative sibling tool, but the purpose is specific enough that an agent can infer when to select it.

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.