Skip to main content
Glama

Read bookings

bookings_get
Read-onlyIdempotent

Read the bookings of your app. type calendar: the booking calendars (what people book) with their ids and seats per slot. type session, with calendar_id: the booked sessions of a calendar from start_date to end_date, each with its date, times, seats left and attendees; the id of an attendee is the booking_id. type booking, with booking_id: one booking. type closing_day, with calendar_id: the days the calendar is closed, with their ids. To find the booking of a person, read the sessions of the day and look for the name among the attendees. A cancelled booking no longer exists. The answer gives ids, names, emails, dates and times; a refusal names the argument to fix.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "bookings_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoWith type session and closing_day: page of the list, starting at 1.
typeYesWhat to read. session and closing_day need calendar_id; booking needs booking_id.
end_dateNoWith type session: last day to list, as YYYY-MM-DD. Default: no limit.
per_pageNoWith type session and closing_day: rows per page, 100 at most (default 50).
booking_idNoWith type booking: the booking to read (the id of an attendee in a session).
start_dateNoWith type session: first day to list, as YYYY-MM-DD. Default: today.
calendar_idNoId of a calendar, read with type calendar. Required with type session and closing_day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered; the description adds behavior beyond that: 'A cancelled booking no longer exists' discloses a data-lifecycle rule that changes how results should be interpreted, and 'a refusal names the argument to fix' documents the error contract. It does not cover authorization requirements or result ordering, which keeps 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?

Front-loaded with the one-line purpose, then a tight 'type X, with Y: result' pattern repeated per mode, plus two short operational sentences. Dense but every clause carries information; no filler or restatement of the tool name.

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?

For a 7-parameter polymorphic read with no output schema, the description carries the missing burden by describing the payload contents of each of the four modes, the attendee/booking_id linkage, date-range scoping, and the error behavior. Nothing an agent needs to call this correctly is left unstated.

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 description coverage is 100%, so the baseline is 3; the description nevertheless adds cross-parameter meaning the schema only implies, notably that the booking_id is 'the id of an attendee' in a session and that calendar_id is obtained via type calendar, clarifying how values from one mode feed the next. It does not clarify pagination defaults or date-range interactions beyond what the schema already states.

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?

States a specific verb and resource ('Read the bookings of your app') and then enumerates each of the four modes with exactly what is returned for each ('the booking calendars ... with their ids and seats per slot', 'the booked sessions ... each with its date, times, seats left and attendees'). This is precise enough that an agent can tell it apart from the write siblings bookings_add/bookings_remove without opening any schema.

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 mode-selection rules tied to required arguments ('type session, with calendar_id', 'type booking, with booking_id') and even supplies a procedure for a case the API does not cover directly ('To find the booking of a person, read the sessions of the day and look for the name among the attendees'). It stops short of naming sibling tools as alternatives for any case, so it is strong context without explicit exclusions.

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.