Skip to main content
Glama

HotelRefund Price Tracker

Find the agoda_hotel_id for a hotel

search_hotels
Read-only

Resolve a hotel to the agoda_hotel_id that track_hotel_price needs. This is a lookup step, not a hotel search engine: it returns catalog entries (name, address, stars, rating, review count) and no prices — for prices, track the hotel or use list_hotel_deals. Give a city, region or airport name (Korean, Japanese, Chinese or English) and, when the user named a hotel, the hotel filter; the city is resolved to the best catalog match. If several cities match, other_city_matches lists them — pass one of their city_id values (instead of city) to search that city. Typical flow: search_hotels → track_hotel_price → get_price_history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity, region or airport name, e.g. "Sapporo", "삿포로", "札幌". Required unless city_id is given.
hotelNoOptional hotel-name filter within the city, e.g. "Hilton", "힐튼". Omit to list notable hotels.
limitNoMax hotels to return (default 8).
city_idNoCatalog city id from a previous result (other_city_matches). Overrides city.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, and the description adds substantial behavior beyond that: it returns only catalog fields (name, address, stars, rating, review count), never prices, resolves the city to 'the best catalog match', and surfaces other_city_matches when several cities match. These traits — catalog-only, no-pricing, ambiguity handling — are not visible in the schema or annotations.

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

Conciseness4/5

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

Four sentences, each carrying distinct weight: purpose, exclusions/alternatives, parameter usage, and ambiguity handling, with the core purpose front-loaded. It is slightly longer than strictly necessary because the multi-language input hint partly duplicates the schema examples, but nothing is wasted.

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 compensates by naming the returned fields and the other_city_matches disambiguation field, and it explicitly rules out prices so an agent won't expect pricing data. The only gap is unspecified behavior when no city or hotel matches, but for this complexity level the coverage is strong.

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 baseline is 3; the description adds real value on top: multilingual input support ('Korean, Japanese, Chinese or English'), the trigger condition for the hotel filter, and a concrete disambiguation flow for city_id. The only redundancy is that the schema examples already illustrate the multi-language city forms.

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 — 'Resolve a hotel to the agoda_hotel_id that track_hotel_price needs' — giving the tool a crisp identity. It further distinguishes itself from siblings with 'not a hotel search engine' and 'no prices — for prices, track the hotel or use list_hotel_deals', so an agent can tell it apart from the price-focused tools in the sibling list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes between alternatives: lookup/ID resolution here, prices via track_hotel_price or list_hotel_deals, and gives the canonical workflow 'search_hotels → track_hotel_price → get_price_history'. It also conditions parameter usage ('when the user named a hotel, the hotel filter') and explains the city_id override path for ambiguous matches.

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