Skip to main content
Glama

get_hotels

Search for hotels in a specific destination by providing check-in and check-out dates, number of adults, and preferred currency. Returns a list of available hotels with prices.

Instructions

Get hotels for a specific destination. After showing results, ALWAYS call get_hotel_details for hotels the user is interested in to provide booking links and detailed information.

Args: destination_id: The destination ID (city_ufi from search_destinations) checkin_date: Check-in date in YYYY-MM-DD format checkout_date: Check-out date in YYYY-MM-DD format adults: Number of adults (default: 2) currency_code: Currency code for prices (default: KRW). Examples: KRW, EUR, USD

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destination_idYes
checkin_dateYes
checkout_dateYes
adultsNo
currency_codeNoKRW

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, but the description explains the behavior: fetches hotels given destination, dates, adults, and currency. It also notes the source of destination_id. While it doesn't disclose edge cases like rate limits or empty results, it's sufficient for a listing tool.

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 concise with a clear structure: a one-line purpose, a usage note, and an Args section. Every sentence adds value with no wasted words.

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?

Given that an output schema exists, the description need not detail return values. It covers all necessary aspects: purpose, required parameters, and follow-up guidance, making it fully complete for the agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It provides context for each parameter: destination_id should come from search_destinations, dates in YYYY-MM-DD, adults default 2, currency_code examples. This adds significant meaning beyond the 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?

The description clearly states the tool's purpose: 'Get hotels for a specific destination.' It specifies the key parameters (destination_id, checkin_date, checkout_date) and distinguishes itself from sibling tools like get_hotel_details by noting the follow-up action.

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 instructs the agent to ALWAYS call get_hotel_details after showing results to provide booking links and detailed information, effectively telling when to use this tool and what to do next.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idean3885/trip-planner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server