Skip to main content
Glama

List hotels

get_data_hotels
Read-onlyIdempotent

Find and retrieve hotel listings by city, coordinates, place ID, or hotel IDs with names, addresses, ratings, amenities, and images for travel apps.

Instructions

Overview

Search and retrieve hotel listings based on various criteria. Get hotel metadata including names, addresses, ratings, amenities, and images for display in your application.

When to Use

  • Hotel listings - Display hotel search results

  • Location-based search - Find hotels by city, coordinates, or Place ID

  • Hotel discovery - Browse hotels in specific areas

  • Metadata retrieval - Get hotel information for display

What You Get

  • Hotel list - Matching hotels with complete metadata

  • Basic information - Names, addresses, ratings, and locations

  • Amenities - Available facilities and features

  • Images - Hotel photos for display

  • Identifiers - Hotel IDs for use in rate searches

Search Options

  • By city - Search hotels in a specific city

  • By coordinates - Find hotels near latitude/longitude with radius

  • By Place ID - Get hotels within a specific place boundary

  • By hotel IDs - Retrieve specific hotels by their IDs

Quick Start

Provide search criteria (city, coordinates+radius, placeId, or hotelIds). Returns matching hotels with complete metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNoZIP code of the location
limitNoSpecifies the maximum number of results to return. By default, this is set to 200, even if not explicitly defined. If a higher limit is specified, the maximum allowed is 5000 results
offsetNoSpecifies the number of rows to skip before starting to return rows
radiusNoradius in meters (min 1000m)
placeIdNoUnique ID of a place retrieved from the `/data/places` endpoint. When provided, the API fetches place details and searches for hotels within a 1km radius of the place location center, or a specific hotel when the placeId refers to a property. The response includes a `place` object containing the place information used in the search.
timeoutNorequest timeout in seconds
aiSearchNoSearch term for AI search. Uses semantic search to find hotels matching the query intent. Examples: 'Romantic getaway with Italian vibes in London near the London Eye', 'Hotels near the Eiffel tower'
chainIdsNoComma-separated list of hotel chain ids. e.g. '14675,14677'
cityNameNoName of the city
hotelIdsNoComma-separated list of hotel IDs (e.g., 'lp1897,lp1343') to fetch specific hotels by their IDs. This is a valid main query parameter that can be used instead of other search criteria.
languageNoThe language code, indicating in which language the results should be returned. e.g. 'fr'
latitudeNoLatitude geo coordinates
hotelNameNoName of the hotel (loose match, case-insensitive, e.g. 'hilton')
longitudeNoLongitude geo coordinates
minRatingNoMinimum rating of the hotel. e.g. 8.6
starRatingNoComma-separated list of star ratings. Note: star ratings have 2 allowed decimals '.0' and '.5' from 1 to 5. e.g. '3.5,4.0,5.0'
countryCodeNoCountry code ISO-2 code - example (SG)
facilityIdsNoComma-separated list of facilities. e.g. '1,2,3'
hotelTypeIdsNoComma-separated list of hotel types. e.g. '201,204,208'
lastUpdatedAtNoRetrieve only the hotels that have been updated since the provided date and time (using the RFC3339 format)
minReviewsCountNoMinimum number of reviews. e.g. 100
advancedAccessibilityOnlyNoIf `true`, only hotels with advanced accessibility will be returned
strictFacilitiesFilteringNoIf `true`, only hotels with all the specified facilities will be returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered without the description. The description adds useful context about returned content (metadata, images, IDs for rate searches) and search modes, but says nothing about pagination limits beyond the schema, rate limits, or auth requirements.

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?

It is well-structured and front-loaded with a clear Overview, but highly redundant: 'When to Use', 'What You Get', and 'Quick Start' repeatedly restate the same three or four ideas. The same information could be delivered in roughly half the text without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 23-parameter tool with zero required parameters and no output schema, the Quick Start's advice to 'Provide search criteria (city, coordinates+radius, placeId, or hotelIds)' is genuinely helpful for avoiding an unbounded query. But it omits other valid entry points (aiSearch, hotelName, chainIds) and gives no default-behavior or result-size guidance, leaving the definition only minimally complete.

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 23 parameters are already documented in the schema; the baseline is 3. The 'Search Options' section maps loosely to the geo/ID parameters but adds no syntax or constraint detail beyond what the schema provides (e.g., it omits chainIds, facilityIds, starRating modes).

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?

The description states a specific verb and resource ('Search and retrieve hotel listings') and enumerates what comes back (names, addresses, ratings, amenities, images, IDs). However, it never distinguishes itself from the many near-identical siblings (get_data_hotel_search, get_data_hotels_semantic_search, get_data_hotel), even though the aiSearch parameter here overlaps semantically with the dedicated semantic-search sibling.

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?

A 'When to Use' section exists, but its bullets ('Hotel listings – Display hotel search results', 'Hotel discovery – Browse hotels in specific areas') restate the overview rather than give real selection criteria. No guidance is offered on when to pick this over get_data_hotel_search or get_data_hotels_semantic_search, which is the key routing decision given the sibling set.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.