Skip to main content
Glama

Get hotel details

get_hotel_details
Read-only

Get full property details (description, amenities, photos, policies, location) for a hotel, identified by its ref from search_hotels (or its supplierCode + supplierHotelId).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoThe hotel `ref` from search (e.g. 'tbo:1360717').
roomsNoRooms (default 1).
adultsNoAdults (default 2).
checkInNoCheck-in date, ISO 8601 (YYYY-MM-DD). Pass the guest's dates when known: some suppliers only return a hotel that has rooms for them.
checkOutNoCheck-out date, ISO 8601 (YYYY-MM-DD).
childrenNoChildren (default 0).
supplierCodeNoAlternative to `ref`: supplier code.
supplierHotelIdNoAlternative to `ref`: supplier hotel id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / adults
      Added value: +{
      +  "description": "Adults (default 2).",
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / checkIn
      Added value: +{
      +  "description": "Check-in date, ISO 8601 (YYYY-MM-DD). Pass the guest's dates when known: some suppliers only return a hotel that has rooms for them.",
      +  "type": "string"
      +}
    • addedInput schema / properties / checkOut
      Added value: +{
      +  "description": "Check-out date, ISO 8601 (YYYY-MM-DD).",
      +  "type": "string"
      +}
    • addedInput schema / properties / children
      Added value: +{
      +  "description": "Children (default 0).",
      +  "maximum": 6,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rooms
      Added value: +{
      +  "description": "Rooms (default 1).",
      +  "maximum": 9,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that this returns the full property record and lists its sections, which is real context given there is no output schema. It omits the supplier-dependent date sensitivity, though that is carried in the schema rather than the description.

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?

One sentence, front-loaded with the action and outcome, with the identification mechanism and alternative deferred to the clause that follows. No filler and nothing that repeats the tool title verbatim.

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?

For an 8-parameter read-only, open-world lookup with no output schema, the description supplies the returned field set and the origin of the key identifier, which is what an agent needs to call it correctly. Minor residual gap: it does not note whether pricing or live availability is included in the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across all 8 parameters, so the schema already documents ref, dates, occupancy, and the supplierCode/supplierHotelId alternative. The description restates the identification scheme but adds no format, default, or exclusivity rules beyond what the schema provides, making the 3 baseline appropriate.

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?

States a specific verb (Get) and resource (hotel details) and enumerates the payload the caller receives (description, amenities, photos, policies, location). It also identifies the sibling that produces the `ref` (search_hotels), so the agent can position the tool within the hotel flow without opening the schema.

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 establishes the prerequisite — obtain `ref` from `search_hotels` — and offers the supplierCode + supplierHotelId fallback for identification. It does not explicitly state when NOT to use it (e.g., vs. get_rooms for availability), but the context is clear enough to route correctly.

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