Skip to main content
Glama

Live room rates for a hotel

get_live_rates
Read-only

Live bookable room offers for one hotel and stay dates: total all-in price (in AED by default, or the currency you pass), board (breakfast etc.), refundability and exact free-cancellation deadlines. For Goa, total_all_in counts GST, and any part the hotel collects at check-in is itemised separately (collected_by_hotel_at_checkin). The booking_url takes a human straight to this hotel on fostay.com to complete the booking.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hotel_id": "<hotel_id>",
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "get_live_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNoAdult guests (default 2)
checkinYesCheck-in date, YYYY-MM-DD
checkoutYesCheck-out date, YYYY-MM-DD
childrenNoChildren's ages at check-in, e.g. [7, 9]. IMPORTANT for families: child-inclusive rates price kids' breakfast and extras upfront — always pass ages when children travel.
currencyNoCurrency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged.
hotel_idYesHotel id from search_stays (e.g. lp6556acf7)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged."
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "AED",
      -  "INR",
      -  "EUR",
      -  "AUD",
      -  "SGD",
      -  "NZD"
      -]New value: +[
      +  "AED",
      +  "INR",
      +  "USD",
      +  "EUR",
      +  "GBP",
      +  "AUD",
      +  "SGD",
      +  "NZD",
      +  "THB",
      +  "TRY"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."
  3. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged.",
      +  "enum": [
      +    "AED",
      +    "INR",
      +    "EUR",
      +    "AUD",
      +    "SGD",
      +    "NZD"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantial domain behavior on top: AED default with override, the price quoted equals the price charged, Goa GST is included in total_all_in, hotel-collected portions are itemised under collected_by_hotel_at_checkin, and booking_url is a human-facing link to complete the booking. That is well beyond the annotation surface.

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?

Three dense sentences, front-loaded with the resource and its fields, followed by the two region/currency caveats and the booking_url note. Every clause carries information, though the currency default is restated from the schema and could be trimmed.

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, the description carries the burden of describing returns and does so thoroughly: total_all_in, board, refundability, exact free-cancellation deadlines, GST treatment, and the check-in-collected split. An agent knows what it will get and how to hand the result to a user for booking.

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 coverage is 100%, so parameters are already documented, including the currency default and the child-age guidance. The description reinforces the currency default and adds that the quoted price is the charged price, but contributes little parameter meaning the schema does not already carry — 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 — 'Live bookable room offers for one hotel and stay dates' — and enumerates what the offer consists of (all-in price, board, refundability, cancellation deadlines). An agent can immediately tell this is the rate-shopping step, distinct from search_stays (which supplies hotel_id) and prepare_booking.

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?

Scope is implied by 'for one hotel and stay dates' and the booking_url sentence hints this is not the booking-completion tool, but no sibling is named and there is no explicit when-to-use/when-not guidance relative to prepare_booking or booking_status. The agent must infer the sequence from sibling names alone.

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