Skip to main content
Glama

Get live rates

get_rates
Read-only

Returns live rooms and prices for one hotel and a stay window, with a booking link for each. It queries a metered rate supplier and is limited to 12 calls a minute per client, so it fits a traveler who has chosen a hotel rather than browsing several. Booking links are time-limited and expire within minutes. A link opens a checkout the traveler completes with their own details and card; this tool does not reserve, hold or confirm a room. Returns a Markdown table (room, nightly, total, refundability, link). Hotels the supplier does not carry, sold-out dates and bad dates each return a plain sentence saying which; an over-limit call says how many seconds to wait.

Input Schema

NameRequiredDescriptionDefault
slugYesThe hotel slug.
adultsNoDefault 2.
checkinYesYYYY-MM-DD.
checkoutYesYYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/openWorld annotations: metered supplier quota with an exact per-minute limit, time-limited booking links that expire in minutes, and an explicit statement that it does not reserve, hold or confirm a room despite handing back checkout links. It even documents per-failure-mode responses (unsupported hotel, sold out, bad dates, over-limit with seconds-to-wait), which no annotation covers.

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-loads the core purpose in the first sentence and sequences the operational caveats (rate limit, expiry, no reservation) afterward. It is longer than most definitions, but nearly every clause carries decision-relevant information; only the phrasing is slightly dense, not padded.

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?

With no output schema and no annotation detail on returns, the description compensates fully: it specifies the Markdown table columns (room, nightly, total, refundability, link) and describes failure outputs as plain sentences. An agent has everything needed to call it and interpret the result.

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 slug, checkin, checkout and adults are already documented in the schema including the YYYY-MM-DD format and adults default of 2. The description confirms the 'one hotel and a stay window' shape but adds no syntax or format meaning beyond that, so the baseline 3 applies.

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 ('Returns live rooms and prices for one hotel and a stay window') and the ancillary deliverable ('a booking link for each'). It also scopes itself against browsing siblings via 'fits a traveler who has chosen a hotel rather than browsing several', so an agent can place it relative to search_hotels 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 Guidelines4/5

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

Gives a clear selection condition (single chosen hotel, not multi-hotel browsing) and discloses the throughput constraint (12 calls/minute) that governs how it should be called. It stops short of naming search_hotels or get_hotel as the alternatives by name, so routing is implied rather than explicit.

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