Skip to main content
Glama

Hotel rooms

st_hotel_rooms
Read-onlyIdempotent

List a hotel's available rooms with total and nightly prices for selected dates, so you can compare options and pass room_id to the calendar tool.

Instructions

List the rooms of a hotel with prices for the dates.

total_price is Toman for the whole stay; nightly gives each night. Take room_id to st_hotel_calendar.

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": {
      "hotel_id": "<hotel_id>"
    },
    "name": "st_hotel_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_inNoYYYY-MM-DD, default tomorrow
hotel_idYesHotel id from st_hotel_search
check_outNoYYYY-MM-DD, default check_in + 1 night

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds value the annotations cannot: it explains the meaning of the returned price fields ('total_price is Toman for the whole stay; nightly gives each night'), including the currency unit, which is essential for interpreting results. It says nothing about availability, pagination, or what happens when no rooms match, so a 4 rather than a 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?

Three short sentences, front-loaded with the core action, followed by return-field clarification and the next-step pointer. No filler and no restatement of the tool name.

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?

With no output schema, the description correctly spends its words defining the two price fields, which is the main ambiguity an agent would face. For a read-only three-parameter listing tool with full schema coverage, that is nearly sufficient; only response shape (list length, per-room fields) and empty-result behavior are unaddressed.

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%, with check_in/check_out defaults (tomorrow, check_in + 1 night) and hotel_id provenance already documented in the schema. The description adds no parameter-level detail beyond that, so the baseline 3 applies. The room_id mention is an output handoff, not an input parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'List the rooms of a hotel with prices for the dates.' An agent immediately knows this returns room inventory plus pricing for a date range, which is distinct from sibling listing/search tools. It stops short of explicitly contrasting itself with st_hotel_search or st_hotel_detail, which keeps it from a 5.

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

Usage Guidelines4/5

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

It gives a clear workflow cue: 'Take room_id to st_hotel_calendar,' telling the agent what to do next with the output. Combined with the schema note that hotel_id comes from st_hotel_search, the position of this tool in the call chain is legible. It offers no explicit when-not-to-use guidance, so it isn't a 5.

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