Skip to main content
Glama

retrieve_booking

Read-only

Verify guest identity to retrieve a reservation and resend the confirmation email. Requires full name and one verification factor.

Instructions

Find a reservation and resend the confirmation email. This is the guest-facing lookup tool — it enforces identity verification before any reservation information is accessed or confirmation emails resent.

REQUIRED — must collect ALL of the following before calling:

  1. Guest full name (first AND last name)

  2. At least ONE verification factor: email address used when booking, OR hotel confirmation number, OR last 4 digits of the card used to book (must also provide check-in date when using card verification)

Do NOT call this tool until you have the guest's full name AND at least one verification factor. If the guest can't provide any verification factor, you cannot look up their reservation — explain that this is for the security of their booking.

Does NOT return booking details in conversation — confirmation is sent to the email on file to protect guest privacy. To cancel, use cancel_booking instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
first_nameYesGuest first name on the reservation
last_nameYesGuest last name on the reservation
confirmation_numberNoHotel confirmation number
emailNoEmail address used when booking
last_four_cardNoLast 4 digits of the card used to book
check_in_dateNoCheck-in date (YYYY-MM-DD) — required with last_four_card
updated_emailNoIf provided and identity is verified, send confirmation to this email instead of the one on file. Use when guest typo'd their email at booking or can't access the original email.
Behavior4/5

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

The description adds significant behavioural context beyond annotations: it enforces identity verification, does not return booking details in conversation, and sends confirmation to email. This aligns with readOnlyHint and destructiveHint annotations. A minor missing detail is potential rate limits or logging, but overall transparent.

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?

The description is somewhat lengthy but well-structured with clear sections and bold key points. It front-loads the core purpose and provides conditional logic. Every sentence serves a purpose, though a slight reduction would improve conciseness.

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?

Given 7 parameters and no output schema, the description covers the workflow thoroughly: identity verification, email resending, and fallback behavior. The only missing aspect is a distinction from the sibling get_booking, which could mislead an agent about which to choose. Still, the tool's context is well handled.

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 100% (baseline 3), but the description adds value by explaining the verification factor groups, the requirement of check_in_date with last_four_card, and the purpose of updated_email. This goes beyond mere parameter descriptions, aiding correct invocation.

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 description clearly states the tool finds a reservation and resends the confirmation email, with a specific verb and resource. It is identified as a guest-facing lookup tool with identity verification, which distinguishes it from sibling cancel_booking. However, the sibling get_booking (likely an internal lookup) is not differentiated, so a slight gap prevents a 5.

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?

The description provides explicit when-to-use and prerequisites, including required fields (full name, at least one verification factor). It also instructs when not to use (for cancellation, use cancel_booking) and how to handle missing verification factors. This is comprehensive and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/STAYKER-COM/1Stay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server