Skip to main content
Glama

Get unit bookings (occupancy grid)

beds24_get_unit_bookings
Read-only

Which units of each room type are booked on each date — an occupancy grid keyed by date. endDate is the last night. Beds24 marks this endpoint Beta. Beds24: GET /inventory/rooms/unitBookings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.
endDateNoLast night, YYYY-MM-DD.
roomIdsNoOne or more room ids.
startDateNoFirst night, YYYY-MM-DD.
propertyIdsNoOne or more property ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description earns credit for adding the 'Beta' status warning (a stability/behavioral risk not in structured data) and clarifying endDate semantics. It stops short of describing pagination or result-size behavior, which the schema only partially covers, 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.

Conciseness5/5

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

Three terse fragments with the core purpose front-loaded first, followed by the one semantic nuance and the source endpoint. Nothing is padded and every clause carries signal.

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 usefully characterizes the return as a date-keyed occupancy grid, which is what an agent most needs to interpret results. It leaves pagination and the interaction of roomIds vs propertyIds to the schema, which handles them, so the definition is nearly complete for this 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 description coverage is 100%, so all five parameters are already documented in the schema, and the description's 'endDate is the last night' simply restates the schema's 'Last night' text. It adds no new syntax, format, or constraint detail beyond the schema, so the 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 verb+resource outcome — 'Which units of each room type are booked on each date' — and clarifies the shape as an 'occupancy grid keyed by date,' which is more concrete than the title alone. It does not, however, explicitly distinguish itself from siblings like get_room_availability or get_room_calendar, so an agent must infer the difference.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not guidance, and no alternative sibling is named despite several overlapping date/room tools (get_room_availability, get_room_calendar). The Beta note is a stability caveat rather than usage direction, so an agent gets no routing help.

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.