Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as MAQAMI Travel. If you published it, claim ownership there.

Search hotel rates

post_hotels_rates
Read-only

Overview

Search for hotel rates and availability across multiple hotels. This is your primary endpoint for finding bookable hotel rooms with real-time pricing.

When to Use

  • Display hotel listings with prices on your search results page

  • Show detailed rate options for specific hotels users are viewing

  • Support multi-room bookings for families or groups

  • Filter hotels by location, amenities, ratings, or AI-powered semantic search

What You Get

  • Real-time rates with availability and pricing

  • Multiple room options per hotel, sorted by price

  • Complete booking details including cancellation policies, meal plans, and room types

  • Hotel information (name, photos, address, ratings) when searching by filters

Key Features

  • Multiple search methods: Search by hotel IDs, city/country, coordinates, Place ID, IATA code, or natural language (AI search)

  • Flexible filtering: Filter by star rating, facilities, hotel chains, accessibility, and more

  • Multi-room support: Book multiple rooms with different guest configurations in one request

  • Performance optimized: Default limit of 200 hotels (expandable to 5,000), recommended timeout of 6-12 seconds

  • Price consistency: Optional sessionId holds the lowest-priced room-mapped offer of each hotel for the hotel page within a user session (accounts with price consistency enabled; see Multi-hotel and single-hotel consistency)

Quick Start

Required fields: checkin, checkout, currency, guestNationality, occupancies, plus one location method (hotel IDs, city/country, coordinates, Place ID, or IATA code)

Tip: When searching by filters (like aiSearch or cityName), hotel data is automatically included. For direct hotel ID searches, set includeHotelData=true to include hotel names and photos.

Price consistency: Generate a unique sessionId per user search session and include it on every rates request in that session, using the same checkin, and checkout.

Multi-hotel and single-hotel consistency

A multi-hotel search and a search for one of those hotels are independent searches. Unless an offer is held through price consistency, as described below, the same hotel can return different rates in each, even with identical parameters, so an offer from a multi-hotel response may not appear in a later single-hotel response. Common reasons:

  • Rates considered per hotel: when a request covers 50 or more hotels (listed in hotelIds or resolved from a location search), a high maxRatesPerHotel is currently reduced (see that field). A single-hotel request keeps your value, so it can consider more rates.

  • Room mapping: when room mapping is on, each mapped room keeps only its best offers by price, board type and refundability, and most offers that cannot be mapped to a room are removed. A different set of input rates can therefore produce a different result.

  • Response timing: suppliers and other rate sources can respond differently, or at different times, from one call to the next.

  • Caching: a repeated identical multi-hotel request, including the same sessionId, can be answered from a short-lived cache. Single-hotel responses are not stored in that cache.

Keeping a listing price on the hotel page requires price consistency to be enabled on your account. Send the same sessionId, checkin and checkout on the multi-hotel search and on the single-hotel request. The multi-hotel search then holds, for each hotel, its lowest-priced room-mapped offer, and the single-hotel request returns that offer, while it can still be served, and no cheaper one. If the lowest offer in the listing is not room-mapped, the held offer can be a higher-priced one. A later multi-hotel search in the same session replaces the held offer of each hotel it can hold again; other hotels keep theirs until the hold ends. A multi-hotel response served from the short-lived cache does not create or renew a hold.

The hold applies to single-room searches only. It lasts for a limited time set for your account, starts with the first search of the session and is not extended by later searches in that session; a live search made after the hold has ended starts a new one. When no offer is held for a hotel, the single-hotel request returns live rates, and its lowest-priced room-mapped offer, if it has one, becomes the held offer for that session. Availability can still change, so treat prebook as the final confirmation of price.

Party, nationality and currency. The hold covers one room only, and the held offer is also returned when the single-hotel request asks for other adults or children in the room, another guestNationality or another currency than the search that created the hold. Its price stays the held one, converted to the requested currency. Prebook then re-checks that room for the request's own party and nationality, and fails if it is no longer offered for them; search again in that case.

