Skip to main content
Glama

getBookings

Read-only

List bookings of bookable resources like rooms, desks, and parking lots. Omit locationRef and resourceRef to list bookings across all locations, or provide one to scope to a location or resource. Call getLocations to list locations, or getLocation to fetch one by locationId. Get resourceRef from getResources. Call getCustomers to list valid customerRef values. Filter by customerRef, type, status, or startDate/endDate ranges.

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": "getBookings"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoResource types of the booked resources to filter by, e.g. `room,hotDesk`. Defaults to all bookable types. Comma-separated, one or more of: hotDesk, dedicatedDesk, office, parkingLot, room, conferenceRoom, eventSpace, meetingRoom, phoneBooth, studio, equipment, station.
limitNoMaximum number of bookings per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.
orderNoSort order as `<field>:<direction>`, where field is startDate, endDate, createDate or deleteDate and direction is asc or desc. deleteDate lists only cancelled bookings, by when they were cancelled, and cannot be combined with singleBookings. Defaults to startDate:asc when a startDate filter is given, endDate:asc when only an endDate filter is given, and createDate:desc otherwise.
statusNoBooking statuses to filter by, e.g. `confirmed,canceled`. `requested` lists the booking requests waiting for an administrator, and `declined` the ones an administrator declined or nobody answered before they started. Defaults to tentative and confirmed, or to canceled when ordering by deleteDate. Comma-separated, one or more of: tentative, confirmed, canceled, requested, declined.
endDateNoFilter by end date (endDate). Provide gt, gte, lt, lte ISO datetimes.
userRefNoUUID of the user whose bookings to list, both made and attended. Without locationRef or resourceRef, lists the user's bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRefOwner.
startDateNoFilter by start date (startDate). Provide gt, gte, lt, lte ISO datetimes.
createDateNoFilter by create date (createDate). Provide gt, gte, lt, lte ISO datetimes.
customerRefNoUUID of the customer whose bookings to list, both made and attended.
locationRefNoUUID of the location whose bookings to list. Omit to list bookings across every location of the network.
resourceRefNoUUID of the resource whose bookings to list.
userRefOwnerNoUUID of the user whose own bookings to list: bookings the user made, not ones they were added to as an attendee. Without locationRef or resourceRef, lists the user's own bookings across every location of the network. Cannot be combined with customerRef, companyRefOwner, or userRef.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page.
singleBookingsNoSet to "true" to expand repeating bookings into single occurrences.
companyRefOwnerNoUUID of the company whose own bookings to list: bookings the company or its members made, not ones they were added to as attendees. Cannot be combined with customerRef, userRef, or userRefOwner.

Output Schema

NameRequiredDescriptionDefault
bookingsYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / bookings / items / properties / request / properties / ticketRef
      Removed value: -{
      -  "description": "ID of the ticket that holds the conversation between the person and the administrators.",
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / bookings / items / properties / payments / items / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / bookings / items / properties / scheduledPayment / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / bookings / items / properties / orderRef / description
      Previous value: -"ID of the shop order for the add-ons bought with the booking. Omitted when the caller has no access."New value: +"ID of the shop order for the cross-sells bought with the booking. Omitted when the caller has no access."
  4. Changed1 schema field changed
    • addedOutput schema / properties / bookings / items / properties / partialRefunds
      Added value: +{
      +  "description": "Shares of the payment refunded when the booking is canceled after refundThreshold has passed, copied from the resource's refund policy when the booking was made. Omitted when there are none.",
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "percent": {
      +        "type": "number"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "percent",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / bookings / items / properties / orderRef
      Added value: +{
      +  "description": "ID of the shop order for the add-ons bought with the booking. Omitted when the caller has no access.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered; the description adds real value by disclosing default scope (network-wide listing when no refs are supplied) and the fact that filters can be combined. It does not discuss pagination behavior or result ordering, but those live in the schema and output schema.

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?

Five short sentences, front-loaded with purpose then scoping then dependency resolution then filters — no filler. Slightly dense in the middle sentences but every clause conveys actionable information.

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 15-parameter list tool with an output schema and full annotation coverage, the description supplies the missing decision-level context: when to scope by location/resource, how to obtain refs, and which filters exist. Pagination (nextPageToken) and per-parameter defaults are left entirely to the schema, which is acceptable given its richness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description earns above baseline by telling the agent where each reference-valued parameter comes from (resourceRef from getResources, customerRef from getCustomers) and by grouping the filter families (customerRef, type, status, startDate/endDate). It omits the mutual-exclusion rules and the singleBookings/order interplay, which are documented in the schema.

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?

Opens with a specific verb and resource ('List bookings of bookable resources like rooms, desks, and parking lots'), naming the concrete domain objects so it is instantly distinguishable from the singular getBooking sibling.

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?

Gives explicit scoping guidance ('Omit locationRef and resourceRef to list bookings across all locations, or provide one to scope') and routes the agent to getLocations, getLocation, getResources, and getCustomers to obtain the refs it needs. It stops short of stating exclusions between mutually exclusive filters (e.g. userRef vs customerRef), which the schema carries instead.

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