Skip to main content
Glama

compare_hotel_prices

Read-onlyIdempotent

Compare hotel prices across Agoda, Booking.com, and Hotels.com simultaneously to find the lowest nightly rate for your dates.

Instructions

Perform a cross-platform parallel price check across all providers to find the absolute cheapest booking rate.

Queries Agoda, Booking.com, and Hotels.com simultaneously for the specified hotel, extracts lowest available nightly rates, perks, and direct URLs, and highlights the winning platform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roomsNoNumber of rooms required. Default: 1.
adultsNoNumber of adult guests. Default: 2.
check_inYesCheck-in date in YYYY-MM-DD format (e.g. '2026-10-02').
check_outYesCheck-out date in YYYY-MM-DD format (e.g. '2026-10-06').
hotel_nameYesFull or partial hotel name (e.g. 'Hotel The Botanik Sewoon Myeongdong', 'Sotetsu Fresa Inn Seoul Myeong-dong').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ratesNoPer-provider price comparison rates
roomsNoNumber of rooms
adultsNoNumber of adults
check_inYesCheck-in date (YYYY-MM-DD)
check_outYesCheck-out date (YYYY-MM-DD)
hotel_nameYesTarget hotel name
cheapest_urlNoDirect URL to book at the cheapest rate
cheapest_priceNoLowest nightly price in USD
cheapest_providerNoProvider with the lowest price per night
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, covering safety and side-effect profile. The description adds meaningful behavioral detail: which providers are queried, what data is extracted, and that it highlights the winning platform. It does not mention rate limits or failure modes, but for a read-only comparison tool, this is sufficient.

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, front-loaded with the core purpose, and the second sentence adds concrete detail without waste. No redundancy or filler.

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?

The output schema is present, so return-value detail is not the description's job. The description covers the essential aspects: what it does, which providers, and what it produces. It could note that it searches by hotel_name and dates (already in schema), but it is complete for an agent to understand and invoke 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?

Schema description coverage is 100%, so each parameter is fully documented in the schema. The description adds some context (e.g., that it extracts nightly rates and perks), but does not provide new parameter-level meaning beyond what the schema already states. Baseline 3 is appropriate here.

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?

The description clearly states a specific verb ('Perform a cross-platform parallel price check') and resource ('across all providers'), and enumerates the exact providers (Agoda, Booking.com, Hotels.com) and output (lowest rates, perks, URLs, winning platform). This differentiates it from sibling tools like search_hotels or get_room_grid.

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 description implies when to use it (when an agent needs to compare prices across providers) and what it does, but it does not explicitly state when not to use it or mention alternatives. The tool name itself signals comparison, so the context is clear, but explicit routing guidance is absent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Skyline-9/hotels-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server