Skip to main content
Glama

Groundsocial

Rooms and prices of a Booking.com property for a stay

booking_hotel_rooms
Read-onlyIdempotent

A Booking.com property’s room types for a stay, with the best available price and nightly prices.

A property for a stay (check_in and check_out required) and party: whether Booking.com has an offer, the best (lowest-priced) offer with its room, meal plan and free-cancellation deadline, the total price, the lowest price night by night with minimum stay, and the property’s room types (name, beds, occupancy, amenities). Logged out, Booking.com’s per-room rate table is only on its challenged hotel page, so other rooms’ prices are not listed.

Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "booking_hotel_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoBooking.com hotel id.
urlNoA property link, https://www.booking.com/hotel/<cc>/<name>.html.
roomsNoRooms (default 1).
adultsNoAdults (default 2).
check_inNoArrival day, YYYY-MM-DD (required).
childrenNoChildren; their ages default to 8 unless children_ages is given.
currencyNoISO currency for prices (default USD).
languageNoBooking.com language for texts (en-us, en-gb, de, fr, …).
check_outNoDeparture day, YYYY-MM-DD (required).
children_agesNoComma-separated ages 0-17, one per child.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds genuinely new behavior: 2 credits per call with automatic refund on failure, and the return payload carrying cost_credits and credits_remaining. It also discloses a real data limitation (other rooms' prices unavailable when logged out), which prevents an agent from expecting a full rate table.

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 is front-loaded in the first sentence, and the cost/limitation notes come last where they belong. The middle sentence is a long comma-chained enumeration that takes effort to parse, and the title largely restates the opening line, but there is little outright waste.

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 ten-parameter tool with no output schema, the description does the heavy lifting: it describes what comes back, the credit cost, refund behavior, and a data-availability caveat. The remaining gap is that with zero required fields, it never states that id or url must be supplied and that they are alternatives — an agent could call it with neither.

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 the schema already documents all ten parameters and their defaults. The description adds one useful clarification — that check_in and check_out are required even though the schema's required array is empty — plus the notion of 'party' grouping rooms/adults/children. It does not explain how to choose between the optional id and url identifiers, which is the main semantic gap.

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 pair: it returns a Booking.com property's room types with best available price and nightly prices for a given stay. The enumerated contents (best offer, meal plan, cancellation deadline, total price, per-night lowest, room types with beds/occupancy/amenities) make the output concrete. It does not explicitly distinguish itself from booking_hotel_get, which likely returns property-level rather than rate-level data, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: 'A property for a stay (check_in and check_out required)' signals that this is the date-scoped pricing call. There is no explicit 'use this when you need prices/availability; use booking_hotel_get for property details' routing, and no stated prerequisites beyond the date requirement. The caveat about logged-out rate tables is a data limitation, not when-to-use guidance.

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.