Skip to main content
Glama

Hotel price calendar

mb_hotel_calendar
Read-onlyIdempotent

Retrieve the cheapest one-night hotel room price for each date from today up to about 48 days using a city/hotel slug, so you can compare nightly rates and spot dates with no free room.

Instructions

Cheapest one-night room price per night from today, up to about 48 days (often fewer).

Then mb_hotel_rooms for exact prices. Nights missing inside the range have no free room; nights after the last one are not loaded yet.

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": "<hotel>"
    },
    "name": "mb_hotel_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotelYesHotel as 'city_slug/hotel_slug' from mb_search_hotels, e.g. 'mashhad/enghelab'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / hotel / description
      Previous value: -"Hotel as 'city_slug/hotel_slug' from mb_search_hotels, mb_city_hotels or mb_find_place, e.g. 'mashhad/enghelab'."New value: +"Hotel as 'city_slug/hotel_slug' from mb_search_hotels, e.g. 'mashhad/enghelab'."
    • removedInput schema / title
      Removed value: -"mb_hotel_calendarArguments"
  2. Changed2 schema fields changedv0.3.0
    • removedInput schema / properties / hotel / title
      Removed value: -"Hotel"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "mb_hotel_calendarDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's job is coverage semantics — and it delivers: horizon of about 48 days (often fewer), nights missing inside the range mean no free room, and nights past the last entry mean 'not loaded yet' rather than 'unavailable'. That distinction is genuinely non-obvious and prevents a real misinterpretation. It stops short of describing ordering or the exact shape of returned entries.

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?

Three short sentences, front-loaded with the core meaning, then the alternative, then the edge-case semantics. Slightly telegraphic fragments ('Then mb_hotel_rooms for exact prices') read as notes rather than prose, but nothing is wasted.

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?

There is no output schema, so the description must convey what comes back — it covers the value returned (cheapest one-night price per night), the time window, and how to read gaps and truncation. Missing only low-level detail like ordering or per-night entry fields, which is acceptable for a calendar-overview tool.

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% and the single 'hotel' parameter is well documented with a format pattern and a concrete example, so the description adds nothing beyond it. Baseline 3 applies since the schema carries the full parameter burden.

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?

States a specific resource and metric: cheapest one-night room price per night, starting from today, over a bounded horizon. It also implicitly distinguishes itself from mb_hotel_rooms (which gives exact prices) and from mb_hotel / mb_city_hotels, so an agent can pick it without opening another schema.

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?

Explicitly routes the agent onward: 'Then mb_hotel_rooms for exact prices', which establishes this as the cheap-overview step in a two-step flow. It lacks an explicit 'use this when you need a price overview before booking' statement, but the sequencing guidance is clear enough.

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