Skip to main content
Glama

search_hotels

Read-onlyIdempotent

Search hotels, lodging, accommodations, resorts, and places to stay for a trip. Filter by city, country, check-in/check-out dates, room type, nightly price, star rating, and amenities (pool, gym, wifi, etc.). Returns matching properties with rates, photos, and availability across 2M+ properties (LiteAPI). Use this when the user wants to book a hotel, find a place to stay, compare lodging options, or pick a resort.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity name (e.g., 'New York', 'Tokyo')
brandNoHotel brand name to filter by
countryNoISO 3166-1 alpha-2 country code (e.g., 'US', 'JP')
check_inYesCheck-in date (YYYY-MM-DD)
amenitiesNoRequired amenities (wifi, gym, pool, spa, restaurant, etc.)
check_outYesCheck-out date (YYYY-MM-DD)
room_typeNo
max_rate_usdNoMaximum nightly rate in USD
min_star_ratingNoMinimum star rating (1-5)

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint false. Description adds that it returns matching properties with rates, photos, and availability across 2M+ properties (LiteAPI), disclosing the data source and result contents. No contradictions.

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?

Three well-organized sentences: first states purpose and filters, second describes returns, third gives usage guidance. Every sentence adds value, no fluff. Front-loaded with key information.

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 search tool with 9 parameters, high schema coverage, no output schema, the description adequately explains return content (rates, photos, availability) and data source. It covers all necessary context for an agent to use correctly.

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?

Input schema covers 89% of parameters with descriptions. Description lists filters, echoing schema, and provides examples for amenities (e.g., 'wifi, gym, pool'). While not adding deep semantics, it groups and clarifies. Schema coverage is high, so baseline 3 is appropriate.

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?

Description clearly states the tool searches hotels, lodging, accommodations, resorts, etc. It lists specific filters (city, country, dates, room type, price, star, amenities) and indicates returns include rates, photos, availability. This differentiates it from sibling tools like search_flights.

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?

Explicit guidance: 'Use this when the user wants to book a hotel, find a place to stay, compare lodging options, or pick a resort.' This provides clear context, though no explicit when-not-to-use statements (but implications from sibling names are clear).

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each search tool targets a distinct travel domain (flights, hotels, activities, dining, events, transport), and create_booking_intent handles the booking flow separately. No overlapping purposes; get_capabilities is clearly meta.

Naming Consistency5/5

All search tools follow a consistent 'search_<domain>' pattern, while the other two tools use verb_noun ('create_booking_intent', 'get_capabilities'). The naming is uniformly predictable and clear.

Tool Count5/5

8 tools is well-scoped for a travel planning server, covering the major travel components (flights, hotels, activities, dining, events, transport) plus booking and capabilities. No redundancy or bloat.

Completeness5/5

The tool surface covers the full travel planning lifecycle: search across all key categories, then create a booking intent for flight/hotel/trip. Activities/events are intentionally handled after landing on the web, so no critical gaps exist.

Resources