Skip to main content
Glama

Book Hotel

book_hotel
Idempotent

Book exactly one hotel room. The first 1Stay release does not support multi-room searches or reservations. Returns a secure checkout URL. This tool accepts no guest identity or payment fields. Name, email, phone, and payment details are collected on the secure checkout page.

Guest pays the hotel directly. Their credit card statement shows the hotel name, not 1Stay. Hotel's own confirmation number. Loyalty points apply automatically. The displayed total includes taxes and any applicable, itemized 1Stay Booking Fee.

Requires a rate_code from get_hotel_details, valid approximately 15 minutes. Expired codes are rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
guestsYesNumber of guests
check_inYesCheck-in date in YYYY-MM-DD format (e.g. 2026-05-06), no more than 340 days from today
hotel_idYesHotel ID from search or details
check_outYesCheck-out date in YYYY-MM-DD format (e.g. 2026-05-07)
rate_codeYesValid, unexpired rate code for the selected hotel, dates, and room
external_reference_idNoCaller-defined unique reference ID for idempotency and retrieval

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxesNo
nightsNo
statusYes
messageYes
check_inNo
currencyNo
subtotalNo
check_outNo
rate_planNo
room_typeNo
hotel_nameNo
booking_feeNo
booking_typeNo
checkout_urlNo
idempotency_hitNo
avg_nightly_rateNo
total_with_taxesNo
expires_in_minutesNo
cancellation_policyNo
confirmation_numberNo
booking_fee_currencyNo
external_reference_idNo
reward_points_eligibleNo

TDQS

A4.6/5.0
Behavior5/5

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

The description is exceptionally transparent about behavior beyond the annotations: it returns a checkout URL, accepts no payment/guest fields, states the guest pays the hotel directly, explains the merchant-of-record relationship and statement descriptor, notes automatic loyalty points, itemized fees, and a 15-minute rate-code validity with rejection of expired codes. These details substantially exceed what readOnlyHint/idempotentHint alone communicate.

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 front-loaded with the core action and key constraint: 'Book exactly one hotel room. The first 1Stay release does not support multi-room searches or reservations.' It is organized into three readable paragraphs covering scope, payment flow, and rate-code requirements. Some material (e.g., loyalty points and statement descriptor) is contextually useful but not strictly required for invocation, so it is slightly longer than minimal, yet every sentence earns its place.

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?

Given the tool has 6 parameters, a complete input schema, an output schema, and rich annotations, the description fills all important gaps: what the tool returns (checkout URL), what it does not collect (payment/guest info), how payment works, the rate-code prerequisite and expiration, and booking limitations. Nothing an agent needs to invoke this 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 100%, so baseline is 3. The description adds real semantic value for rate_code, specifying its source (get_hotel_details) and expiration behavior (approximately 15 minutes, expired codes rejected). It also clarifies that no guest identity or payment parameters exist, which prevents incorrect invocation. Other parameters like check_in/check_out and guests are already well documented in the schema, so additional description is not necessary.

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 action and resource: 'Book exactly one hotel room.' It also disambiguates scope by stating the release does not support multi-room reservations, distinguishes booking from lookups/cancellations via the secure checkout URL, and names the dependency on get_hotel_details. This leaves no ambiguity about what the tool does or how it differs from siblings.

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 to call this tool: it is the booking step that requires a valid rate_code from get_hotel_details, and it explains that guest identity and payment are handled on the secure checkout page, not in this call. It does not explicitly list exclusions or alternative tools (e.g., 'use cancel_booking to modify'), but the booking flow sequence and rate-code prerequisite are clear enough.

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.