Without sessionId. On accounts with session-less price consistency enabled, a single-hotel request without sessionId returns the offer held for that hotel, checkin and checkout by the latest multi-hotel search of your account, whichever session it belonged to. That hold has its own expiry: the time set for your account, counted from the search that held that hotel's offer, not from the first search of its session. A hotel first held late in a session can therefore stay held after that session's hold has ended. The party, nationality and currency rules above apply. On other accounts, a request without sessionId returns live rates.

For listing prices that need to be held, use this endpoint with multiple hotel IDs rather than /hotels/min-rates, which is not covered by price consistency.

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": {
      "occupancies": "<occupancies>",
      "currency": "<currency>",
      "guestNationality": "<guestNationality>",
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "post_hotels_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoThe zip code of the search location. This is a filter on top of the main query. Cannot be combined with aiSearch.
feedNoWhich feed to use when searching for rates. This applies only to accounts with multiple feeds enabled
sortNoSorting criteria for the results. Multiple criteria can be provided, processed in order. The default sorting is by top picks (weighted by search popularity, review quality, and content completeness). Use 'revenue' to sort by historical booking value and monetary performance.
limitNoThe maximum number of results to return. Defaults to 200, max allowed is 5000.
offsetNoThe number of results to skip for pagination. This paginates the passed hotels not the results returned so the actual returned results will vary.
radiusNoThe search radius in meters for location-based searches. Pairs with latitude and longitude. Required with coordinates when using aiSearch for area-scoped semantic search.
streamNoIf true, enables streaming mode where response data is sent incrementally instead of as a single payload.
checkinYesThe check-in date in YYYY-MM-DD format (ISO 8601).
placeIdNoThe unique Place ID of the search location. Instead of using hotel IDs, pass a Place ID to get all the hotels in the specified region. Cannot be combined with aiSearch. This is a valid main query.
timeoutNoThe maximum time in seconds before the request times out. This is when the live request for rates will cut off responses; it will take a few more ms to return the value.
aiSearchNoAI-powered hotel search based on a natural language query. Uses semantic search to find hotels matching the query intent. You can scope results by passing cityName and/or countryCode (hard filters), or latitude + longitude + radius in meters (hard area filter). Location can also be included in the aiSearch string (e.g. '5 star hotels in Paris'). Cannot be combined with hotelIds, placeId, iataCode, or zip — the request returns 400. For exact brand matching without semantic search, drop aiSearch and use cityName + countryCode + hotelName. This is a valid main query.
bedTypesNoFilter results by bed types extracted from room names. Only rates from rooms matching the specified bed types will be returned. Example values: 'double', 'twin', 'king', 'queen', 'single'.
chainIdsNoAn array of hotel chain IDs to filter the search results. This is a filter on top of the main query.
checkoutYesThe check-out date in YYYY-MM-DD format (ISO 8601).
cityNameNoThe name of the city to search for hotels in. Pairs with countryCode to do a country/city search. With aiSearch, cityName is forwarded as a hard filter on semantic search so brand or vibe queries stay in that city.
currencyYesThe currency in which the prices will be displayed.
hotelIdsNoAn array of hotel IDs to search for availability and pricing. These are usually pulled from MAQAMI LLC's `get_data_hotels` tool. Cannot be combined with aiSearch.
iataCodeNoThe IATA code of the search location, typically an airport code. Instead of using hotel IDs, you can search by IATA code. Cannot be combined with aiSearch. This is a valid main query.
latitudeNoThe latitude coordinate for location-based hotel searches. Instead of using hotel IDs, you can search by lat/long and a radius around that spot. With aiSearch, latitude, longitude, and radius together constrain semantic search to that area (hard radius). This is a valid main query.
boardTypeNoFilter results by board type(s). Can be a single value (e.g., 'BI') or comma-separated values (e.g., 'BI,HB') for OR logic. Example values: RO (Room Only), BI (Breakfast Included), HB (Half Board), FB (Full Board), AI (All Inclusive), DI (Dinner Included), LI (Lunch Included), BDI (Breakfast and Dinner Included), BLI (Breakfast and Lunch Included), LDI (Lunch and Dinner Included).
hotelNameNoA case-insensitive search for a hotel's name (e.g., 'Hilton').
longitudeNoThe longitude coordinate for location-based hotel searches. Pairs with latitude to do a lat/long search. Required with latitude and radius when using aiSearch for area-scoped semantic search.
minRatingNoThe minimum rating (on a scale of 0-5) required for hotels in search results. This is a filter on top of the main query.
sessionIdNoOptional client-generated session identifier for the user's search session. When your account has price consistency enabled, pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session; an offer is held only for a limited time: see Multi-hotel and single-hotel consistency in the endpoint description. On accounts enrolled in prebook at search, a single-hotel request that carries `sessionId` is prebooked while it is searched and returns only the offers the supplier confirmed, at the confirmed price. On an account with neither feature, `sessionId` does not hold or prebook any offer.
facilitiesNoAn array of facility IDs. Results will include hotels with at least one of these facilities by default. This is a filter on top of the main query.
starRatingNoAn array of hotel star ratings to include. Ratings are rounded to the nearest half-star (e.g., [3.5, 4.0, 4.5, 5.0]). This is a filter on top of the main query.
countryCodeNoThe country code in ISO 2-letter format (e.g., 'SG' for Singapore). Instead of using hotel IDs, you can search by country/city. With aiSearch, countryCode is forwarded as a hard filter on semantic search (pairs with cityName). This is a valid main query.
occupanciesYesAn array of objects specifying the number of guests per room. Required.
roomMappingNoEnable room mapping to retrieve the mappedRoomId for each room. This allows you to link a rate to its specific room by combining it with hotel details, providing access to room images and additional information
hotelTypeIdsNoAn array of hotel type IDs to filter the search results. This is a filter on top of the main query.
roomAmenitiesNoLegacy room-level amenity filter. Only rates from rooms that match the specified amenities will be returned. Use amenityFilterLogic to control flat AND/OR behavior. If roomAmenitiesFilter is provided, it takes precedence over this field.
loyaltyProgramNoLoyalty program identifier used to request loyalty-eligible rates from supported suppliers. When set, rates that support the program may return member pricing and benefits.
minReviewsCountNoThe minimum number of reviews a hotel must have to be included in results. This is a filter on top of the main query.
guestNationalityYesThe guest's nationality in ISO 2-letter country code format.
includeHotelDataNoIf `true`, includes hotel data (name, main photo, address, rating) in the response even when searching by direct hotel IDs. By default, hotel data is only included when searching by filters (e.g., using `aiSearch`, `countryCode`, `cityName`, etc.). Setting this to `true` enables hotel data inclusion for all search types.
maxRatesPerHotelNoThe number of room rates (offers) to return per hotel, sorted by price (cheapest first). When a hotel has more rates than this, the cheapest are kept, by the price returned in this response. On an account with multiple feeds, a request for several `feeds` applies the number to each feed, so a hotel can return up to that many rates per feed. Set to 1 to just get the cheapest rate for each hotel, this is helpful for listing pages: with 1, more rates are fetched per hotel and the cheapest one left after room mapping and the other rate filters (such as `boardType` or `refundableRatesOnly`) is returned. A value above 1 also limits the rates fetched per hotel, before room mapping and those filters, so a small value above 1 can consider fewer rates than 1 does. Increase it if you are missing rate types. When a request covers 50 or more hotels, a value above 5 is currently reduced to 5, or to the number of occupancies if that is higher. On such requests, a value above 5 behaves like 5.
amenityFilterLogicNoLegacy logic applied to roomAmenities. 'AND': room must have all specified amenities. 'OR': room must have at least one specified amenity. Ignored when roomAmenitiesFilter is provided.
refundableRatesOnlyNoIf true, only refundable rates (RFN) will be included in the response.
roomAmenitiesFilterNoGrouped room-level amenity filter. Use '-' for OR within a group and ',' for AND across groups. Example: '1-2,3-4' means (1 OR 2) AND (3 OR 4). If provided, this field takes precedence over roomAmenities and amenityFilterLogic.
loyaltyProgramDetailsNoLoyalty membership details forwarded to supported suppliers to unlock member rates and benefits. Provide one entry per loyalty program membership.
strictFacilityFilteringNoIf enabled, only hotels with all specified facilities will be returned.
advancedAccessibilityOnlyNoIf true, only hotels with advanced accessibility features will be returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / feed / description
      Previous value: -"Which rate feed to search. Leave unset to use the default feed."New value: +"Which feed to use when searching for rates. This applies only to accounts with multiple feeds enabled"
    • changedInput schema / properties / hotelIds / description
      Previous value: -"An array of hotel IDs to search for availability and pricing. Get them from `get_data_hotels` or `get_data_hotel_search`. Cannot be combined with aiSearch."New value: +"An array of hotel IDs to search for availability and pricing. These are usually pulled from MAQAMI LLC's `get_data_hotels` tool. Cannot be combined with aiSearch."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Optional client-generated session identifier for the user's search session. Pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session; an offer is held only for a limited time: see Multi-hotel and single-hotel consistency in the endpoint description. On accounts enrolled in prebook at search, a single-hotel request that carries `sessionId` is prebooked while it is searched and returns only the offers the supplier confirmed, at the confirmed price. On an account with neither feature, `sessionId` does not hold or prebook any offer."New value: +"Optional client-generated session identifier for the user's search session. When your account has price consistency enabled, pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session; an offer is held only for a limited time: see Multi-hotel and single-hotel consistency in the endpoint description. On accounts enrolled in prebook at search, a single-hotel request that carries `sessionId` is prebooked while it is searched and returns only the offers the supplier confirmed, at the confirmed price. On an account with neither feature, `sessionId` does not hold or prebook any offer."
  2. Changed2 schema fields changed
    • changedInput schema / properties / maxRatesPerHotel / description
      Previous value: -"The number of room rates to return per hotel, sorted by price (cheapest first). Set to 1 to just get the cheapest rate for each hotel, this is helpful for listing pages. Try increasing this if you are missing rate types, and be aware that the cap is applied before room mapping."New value: +"The number of room rates (offers) to return per hotel, sorted by price (cheapest first). When a hotel has more rates than this, the cheapest are kept, by the price returned in this response. On an account with multiple feeds, a request for several `feeds` applies the number to each feed, so a hotel can return up to that many rates per feed. Set to 1 to just get the cheapest rate for each hotel, this is helpful for listing pages: with 1, more rates are fetched per hotel and the cheapest one left after room mapping and the other rate filters (such as `boardType` or `refundableRatesOnly`) is returned. A value above 1 also limits the rates fetched per hotel, before room mapping and those filters, so a small value above 1 can consider fewer rates than 1 does. Increase it if you are missing rate types. When a request covers 50 or more hotels, a value above 5 is currently reduced to 5, or to the number of occupancies if that is higher. On such requests, a value above 5 behaves like 5."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Optional client-generated session identifier that ensures price consistency for the user's search session. Pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session."New value: +"Optional client-generated session identifier for the user's search session. Pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session; an offer is held only for a limited time: see Multi-hotel and single-hotel consistency in the endpoint description. On accounts enrolled in prebook at search, a single-hotel request that carries `sessionId` is prebooked while it is searched and returns only the offers the supplier confirmed, at the confirmed price. On an account with neither feature, `sessionId` does not hold or prebook any offer."
  3. Changed2 schema fields changed
    • addedInput schema / properties / sort / items / properties / direction / description
      Added value: +"Sort direction (e.g. ascending would sort prices by cheapest first when using 'price')."
    • addedInput schema / properties / sort / items / properties / field / description
      Added value: +"Criteria to sort by. 'top_picks' (default) ranks by search popularity, review quality, and content completeness. 'price' sorts by room rate. 'revenue' ranks by historical booking value and monetary performance."
  4. Changed10 schema fields changed
    • changedInput schema / properties / aiSearch / description
      Previous value: -"AI-powered hotel search based on a natural language query. Uses semantic search to find hotels matching the query intent. Examples: 'Romantic getaway with Italian vibes in London near the London Eye', 'hotels near Paris'. This is a valid main query."New value: +"AI-powered hotel search based on a natural language query. Uses semantic search to find hotels matching the query intent. You can scope results by passing cityName and/or countryCode (hard filters), or latitude + longitude + radius in meters (hard area filter). Location can also be included in the aiSearch string (e.g. '5 star hotels in Paris'). Cannot be combined with hotelIds, placeId, iataCode, or zip — the request returns 400. For exact brand matching without semantic search, drop aiSearch and use cityName + countryCode + hotelName. This is a valid main query."
    • changedInput schema / properties / cityName / description
      Previous value: -"The name of the city to search for hotels in. Pairs with countryCode to do a country/city search."New value: +"The name of the city to search for hotels in. Pairs with countryCode to do a country/city search. With aiSearch, cityName is forwarded as a hard filter on semantic search so brand or vibe queries stay in that city."
    • changedInput schema / properties / countryCode / description
      Previous value: -"The country code in ISO 2-letter format (e.g., 'SG' for Singapore). Instead of using hotel IDs, you can search by country/city. This is a valid main query."New value: +"The country code in ISO 2-letter format (e.g., 'SG' for Singapore). Instead of using hotel IDs, you can search by country/city. With aiSearch, countryCode is forwarded as a hard filter on semantic search (pairs with cityName). This is a valid main query."
    • changedInput schema / properties / hotelIds / description
      Previous value: -"An array of hotel IDs to search for availability and pricing. Get them from `get_data_hotels` or `get_data_hotel_search`."New value: +"An array of hotel IDs to search for availability and pricing. Get them from `get_data_hotels` or `get_data_hotel_search`. Cannot be combined with aiSearch."
    • changedInput schema / properties / iataCode / description
      Previous value: -"The IATA code of the search location, typically an airport code. Instead of using hotel IDs, you can search by IATA code. This is a valid main query."New value: +"The IATA code of the search location, typically an airport code. Instead of using hotel IDs, you can search by IATA code. Cannot be combined with aiSearch. This is a valid main query."
    • changedInput schema / properties / latitude / description
      Previous value: -"The latitude coordinate for location-based hotel searches.  Instead of using hotel IDs, you can search by lat/long and a radius around that spot. This is a valid main query."New value: +"The latitude coordinate for location-based hotel searches. Instead of using hotel IDs, you can search by lat/long and a radius around that spot. With aiSearch, latitude, longitude, and radius together constrain semantic search to that area (hard radius). This is a valid main query."
    • changedInput schema / properties / longitude / description
      Previous value: -"The longitude coordinate for location-based hotel searches. Pairs with latitude to do a lat/long search."New value: +"The longitude coordinate for location-based hotel searches. Pairs with latitude to do a lat/long search. Required with latitude and radius when using aiSearch for area-scoped semantic search."
    • changedInput schema / properties / placeId / description
      Previous value: -"The unique Place ID of the search location. Instead of using hotel IDs, pass a Place ID to get all the hotels in the specified region. This is a valid main query."New value: +"The unique Place ID of the search location. Instead of using hotel IDs, pass a Place ID to get all the hotels in the specified region. Cannot be combined with aiSearch. This is a valid main query."
    • changedInput schema / properties / radius / description
      Previous value: -"The search radius in meters for location-based searches. Pairs with latitude to do a lat/long search."New value: +"The search radius in meters for location-based searches. Pairs with latitude and longitude. Required with coordinates when using aiSearch for area-scoped semantic search."
    • changedInput schema / properties / zip / description
      Previous value: -"The zip code of the search location. This is a filter on top of the main query."New value: +"The zip code of the search location. This is a filter on top of the main query. Cannot be combined with aiSearch."
  5. Changed3 schema fields changed
    • changedInput schema / properties / feed / description
      Previous value: -"Which feed to use when searching for rates. This applies only to accounts with multiple feeds enabled"New value: +"Which rate feed to search. Leave unset to use the default feed."
    • changedInput schema / properties / hotelIds / description
      Previous value: -"An array of hotel IDs to search for availability and pricing. These are usually pulled from https://docs.MAQAMI.travel/reference/get_data-hotels."New value: +"An array of hotel IDs to search for availability and pricing. Get them from `get_data_hotels` or `get_data_hotel_search`."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Optional client-generated session identifier that ensures price consistency for the user's search session. When your account has price consistency enabled, pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session. Has no effect when price consistency is not enabled for your account."New value: +"Optional client-generated session identifier that ensures price consistency for the user's search session. Pass the same `sessionId` with the same `checkin` and `checkout` across related requests in that session."
  6. Changed1 schema field changed
    • removedInput schema / properties / margin
      Removed value: -{
      -  "description": "Override the markup percentage for this specific request. When provided, this value takes precedence over your account-level margin setting, allowing you to dynamically adjust pricing based on your business logic, customer segments, or other factors. Specified as a percentage number (e.g., `10` for 10% commission).",
      -  "type": "number"
      -}
  7. Changed1 schema field changed
    • changedInput schema / properties / hotelIds / description
      Previous value: -"An array of hotel IDs to search for availability and pricing. These are usually pulled from https://docs.liteapi.travel/reference/get_data-hotels."New value: +"An array of hotel IDs to search for availability and pricing. These are usually pulled from https://docs.MAQAMI.travel/reference/get_data-hotels."
  8. Changed1 schema field changed
    • changedInput schema / properties / maxRatesPerHotel / description
      Previous value: -"The number of room rates to return per hotel, sorted by price (cheapest first). Set to 1 to just get the cheapest rate for each hotel, this is helpful for listing pages."New value: +"The number of room rates to return per hotel, sorted by price (cheapest first). Set to 1 to just get the cheapest rate for each hotel, this is helpful for listing pages. Try increasing this if you are missing rate types, and be aware that the cap is applied before room mapping."
  9. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/not-idempotent; the description goes far beyond by disclosing caching of repeated multi-hotel requests, supplier timing variance, the price-consistency hold lifetime and its party/nationality/currency edge cases, and the reduction of maxRatesPerHotel to 5 above 50 hotels. It also states the practical consequence of idempotentHint=false: identical inputs can legitimately return different rates.

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?

