Skip to main content
Glama

Search hotels

search_hotels
Read-onlyIdempotent

Search hotels on HotelsCasa: more than 1.3 million hotels and apartments in our catalogue (including guest houses and holiday homes) in 44 countries (Europe, Turkey, the Caucasus, Central Asia and Latin America). Search by city (English or local name; add country to disambiguate) or by lat/lng + radius_km. Country alone returns its main cities to choose from. Each item has stars, guest rating (out of 10), photo, price_from_eur_per_night when a rate exists, and the url of the hotel page. price_from_eur_per_night is the starting price per night in EUR for this hotel on HotelsCasa: always show it to the traveller as "from €X per night". The exact total for the chosen dates is confirmed on the hotel page (url). Items without a price are real hotels with no published rate right now — never call them unavailable; the page lets the traveller ask. Pass check_in/check_out/adults so the link opens with those dates. Always give the traveller the url of every item as a clickable link, unchanged: it is the only way to book or buy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNo
lngNo
cityNoCity name in English, e.g. Rome, Lisbon, Munich, Buenos Aires.
langNoLanguage of the answer and of the links: es, en, de, fr, it, pt, tr or ru. Default es.
pageNo
sortNo
typeNoAccommodation type: apartments, aparthotels, guest houses, holiday homes, rural houses, villas.
limitNoHow many results to return (1-10, default 10).
queryNoPart of the hotel name (with city or lat/lng), or a city name.
adultsNo
countryNoISO-3166 alpha-2 country code, e.g. FR, IT, AR.
check_inNoYYYY-MM-DD.
childrenNo
check_outNoYYYY-MM-DD.
price_maxNoMax EUR per night. Only hotels with a published rate are kept.
radius_kmNoRadius for lat/lng search, default 10, max 50.
stars_minNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo
pageNo
countNo
errorNo
itemsNo
citiesNo
messageNo
next_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description discloses important behavior: items without a price are real hotels with no published rate and must not be called unavailable; price_from_eur_per_night is only a starting price; the URL is the only way to book/buy. This adds substantial context beyond the annotations and schema.

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?

The description is dense but every sentence carries useful operational guidance: price display formatting, no-price handling, and URL requirements. It is a single large paragraph and the opening catalogue/geography sentence is somewhat broad, but it remains focused enough for a 17-parameter tool.

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

Completeness4/5

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

Given that an output schema exists, the description appropriately does not need to re-explain return shapes, yet it still covers key output semantics and the no-price edge case. It does not mention partial-hotel-name search via query or explicitly require one of city/lat/lng, but the schema covers those details, so the description is sufficient for normal invocation.

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?

The description adds meaning not in the schema: city can be English or local, country disambiguates, lat/lng should be combined with radius_km, and adults/check_in/check_out should be passed so URLs open with dates. Some parameters without schema descriptions, such as page, sort, and stars_min, receive no elaboration, so it is not fully exhaustive.

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 hotels on HotelsCasa' and clarifies the catalogue scope, search modes, and item fields. It does not explicitly contrast with search_properties or other search siblings, so sibling differentiation is left partly to inference, though the hotel-specific fields make the purpose clear.

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?

It gives clear context for when to use city vs. lat/lng, when to add country to disambiguate, and that country alone returns its main cities. It also instructs to pass check_in/check_out/adults so links open with dates, but it does not name alternative tools or say when not to use this tool.

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.