Skip to main content
Glama

Search hotels

search_hotels
Read-onlyIdempotent

Find hotels in a city (optionally near an area or landmark) with addresses and map coordinates, plus booking links prefilled with the dates. Does not show prices — the booking links do.

Input Schema

NameRequiredDescriptionDefault
cityYesCity, e.g. 'Lisbon'.
nearNoOptional area or landmark to stay near, e.g. 'Alfama' or 'Sagrada Familia'.
styleNoany
adultsNo
check_inNoYYYY-MM-DD
check_outNoYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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 bar is lower; the description still adds real value by disclosing what comes back (addresses, coordinates, booking links prefilled with the dates) and the prices omission. It does not cover result-count limits or how open-world lookups behave, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the core capability and the return payload front-loaded and the price caveat placed last as a qualifier. Every clause carries information.

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?

With no output schema, the description properly should describe returns, and it does (addresses, coordinates, booking links with dates prefilled). It stays silent on result volume and on what 'style' and 'adults' actually change in the results, which a six-parameter tool could reasonably spell out.

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 67%, and the description reinforces only city, near (area or landmark), and the dates' role in prefilling booking links. It says nothing about 'style' (the one enum) or 'adults', leaving those to the schema alone. This is adequate given partial schema documentation but adds limited meaning beyond it.

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 ('Find hotels in a city') plus the return payload (addresses, map coordinates, prefilled booking links). The resource is unambiguously distinct from siblings like search_flights, find_food_spots, and search_transfers, so an agent can select it without opening the schema.

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?

The optional 'near' clause signals the near-a-landmark use case, and 'Does not show prices — the booking links do' draws a clear boundary telling the agent not to use this tool to answer price questions. There is no explicit statement of when to prefer another tool, but no sibling competes for the same hotel search, so the gap is minor.

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