Skip to main content
Glama
Autonomad1
by Autonomad1

search_hotels

Read-onlyIdempotent

Find and compare hotels worldwide. Filter by destination, dates, room type, price, star rating, and amenities to discover matching properties with rates and photos.

Instructions

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')
countryNoISO 3166-1 alpha-2 country code (e.g., 'US', 'JP')
brandNoHotel brand name to filter by
check_inYesCheck-in date (YYYY-MM-DD)
check_outYesCheck-out date (YYYY-MM-DD)
room_typeNo
max_rate_usdNoMaximum nightly rate in USD
amenitiesNoRequired amenities (wifi, gym, pool, spa, restaurant, etc.)
min_star_ratingNoMinimum star rating (1-5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

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.