Skip to main content
Glama

get_hotel_details

Read-only

Get rates, room types, amenities, and cancellation policies for a hotel, including required rate codes for booking.

Instructions

Get rates and room details for a specific hotel. Returns room types, live rates, amenities, cancellation policies, and rate_codes required by book_hotel.

Guest pays the hotel directly. Rates shown are what the hotel charges. A 1Stay Booking Fee is added at checkout. Loyalty points eligible.

Room type notes: "Run of house" means the hotel assigns the 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 in YYYY-MM-DD format (e.g. 2026-05-06)
check_outYesCheck-out date in YYYY-MM-DD format (e.g. 2026-05-07)
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. The description adds valuable context: payment flows (guest pays hotel, 1Stay fee added), loyalty points eligibility, and room type clarifications (run-of-house, suite definition). 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?

Description is brief, front-loaded with main purpose, and uses separate paragraphs for payment and room notes. Each sentence adds value, though the room type explanations could be slightly trimmed. 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?

Despite lacking an output schema, the description lists all return elements (room types, rates, amenities, policies, rate_codes) and adds payment and eligibility context. For a simple 5-parameter tool, this is comprehensive.

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 coverage is 100% with each parameter descriptively named. The description adds no extra meaning beyond the schema for parameters; it only reiterates date format and defaults, which the schema already includes. Baseline 3 is appropriate.

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 retrieves rates and room details for a specific hotel, enumerating return fields (room types, live rates, amenities, cancellation policies, rate_codes) and explicitly linking rate_codes to the sibling tool book_hotel, which distinguishes it from search_hotels and booking tools.

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 when to use (before booking, to get rate_codes) but does not explicitly state when not to use or compare with alternatives like search_hotels for listing hotels. The sibling list exists but no direct guidance in description.

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