Skip to main content
Glama

Room prices

eg_rooms
Read-onlyIdempotent

List bookable hotel rooms with total stay and per-night prices, cheapest first, so you can compare room types, rate plans, availability, and cancellation terms before booking.

Instructions

List a hotel's bookable rooms with the price for the stay, cheapest first.

Use it for "how much is a double room at Parsis on 1405-08-19 for 2 nights". Each offer is a room type on a rate plan (e.g. with breakfast): total is the whole stay in Toman, avg_night per night, list_total the crossed-out price when discounted, rooms_left how many remain, free_cancel whether the rate plan can be cancelled (the hotel's cancellation rule is in cancellation). Offers that cannot be booked for these dates are counted in not_bookable with a reason. This tool only reads prices; it cannot reserve.

Input Schema

NameRequiredDescriptionDefault
hotelYesThe hotel: the `hotel` value from eg_search (e.g. /MashhadHotels/ParsisHotel.html), its full eghamat24.com URL, or 'Mashhad/Parsis' (city slug / hotel slug).
limitNo
guestsNoOnly rooms that sleep this many people (extra beds counted).
nightsNoNumber of nights, 1-30.
check_inNoCheck-in date, YYYY-MM-DD (Gregorian, or Jalali such as 1405-08-19). Default: tomorrow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

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 to add context — and it does: result ordering, what each field means (total, avg_night, list_total, rooms_left, free_cancel), and that non-bookable offers are surfaced in `not_bookable` with a reason. It adds no auth, rate-limit, or pagination-truncation behavior, which keeps it from 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?

Purpose and ordering are front-loaded in the first sentence, then the example, then return semantics — a sensible structure. The backtick field inventory is long but justified because there is no output schema; only the repeated date example is mildly redundant.

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 takes on explaining the response shape and the not_bookable bucket, which is the main completeness risk here. The remaining gap is what `limit` (default 25, max 60) does to results — whether truncation is silent — which matters for an open-world listing 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 80%, so the schema already documents hotel formats, guests, nights, and check_in. The description adds no new meaning for `limit`, `guests`, or `nights`, and its only parameter-relevant contribution is the Jalali date example that echoes the schema's own note. 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?

States a specific verb and resource ('List a hotel's bookable rooms with the price for the stay') plus the ordering guarantee ('cheapest first'), and the per-stay rate-plan framing distinguishes it from date-level price tools like eg_price_calendar. An agent can tell exactly what comes back 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?

The worked example ('how much is a double room at Parsis on 1405-08-19 for 2 nights') plus the closing 'This tool only reads prices; it cannot reserve' give clear use context and one explicit exclusion. It stops short of naming when to prefer eg_price_calendar, eg_deals, or eg_hotel instead, so the sibling routing is left to inference.

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