Skip to main content
Glama

Hotel rooms and prices

mb_hotel_rooms
Read-onlyIdempotent

Get every room option for a hotel and stay dates, with exact total and per-night prices, meals, rooms left, and cancellation rules.

Instructions

Every room of a hotel with its exact price for the dates: whole stay, per night, rooms left, meals.

price_toman is the whole stay for one room after discount (prices do not depend on the guest count; choose rooms whose sleeps fits, and add up several rooms for a group). rooms_left 0 = full. cancellation is the hotel's refund rule. Empty rooms list = nothing free for these dates (try mb_hotel_calendar).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hotelYesHotel as 'city_slug/hotel_slug' from mb_search_hotels, mb_city_hotels or mb_find_place, e.g. 'mashhad/enghelab'.
guestsNoOnly rooms that sleep at least this many (with extra beds), e.g. 3.
check_inYesCheck-in date YYYY-MM-DD, e.g. '2026-10-20'.
check_outYesCheck-out date YYYY-MM-DD, e.g. '2026-10-23' (1 to 30 nights).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, so the bar is lower. The description still adds real behavioral context: rooms_left 0 means full, cancellation reflects the hotel's refund rule, and an empty rooms list means no availability rather than an error. It does not discuss rate limits or data freshness, keeping it below 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the core definition before the field explanations, with no filler sentences. The telegraphic fragment style ('rooms_left 0 = full') is efficient but slightly terse for an unfamiliar reader.

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?

An output schema exists, so return-value documentation is not required, and the description still interprets the important output fields (price_toman, rooms_left, cancellation). Combined with the empty-result guidance, an agent has enough to call and interpret this correctly; only edge cases like multi-room pricing mechanics are left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning: prices are independent of guest count, guests acts as a 'sleeps at least' filter, and price_toman is the post-discount whole-stay total for one room. This clarifies interpretation of both guests and the returned price beyond the schema text.

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 opening sentence names the specific resource (every room of a hotel) and what it returns (exact price for the dates), with the key outputs enumerated (whole stay, per night, rooms left, meals). An agent can distinguish this from mb_hotel (hotel details) and mb_hotel_calendar (availability calendar) without opening the 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?

It routes the agent explicitly to mb_hotel_calendar when the rooms list comes back empty, and gives the group-booking procedure ('add up several rooms for a group'). It does not spell out the broader when-to-use vs mb_hotel or the prerequisite that the hotel slug comes from mb_search_hotels, though that is covered in the schema.

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