Skip to main content
Glama

Compare a Hotel from Its Link

compare_hotel_link

Compares prices for the one hotel behind a link from Booking.com, Agoda, Traveloka, Trip.com, Hotels.com or Airbnb: finds the same hotel on the other sites and lists each site's price for the whole stay, cheapest first, with a link to each. The dates and guests in the link are used when it has them, otherwise checkIn, checkOut and adults. Share links and links inside pasted text work too. Takes about 10-30 seconds.

Input Schema

NameRequiredDescriptionDefault
urlYesThe hotel link as the user pasted it, e.g. 'https://www.agoda.com/radisson-hotel-danang/hotel/da-nang-vn.html'.
adultsNoNumber of adults, used when the link does not say (default 2).
checkInYesCheck-in date YYYY-MM-DD, used when the link has no dates.
checkOutYesCheck-out date YYYY-MM-DD, used when the link has no dates.
languageNoOptional UI language hint. Only used when queryText gives no signal.
queryTextNoShort excerpt (one sentence at most) of the guest's latest message in their own words, used only to detect the reply language; it is not stored or forwarded. It carries no names, contact details or other parts of the conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With annotations already declaring openWorldHint=true and destructiveHint=false, the description adds useful behavior: it takes about 10-30 seconds and returns each site's whole-stay price, cheapest first, with a link to each. It does not contradict the annotations and does not imply a destructive write.

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?

The description is front-loaded with the main action and output shape, then covers fallback dates, link formats, and latency. Each sentence adds actionable information without repetition 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?

For a tool with no output schema, the description explains the return behavior well: cross-site matches, whole-stay prices, cheapest-first ordering, and per-site links. It could be slightly more complete about failure cases, such as unsupported links or no match found, but it is sufficient for correct 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?

Schema coverage is 100%, so the parameters are already documented. The description still adds cross-parameter meaning by explaining that dates and guests embedded in the link take precedence, with checkIn, checkOut and adults used only as fallbacks.

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 states a specific verb and resource: compares prices for the one hotel behind a link across named OTAs. It distinguishes this from a general hotel search by emphasizing a single linked hotel, cross-site matching, and a cheapest-first price list with links.

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 clearly explains the input context: a hotel link from Booking.com, Agoda, Traveloka, Trip.com, Hotels.com or Airbnb, including share links and links inside pasted text. It does not explicitly name when to use a sibling such as search_hotels_live instead, but the single-hotel-from-a-link scope is 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.

Resources