Skip to main content
Glama

Get hotel rates

anywayr_get_hotel_rates
Read-onlyIdempotent

Lists room offers for one hotel from an existing search, using exactly that search’s dates and guests. Does not hold a room. Effects: Stores offer snapshots and spends provider rate budget. Holds nothing.

Input Schema

NameRequiredDescriptionDefault
hotel_refYesAnywayr hotel reference (starts with htl_), as returned by anywayr_search_hotels.
search_refYesAnywayr search reference (starts with srch_), as returned by anywayr_search_hotels, anywayr_search_flights or anywayr_discover_flight_deals.
request_keyYesAny unique string of 16-128 characters you generate (letters, digits and . _ : -). Reuse the same key only to retry the exact same request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / search_ref / description
      Previous value: -"Anywayr search reference (starts with srch_), as returned by anywayr_search_hotels or anywayr_search_flights."New value: +"Anywayr search reference (starts with srch_), as returned by anywayr_search_hotels, anywayr_search_flights or anywayr_discover_flight_deals."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description goes further by disclosing two non-obvious effects: it stores offer snapshots and spends provider rate budget. The 'Does not hold a room' clause clarifies that no reservation is created. This is real value beyond the safety hints, though return/pagination behavior is not covered.

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 purpose, then effects, in a compact four-sentence block. Slightly repetitive at the end, where 'Does not hold a room' and 'Holds nothing' convey the same point, costing a little economy.

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 a 3-parameter tool with full schema coverage, rich annotations, and no output schema, the description covers purpose, precondition, and side effects adequately. Only the lack of any explicit routing to sibling tools leaves a minor gap.

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 the schema already documents all three parameters, making 3 the baseline. The description does add one useful nuance (search_ref supplies the dates and guests), but it says nothing about request_key's retry semantics beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Lists room offers for one hotel') and scopes it to an existing search with that search's dates and guests. This clearly separates it from anywayr_search_hotels (finding hotels) though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The prerequisite is stated ('from an existing search'), implying it should be called after a search, but there is no explicit when-to-use/when-not guidance or named alternative such as anywayr_get_offer. Usage is inferable rather than spelled out.

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