Skip to main content
Glama

get_hotel_details

Read-only

Retrieve hotel room details, live rates, amenities, and cancellation policies to prepare for booking. Required before completing reservation as rate codes expire quickly.

Instructions

Get room types, live rates, amenities, cancellation policies, and rate_codes for a specific hotel. Required before booking — rate_codes expire in ~15 minutes.

Guests pay the hotel directly. Rates shown are what the hotel charges. A 1Stay Booking Fee is added at checkout — the only charge from 1Stay. Loyalty points eligible.

Room type notes: "Run of house" = hotel assigns room at check-in. "Suite" at select-service brands usually means a larger room with a sofa, not a separate bedroom. Non-refundable rates are cheaper but cannot be changed or canceled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hotel_idYesHotel ID from search results
check_inYesCheck-in date (YYYY-MM-DD)
check_outYesCheck-out date (YYYY-MM-DD)
guestsNoNumber of guests (default 2)
roomsNoNumber of rooms (default 1)
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating a safe read operation. The description adds valuable behavioral context beyond annotations: rate_code expiration time, payment structure (guests pay hotel directly, 1Stay fee added at checkout), loyalty points eligibility, and room type clarifications. No contradiction with 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?

The description is well-structured and appropriately sized, with key information front-loaded (purpose and critical usage note). Some sentences could be more concise (e.g., the room type notes are detailed but necessary). Overall, it's efficient with minimal waste.

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 the annotations cover safety (read-only, non-destructive) and the schema fully documents parameters, the description provides excellent contextual completeness. It adds critical behavioral details (expiration, payment structure, room type nuances) that are essential for proper tool usage, compensating for the lack of output schema.

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 parameters are fully documented in the schema. The description doesn't add specific parameter semantics beyond what the schema provides, but it implies the parameters are used to fetch hotel details for specific dates and occupancy. Baseline 3 is appropriate when schema does the heavy lifting.

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 specific verb ('Get') and resources ('room types, live rates, amenities, cancellation policies, and rate_codes for a specific hotel'), making the purpose explicit. It distinguishes from sibling tools like 'search_hotels' by focusing on detailed information for a specific hotel rather than searching for hotels.

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?

The description explicitly states 'Required before booking' and mentions rate_code expiration (~15 minutes), providing clear when-to-use guidance. It distinguishes from booking tools by indicating this is a prerequisite step, and from search tools by focusing on a specific hotel ID.

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/STAYKER-COM/1Stay-mcp'

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