Skip to main content
Glama

hotels_rates

Read-only

Fetch one Hotels.com property's rates and availability for check-in/check-out dates. Supply the global properties[].id from hotels_search, not its legacy /ho/ URL ID; use hotels_search to find properties and hotels_property for static details.

Input Schema

NameRequiredDescriptionDefault
adultsNoAdult guests, 1-9; omitted or zero uses the default 2.
localeNoLanguage/country locale, default en_US.
check_inNoRequired check-in date in YYYY-MM-DD format.
currencyNoPrice currency code, default USD.
check_outNoRequired check-out date in YYYY-MM-DD format, after check_in.
property_idNoRequired global property identifier from hotels_search properties[].id, distinct from the legacy /ho<id>/ URL identifier.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / adults / description
      Added value: +"Adult guests, 1-9; omitted or zero uses the default 2."
    • addedInput schema / properties / check_in / description
      Added value: +"Required check-in date in YYYY-MM-DD format."
    • addedInput schema / properties / check_out / description
      Added value: +"Required check-out date in YYYY-MM-DD format, after check_in."
    • addedInput schema / properties / currency / description
      Added value: +"Price currency code, default USD."
    • addedInput schema / properties / locale / description
      Added value: +"Language/country locale, default en_US."
    • addedInput schema / properties / property_id / description
      Added value: +"Required global property identifier from hotels_search properties[].id, distinct from the legacy /ho<id>/ URL identifier."
  2. First observed

TDQS

A4.3/5.0
Behavior3/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 and live-data nature are covered structurally. The description adds the ID-origin caveat, which is useful, but says nothing about freshness/latency of pricing, rate limits, or how availability is expressed. With annotations carrying the safety burden, this is adequate but not rich.

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?

Two sentences, zero waste. Purpose is front-loaded, then the highest-risk pitfall (wrong ID) and the routing to sibling tools follow in order of importance.

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?

An output schema exists, so return values need not be explained, and annotations cover safety. The description supplies purpose, the ID precondition, and sibling routing — everything needed to call this correctly given the surrounding structured data.

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%, so all six parameters (dates, adults, locale, currency, property_id) are already documented. The description's note about the global vs legacy ID duplicates the schema's own property_id description, adding no new semantic detail. Baseline 3 is 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 (Fetch) and resource (rates and availability) scoped to one property and explicit check-in/check-out dates. It is immediately distinguishable from hotels_search (discovery) and hotels_property (static details), both of which it names.

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 prescribes the workflow: use hotels_search to find properties, then this tool for rates/availability, and hotels_property for static details. It also states the precondition for the ID (global properties[].id, not the legacy /ho<id>/ URL ID), which is exactly the guidance an agent needs before invoking.

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.