Skip to main content
Glama

get_data_hotels

Read-onlyIdempotent

Search hotels by city, coordinates, place ID, or hotel IDs and retrieve names, addresses, ratings, amenities, and images for display or rate lookups.

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. The description adds that results are metadata-only (names, addresses, ratings, amenities, images, IDs) and notes hotel IDs feed rate searches, but says nothing about pagination behavior or result-size constraints beyond what the schema already documents.

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?

The markdown structure is scannable, but there is heavy redundancy: 'Hotel listings', 'Metadata retrieval', 'complete metadata', and 'matching hotels with complete metadata' repeat the same point across Overview, When to Use, What You Get, and Quick Start. The content could be roughly halved without losing information.

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, zero-required search tool with no output schema, the description correctly signals that a search criterion must be supplied and sketches the return shape. However, it does not warn about the maximum limit, the default 200-result cap, or mutual exclusivity between criteria, leaving gaps an agent would hit in practice.

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 every one of the 23 parameters is already documented in the schema, including limit/offset defaults, radius minimum, and placeId semantics. The description's high-level 'Search Options' map adds no syntax or format detail 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.

Purpose4/5

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

The overview states a specific verb+resource ('Search and retrieve hotel listings') and enumerates the returned metadata. It is clear on its own, but it never names or differentiates itself from close siblings like get_data_hotel_search, get_data_hotels_semantic_search, or get_data_hotel, so an agent must guess which hotel-lookup tool to call.

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 'When to Use' and 'Search Options' sections restate the same idea (search by city, coords, placeId, hotelIds) four different ways rather than giving conditions that select this tool over alternatives. No exclusions or sibling routing is provided, so usage is only implied.

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

Deploy Server

Other Tools