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. A hotel name alone (no city) also works for well-reviewed hotels: it searches every city and returns each hotel with its city — confirm the city with the user before tracking. If it finds nothing, ask for the city. 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

NameRequiredDescriptionDefault
cityNoCity, region or airport name, e.g. "Sapporo", "삿포로", "札幌". Optional when hotel is given; otherwise required unless city_id is given.
hotelNoHotel name, e.g. "Hilton Sapporo", "신라호텔", "ソウル新羅ホテル". With a city it filters that city; without a city it searches well-reviewed hotels in every city. Omit (with a city) 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. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City, region or airport name, e.g. \"Sapporo\", \"삿포로\", \"札幌\". Required unless city_id is given."New value: +"City, region or airport name, e.g. \"Sapporo\", \"삿포로\", \"札幌\". Optional when hotel is given; otherwise required unless city_id is given."
    • changedInput schema / properties / hotel / description
      Previous value: -"Optional hotel-name filter within the city, e.g. \"Hilton\", \"힐튼\". Omit to list notable hotels. A hotel name alone is not enough — city (or city_id) is still required."New value: +"Hotel name, e.g. \"Hilton Sapporo\", \"신라호텔\", \"ソウル新羅ホテル\". With a city it filters that city; without a city it searches well-reviewed hotels in every city. Omit (with a city) to list notable hotels."
  2. Changed1 schema field changed
    • changedInput schema / properties / hotel / description
      Previous value: -"Optional hotel-name filter within the city, e.g. \"Hilton\", \"힐튼\". Omit to list notable hotels."New value: +"Optional hotel-name filter within the city, e.g. \"Hilton\", \"힐튼\". Omit to list notable hotels. A hotel name alone is not enough — city (or city_id) is still required."
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint=false, and the description still adds substantial behavioral detail: it enumerates what is returned (name, address, stars, rating, review count), states explicitly that no prices are returned, and discloses the cross-city search fallback plus the 'confirm the city with the user' rule. This is context the structured fields do not carry.

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?

The core framing and the not-a-search-engine caveat are front-loaded, and the flow line at the end anchors the tool in the workflow. It is dense and slightly run-on in the middle, but essentially every sentence carries operational 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?

There is no output schema, so the description carries the burden of describing returns, and it does so precisely, including the other_city_matches field an agent must act on. For a four-parameter read-only lookup, nothing needed to call it correctly is missing.

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, and the description goes further by explaining resolution behavior: city is resolved to the best catalog match, a hotel name without city searches every city, and city_id (from other_city_matches) overrides city. It does not explain the limit parameter, which keeps it below a 5.

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 outcome ('Resolve a hotel to the agoda_hotel_id') and explicitly frames it as a lookup step rather than a search engine. It names the sibling it feeds (track_hotel_price) and the sibling to use instead for prices (list_hotel_deals), so an agent can distinguish it from every nearby tool.

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?

Gives explicit when-to-use ('lookup step, not a hotel search engine'), when-not-to-use ('for prices, track the hotel or use list_hotel_deals'), a typical call sequence, and recovery instructions when results are empty or ambiguous ('If it finds nothing, ask for the city'). The alternative for multiple city matches (city_id) is spelled out.

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