Skip to main content
Glama

Hotel price calendar

st_hotel_calendar
Read-onlyIdempotent

Retrieve a room's per-night prices and remaining rooms for each day, plus the cheapest bookable nights, so you can compare availability and choose dates.

Instructions

Show a room's per-night price and rooms left for each day, with the cheapest bookable nights.

Toman per night. A night with rooms_left 0 cannot be booked.

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>",
      "room_id": "<room_id>"
    },
    "name": "st_hotel_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days to return
room_idYesRoom id from st_hotel_rooms
hotel_idYesHotel id
from_dateNoYYYY-MM-DD, default today

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive traits, and the description adds genuinely new behavioral detail: prices are in Toman per night, and a night with rooms_left 0 cannot be booked. That bookability rule is the key interpretation detail an agent needs and it is not in the annotations or schema. It does not discuss result size or truncation for long ranges.

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 short lines with zero filler: the output shape comes first, followed by the units and the zero-rooms edge case. Everything is front-loaded and every sentence carries information the agent needs.

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?

For a read-only calendar tool with no output schema, the description supplies the return shape (per-night price and rooms left), the currency unit, and the bookability rule, which is enough to use results correctly. It leaves unclear whether the 'cheapest bookable nights' are a flagged field in the response or a summary, and says nothing about response size for a 120-day range.

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 all four parameters documented including the days range of 1-120 and the YYYY-MM-DD format for from_date, so the schema carries the parameter burden. The description adds no per-parameter clarification such as a default window in prose. Baseline 3 is appropriate.

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 names a specific verb and resource: per-night price and rooms-left for each day of a room's calendar, plus cheapest bookable nights. That is clearly distinguishable from sibling tools like st_hotel_rooms (room listing) without opening a schema. It stops short of explicitly naming a sibling to contrast with, which keeps it at 4.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no pointer to st_hotel_rooms or st_hotel_detail as the alternative for room metadata versus calendar/pricing. The only conditional sentence is about bookability of a night, not about tool selection. The agent must infer the usage context from the tool name alone.

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