Skip to main content
Glama

List bookable times for a session on one day

bookings_session_timeslots
Read-onlyIdempotent

Ask the booking engine itself which start times a session can actually be booked at on one day, instead of working them out from a scheduler and a calendar. It takes sessionId and the exact year, month and day, where month is 1 to 12 and day is the day of the month. The available rows are exactly the start times an athlete is offered that day. A blocked time comes back labelled rather than missing: available is false, unavailableReason says why, and the row is shown at the time that blocks it (the full booked range, or the conflicting booking's own time), so blocked rows can be merged. On an available row, start and end are what bookings.manual.create takes as date_time.start and date_time.end, with the same year, month and day as this read, and only such times are accepted by the booking write. booked, slotsLeft, maxAthletes and full describe how much room is left, and conflicts says what kind of clash blocks a time, which session it belongs to and when it runs. Times are in the group timezone that bookings.session.availability reports. Optional resourcePoolKey picks one resource pool on a session that has them, and naming one the session does not have is refused. The group is always the active group of the caller and can never be chosen. This returns times and counts only: no client name, email address, phone number, photo or profile id is included. This is a read: it books nothing and changes nothing. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.

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": {
      "input": "<input>"
    },
    "name": "bookings_session_timeslots"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesThe session and the exact day to list times for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / input / description
      Added value: +"The session and the exact day to list times for."
    • addedInput schema / properties / input / properties / day / description
      Added value: +"Day of the month, 1 to 31."
    • addedInput schema / properties / input / properties / month / description
      Added value: +"Month of the day, 1 to 12."
    • addedInput schema / properties / input / properties / resourcePoolKey / description
      Added value: +"One resource pool on a session that has them; a pool the session does not have is refused."
    • addedInput schema / properties / input / properties / sessionId / description
      Added value: +"ID of the session to list times for."
    • addedInput schema / properties / input / properties / with_reasons / description
      Added value: +"Only true is accepted; with it, candidates past the booking window come back unavailable with reason future_limit."
    • addedInput schema / properties / input / properties / year / description
      Added value: +"Year of the day, 1900 to 9999."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them: blocked rows are returned labelled rather than omitted, with unavailableReason and rendered at the blocking time so rows can be merged; conflicts describe the clash type, session and window. It also discloses that no client name, email, phone, photo or profile id is returned and that returned strings are business-entered data.

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?

Front-loaded with the core purpose and dense with useful specifics rather than filler, so nearly every sentence earns its place. Minor waste exists — 'This is a read: it books nothing and changes nothing' merely repeats the readOnlyHint annotation, and the single long block could be split for scanability.

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?

With no output schema, the description compensates fully by enumerating the returned fields (start, end, available, unavailableReason, booked, slotsLeft, maxAthletes, full, conflicts) and how blocked rows appear. Read-only safety is covered by annotations, and the runtime/environment and PII constraints are stated explicitly, leaving nothing an agent needs before calling it.

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 coverage is 100%, so the baseline is 3: month 1-12, day-of-month, year range and resourcePoolKey refusal are all already documented in the schema and the description largely restates them. The added value is limited to output-side semantics — start/end align with bookings.manual.create's date_time.start/end and times are in the group timezone — while with_reasons is never explained in the description at all.

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 — 'which start times a session can actually be booked at on one day' — and explicitly contrasts it with deriving slots from a scheduler and calendar. An agent can distinguish this from bookings_session_availability (referenced only for timezone) and from the write tool bookings.manual.create without opening either 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?

Guidance is clear: use this instead of computing times from a scheduler/calendar, and the resulting start/end are exactly what bookings.manual.create accepts, which routes the agent from read to write. It also states constraints (group is always the caller's active group, only qa-multi/qa-mcp-auth runs allowed) but never names an explicit when-not or a specific alternative sibling for cases this tool doesn't cover.

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