Skip to main content
Glama

Get one hotel's full-stay rooms and prices

get_accommodation_offers
Read-onlyIdempotent

Returns one named or identified hotel's full-stay property data and live room offers for specified dates and occupancy. When the user refers to a hotel from a previous search_accommodations result by list position or partial name, copy its propertyId exactly if the match is unique; never shorten, combine, or use a placeholder ID. Ask for clarification if several hotels match. Use hotelName and optional destination when no exact propertyId is available. Includes wholesale room types and photos, breakfast, refundability, cancellation terms, public-rate comparisons, masked wholesale rate bands, and Brek links. Public-only room types are excluded. Wholesale options priced above their public comparison are marked sold_out without a price; the public comparison remains available. Single-room and multi-room stays are supported through aggregate occupancy plus optional per-room arrangements. Exact private wholesale prices are available on Brek.

Input Schema

NameRequiredDescriptionDefault
roomsNoNumber of rooms. Each room requires at least one adult.
adultsNoTotal adult guests.
currencyNoOnly specify a currency when the traveler explicitly requests one. Otherwise omit it so Brek can use the visitor country, then locale, then USD. Supported: EUR, USD, INR, GBP, AUD, CAD, ARS, TRY, COP, CLP, SEK, MXN, IDR, BRL.
timeZoneNoOptional IANA time-zone fallback for resolving relative stay dates; destination or property location takes precedence.
hotelNameNoExact hotel name when propertyId is unavailable.
dateIntentNoUse only when the user explicitly requests tonight. Resolves check-in as the current local date and check-out as the following date; otherwise provide both stay dates.
propertyIdNoExact Brek property ID copied from a previous search result or Brek stay URL. Do not guess, truncate, combine, or pass a placeholder; use hotelName if unsure.
checkinDateNoRequired with checkoutDate unless the user explicitly requested tonight. Use YYYY-MM-DD.
destinationNoOptional city or region for disambiguating hotelName.
checkoutDateNoRequired with checkinDate unless the user explicitly requested tonight. Use YYYY-MM-DD.
childrenAgesNoAge of each child at check-in.
roomArrangementsNoExact per-room occupancy. Example: room 1 has 2 adults and room 2 has 2 adults plus children ages 4 and 2 => [{adults:2,childrenAges:[],infants:0},{adults:2,childrenAges:[4,2],infants:0}]. Array length equals rooms, and aggregate guests equal adults and childrenAges.
availabilityTokenNo

Output Schema

NameRequiredDescriptionDefault
stayYes
offersYes
statusNo
propertyYes
propertyIdYes
priceDisclosureYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, so the bar is low, yet the description still adds substantial behavior: public-only room types are excluded, wholesale options above their public comparison are marked sold_out with no price while the public comparison remains, and exact private prices live on Brek. These are non-obvious result-shaping rules an agent needs to interpret output correctly.

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?

Front-loaded with the core action, then the ID-resolution rule, then result contents and edge cases. Dense and mostly waste-free, though the final three sentences on rate bands, exclusions, and Brek pricing could be tightened into a single bullet-like clause.

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 13-parameter tool with an output schema, this covers everything an agent must know: how to identify the hotel, how occupancy maps to rooms, and what quirks to expect in the returned offers. Nothing material is left to inference.

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 92%, so the baseline is 3, but the description adds real value beyond the schema: the propertyId provenance rule and the aggregate-occupancy-vs-per-roomArrangements relationship for multi-room stays. It does not re-explain currency, time zone, or dateIntent, which the schema already covers well, keeping it above baseline without being exhaustive.

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?

Specific verb and resource: returns one identified hotel's full-stay property data plus live room offers for given dates and occupancy. It is clearly distinguishable from search_accommodations (which produces the propertyId you pass in here) and implicitly from get_accommodation_details by its focus on priced room offers rather than general details.

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?

Explicitly routes between two identification paths: copy propertyId verbatim from a prior search_accommodations result when unique, otherwise fall back to hotelName plus optional destination. It also states the when-not case (ask for clarification on ambiguous matches) and forbids shortening/combining/placeholder IDs.

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.

Resources