Skip to main content
Glama

List bookings

list_bookings
Read-only

List bookings for a session or participant. Participants only ever see their own bookings; teachers only see bookings for sessions they instruct.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 25).
statusNo
participant_idNo
class_session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already establish readOnly=true, destructive=false, and openWorld=false, which lowers the burden. The description adds genuinely useful context beyond them: results are authorization-scoped, with participants seeing only their own bookings and teachers seeing only sessions they instruct, which tells the agent to expect partial result sets. It says nothing about ordering, pagination beyond the default page, or whether filters combine with AND semantics.

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?

Two short sentences with zero filler; the scope comes first and the access-scoping caveat second. Nothing is repeated from the annotations or the schema.

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?

With no output schema and only 25% parameter coverage, the description must carry more weight. It covers the accessibility story well but leaves the agent guessing about result shape, ordering, and how the status enum interacts with the two ID filters.

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 25%: only limit is documented, while status, participant_id, and class_session_id carry no per-parameter text. The phrase "for a session or participant" maps loosely to class_session_id and participant_id and so partially compensates, but status filtering and mixed-filter behavior go unexplained.

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 gives a specific verb and resource ("List bookings") plus the two filter dimensions: session or participant. It is much more precise than the generic title, but it names no sibling tool, so the agent must infer that other booking-related listers are not the right call.

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

Usage Guidelines3/5

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

The description implies when the tool applies (retrieving bookings scoped to a session or a participant), and the access notes tell the agent what each caller will see. It never states when NOT to use it, nor names an alternative for org-wide or cross-participant reporting, so the guidance stays implicit.

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