Skip to main content
Glama

HotelUse - Hotel Metasearch

Hotel information

get_hotel
Read-onlyIdempotent

Get undated facts for one identified or named hotel: address, photos, descriptions, star classification, sourced guest ratings, consecutive positive review count, facilities, pet/parking policies and timezone. Optional fee amounts may be absent in the catalog. Accepts the exact HotelUse hotel_id from a previous result, or hotel_name and destination. A unique, confident match is required. A full hotel name may be used without a destination; add the destination when ambiguous. No stay dates, availability, live prices or room-level offers are included. Supply exactly one hotel_id or hotel_name. Omit unknown optional values; do not send null. Resolve a hotel follow-up by name or position against the most recent relevant ordered search list. Copy its hotel_id exactly; if unavailable, use hotel_name and destination. Ask only if the hotel is ambiguous. For room options or current room prices call get_room_rates directly, passing search_quote_session_id from that search to preserve its stay and preferences. The first get_room_rates response includes all returned room groups and every provider minimum in room_groups. For all room options and prices, use that complete list after one call; do not paginate raw supplier offers or re-query the same stay. The raw_offer_page count describes supplier rate plans, not additional room types. Users can expand room cards locally without another price query. For undated amenities, policies or other hotel facts call get_hotel directly. Do not repeat a destination search before either hotel-specific tool. Existing returned prices may be explained without refreshing when no new search or current quote is requested.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNoTraveler BCP 47 language, such as en-GB, independent of the destination.
regionNo
countryNo
hotel_idNoExact HotelUse hotel_id from a previous result.
hotel_nameNoHotel name when no exact hotel_id is available. A unique, confident match is required. A full hotel name may be used without a destination; add the destination when ambiguous.
destinationNoCity or region to disambiguate the hotel name.
user_localeNoOptional traveler locale from client context, such as en-GB. Independent of the hotel destination.
user_location_countryNoOptional traveler country from client context, used for default currency and residency. Independent of the hotel destination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered; the description adds genuine context beyond that: "A unique, confident match is required," optional fee amounts "may be absent in the catalog," and "do not send null." It stops short of describing what a failed/ambiguous match returns, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and purposeful in its first half, but the latter half drifts into lengthy instructions about get_room_rates pagination and raw_offer_page counts that belong to the sibling tool and dilute the call to action. Several sentences repeat the same idea (one call, don't re-query, expand cards locally).

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?

With 8 parameters, no output schema, and only 75% schema coverage, the description does the necessary work by enumerating the returned fact set and the match requirement. It is complete enough to call correctly; only the locale/region/country parameters and error behavior remain unexplained.

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 75%, and the description compensates by stating a cross-field constraint the schema cannot express: "Supply exactly one hotel_id or hotel_name," plus when destination is needed and to "Copy its hotel_id exactly." It does not explain the region/country/user_locale versus locale distinction, leaving part of the low-documented surface unaddressed.

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 and resource ("Get undated facts for one identified or named hotel") and enumerates the returned facts, immediately separating it from get_room_rates ("No stay dates, availability, live prices or room-level offers are included"). An agent can distinguish it from both siblings without opening a schema.

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?

Explicit routing rules: use get_hotel for undated facts, call get_room_rates for room options/prices, "Do not repeat a destination search before either hotel-specific tool," and resolve follow-ups against the most recent ordered search list. It even specifies the fallback path (hotel_id, else hotel_name + destination) and when to ask the user.

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