Well front-loaded with Overview, When to Use, What You Get, and Quick Start, but it is roughly 900 words for a search call and repeats the price-consistency story across four separate sections (Key Features, Quick Start, Multi-hotel consistency, and the sessionId schema field). The hold semantics are genuinely relevant but could be compressed substantially.

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?

For a 42-parameter, open-world search with no output schema, it supplies purpose, prerequisites, required fields, return content ("What You Get": rates, room options, cancellation policies, hotel data), performance guidance (200 default / 5,000 max, 6-12s timeout), and the caching/consistency model. Nothing material an agent needs to call it correctly appears missing.

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 100%, so the schema already carries the baseline; the description nonetheless adds non-obvious semantics, notably why maxRatesPerHotel=1 can consider more rates than a small value above 1, how sessionId interacts with prebook-at-search, and the includeHotelData tip for direct ID searches. It does not walk through all 42 parameters, but the high-risk ones are covered.

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?

Opens with a specific verb and resource ("Search for hotel rates and availability across multiple hotels") and explicitly positions itself as "your primary endpoint for finding bookable hotel rooms," which separates it from lookup siblings like get_data_hotels. It even names the near-alternative by path at the end ("use this endpoint with multiple hotel IDs rather than /hotels/min-rates").

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?

Has a dedicated "When to Use" list (listing pages, hotel detail pages, multi-room, filtered/AI search) plus a "Quick Start" enumerating required fields and the mutually exclusive location methods. It gives explicit exclusion rules (aiSearch cannot be combined with hotelIds, placeId, iataCode, zip) and routes listing-price holds to this endpoint instead of /hotels/min-rates.

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