Skip to main content
Glama

Search cities and hotels

search_hotels
Read-only

Search HotelRefund's hotel catalog. Resolves a city, region or airport name (Korean, Japanese, Chinese or English) to the best-matching catalog city and lists hotels there, each with the agoda_hotel_id that track_hotel_price requires. If several cities match, other_city_matches lists them — pass one of their city_id values (instead of city) to search that city.

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.

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses non-obvious behavior: it resolves to the 'best-matching' catalog city, returns other_city_matches on ambiguity, and requires passing city_id to switch searches. It also explains the output's key linkage to track_hotel_price. This gives the agent accurate expectations beyond the schema.

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 two sentences with no filler. It front-loads the primary purpose, then packs the disambiguation rule and downstream integration into a single dense but readable second sentence.

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 read-only search tool with 100% schema coverage and no output schema, the description covers the essential operational details: input forms, language support, matching behavior, ambiguity resolution, and the significance of the returned agoda_hotel_id. Nothing critical is missing for an agent to call it correctly.

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, but the description adds cross-parameter meaning: city_id comes from a previous other_city_matches result and overrides city, and the hotel id returned is what track_hotel_price requires. This relationship guidance is not fully evident from the parameter descriptions alone.

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 action ('Search HotelRefund's hotel catalog'), a clear resource, and the result behavior: resolving a city/region/airport name into a catalog city and listing hotels. It also differentiates itself from siblings by naming the agoda_hotel_id that track_hotel_price requires, making its role in the workflow unmistakable.

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 gives concrete guidance on the disambiguation flow: when several cities match, use one of their city_id values instead of city. It also implies this tool is the prerequisite lookup before track_hotel_price. It does not explicitly enumerate when to prefer list_hotel_deals or get_price_history, but the resource and workflow relationship are clear enough.

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.5/5.0
Disambiguation5/5

Each tool has a distinct role: search_hotels finds hotels, track_hotel_price starts tracking, list_tracked_hotels shows active trackings, get_price_history details one tracking, and list_hotel_deals surfaces discounts. There is no meaningful overlap or ambiguity.

Naming Consistency5/5

All tool names follow the same imperative verb + noun pattern with snake_case: get_price_history, list_hotel_deals, list_tracked_hotels, search_hotels, track_hotel_price. The naming is predictable and consistent.

Tool Count5/5

Five tools is well-scoped for a hotel price tracker: hotel discovery, tracking creation, tracking listing, price history retrieval, and deal browsing. Each tool earns its place without redundancy.

Completeness4/5

The core workflow is well covered: search, track, list, and inspect history, plus a deals view. The main gap is the lack of an explicit way to stop/delete a tracking or update tracking parameters, though this may be intentionally unsupported for anonymous public trackings.

Resources