Skip to main content
Glama

beds24

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. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, so the description's main added value is the disclosure that 'Beds24 marks this endpoint Beta' and the mapping to GET /inventory/rooms/unitBookings, which are genuine traits not present in the annotations. It does not cover any other behavioral aspect such as pagination behavior or result size limits, so it earns credit but not a top score.

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?

The core purpose is front-loaded in the first clause and the whole definition is short, with no filler sentences. The trailing 'Beds24: GET /inventory/rooms/unitBookings' line is arguably redundant bookkeeping but cheap and not disruptive.

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

Completeness3/5

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

For a read-only grid query with full schema coverage and no output schema, the description covers the essentials and even sketches the return shape ('occupancy grid keyed by date'). However, with zero required parameters and both roomIds and propertyIds optional, the description never indicates whether either is needed or how they interact — a gap that matters for correct invocation.

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 page, startDate, endDate, roomIds and propertyIds including their formats. The description's 'endDate is the last night' restates what the schema already says ('Last night, YYYY-MM-DD'), adding no new semantics. Baseline 3 is appropriate when the schema does all the heavy lifting.

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 states a specific verb and resource: 'Which units of each room type are booked on each date — an occupancy grid keyed by date.' That is much sharper than a title restatement and tells the agent this is a unit-level occupancy snapshot. It does not, however, explicitly distinguish itself from close siblings like get_room_availability or get_room_calendar.

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 guidance and no exclusions. The only operational remark is 'endDate is the last night,' which is a date-interpretation note rather than a routing rule, and nothing tells the agent why it would pick this over the availability or calendar endpoints in the sibling list.

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.