Skip to main content
Glama

HotelPricesAPI — Global Hotel Rates & OTA Price Comparison MCP

Autocomplete Global Cities, Districts & Destination Location IDs

search_hotel_destinations
Read-onlyIdempotent

Resolve any global city, neighborhood, or region name (e.g. "Paris", "Tokyo", "New York") into canonical location_id tokens, GPS coordinates, timezones, and available hotel counts. Cost: 2 Credits / call (0 Credits if empty).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_hotel_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax destinations to return (1–20).
queryYesCity, district, or destination query (e.g. "Paris", "Shibuya", "London").

Output Schema

NameRequiredDescriptionDefault
codeYes0 on success.
dataYesMatched global destination records.
statusYesResponse status ("ok").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds genuinely new context beyond that: the per-call cost of 2 credits and the zero-charge guarantee when results are empty, which matters for cost-aware planning. It does not discuss rate limits or latency, keeping it at 4 rather than 5.

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 tight sentences: the capability and its outputs first, then the cost model. Nothing is padded and no sentence restates a structured field verbatim.

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?

An output schema exists, so return values need only be named, and the description does that. Cost behavior is included, which an agent needs. The remaining gap is the absence of any statement about how this tool relates to the sibling pricing tools in a workflow.

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 'query' and 'limit' are already fully documented with examples and bounds. The description adds no format, matching, or disambiguation rules (e.g. how ambiguous names resolve), so it only meets the baseline for a fully documented schema.

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 ('Resolve') and resource ('global city, neighborhood, or region name') and enumerates the outputs (location_id tokens, GPS coordinates, timezones, hotel counts). This clearly separates it from siblings like search_hotel_prices and get_hotel_guest_reviews, which consume rather than produce location identifiers.

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

Usage Guidelines3/5

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

The description implies this is a name-to-ID resolution step, but it never states when to call it instead of alternatives, nor does it say it is a prerequisite for the sibling pricing/room/review tools. An agent can infer the workflow but is given no explicit trigger condition or exclusion.

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