Skip to main content
Glama

Hotelumo Hotel Operations

Check room availability and prices

get_hotel_availability
Read-onlyIdempotent

Use this when someone asks if rooms are free for certain dates or what a stay would cost. Returns the room types and rate plans with a free room every night for the party, with rooms left and nightly and total prices in minor currency units. Stays of 1–30 nights, check-in within 365 days. Not for making a booking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsNoAdults staying, from 1 to 20; defaults to 2
hotelIdYesHotel id: 24 lowercase hexadecimal characters
infantsNoInfants staying, from 0 to 20; defaults to 0
childrenNoChildren staying, from 0 to 20; defaults to 0
checkInDateYesArrival date as YYYY-MM-DD, from today to 365 days ahead in the hotel's timezone
checkOutDateYesDeparture date as YYYY-MM-DD, 1 to 30 nights after checkInDate

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
offersYesOne row per bookable room type and rate plan with a free room every night. Amounts are integer minor currency units (12000 is 120.00 in a two-decimal currency). Guest records, reservations, room assignments, access data, notes, payments, channel references, photos, free-text descriptions and credentials are excluded.
searchYes
offersAreTruncatedYesTrue when more than 100 offers matched the search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / adults / description
      Added value: +"Adults staying, from 1 to 20; defaults to 2"
    • changedInput schema / properties / checkInDate / description
      Previous value: -"YYYY-MM-DD check-in"New value: +"Arrival date as YYYY-MM-DD, from today to 365 days ahead in the hotel's timezone"
    • changedInput schema / properties / checkOutDate / description
      Previous value: -"YYYY-MM-DD check-out"New value: +"Departure date as YYYY-MM-DD, 1 to 30 nights after checkInDate"
    • addedInput schema / properties / children / description
      Added value: +"Children staying, from 0 to 20; defaults to 0"
    • changedInput schema / properties / hotelId / description
      Previous value: -"24-character lowercase hexadecimal hotel id"New value: +"Hotel id: 24 lowercase hexadecimal characters"
    • addedInput schema / properties / infants / description
      Added value: +"Infants staying, from 0 to 20; defaults to 0"
    • addedOutput schema / properties / offers / description
      Added value: +"One row per bookable room type and rate plan with a free room every night. Amounts are integer minor currency units (12000 is 120.00 in a two-decimal currency). Guest records, reservations, room assignments, access data, notes, payments, channel references, photos, free-text descriptions and credentials are excluded."
    • addedOutput schema / properties / offersAreTruncated / description
      Added value: +"True when more than 100 offers matched the search"
  2. First observed

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 safety profile is covered. The description still adds real behavioral context beyond them: results are filtered to rate plans that have availability on every night for the party, prices are in minor currency units, and searches are bounded to 1-30 nights and check-in within 365 days.

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 sentences, front-loaded with the usage trigger, then what is returned, then constraints and the exclusion. No filler or redundancy; each sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema already present, the description need not enumerate return fields. It supplies the scope, the availability filter semantics, currency-unit convention, and date-range limits, which is everything needed to call the tool correctly.

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%, so every parameter (dates, headcounts, hotelId format) is already documented in the schema. The description's date-window constraints largely restate what the schema says, and it adds no new syntax or party-composition detail. Baseline 3 applies.

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 resource and scope: it returns room types and rate plans with a free room every night for the party, plus inventory counts and prices. The filtering semantics ('free room every night') are more precise than the title alone. It does not name any sibling (e.g. list_daily_rates, list_rate_plans) as the adjacent alternative, so it falls short of full sibling differentiation.

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 concrete trigger ('when someone asks if rooms are free for certain dates or what a stay would cost') and a negative boundary ('Not for making a booking'). It does not, however, steer the agent toward or away from any actual sibling tool that overlaps on rates or room lists.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources