Skip to main content
Glama

List bookings

list_bookings
Read-only

Bookings for a site, soonest first (default: from now, next 60 days, not cancelled). Test bookings made in a draft preview are left out unless tests is "include" or "only".

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": {
      "site": "<site>"
    },
    "name": "list_bookings"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD
fromNoYYYY-MM-DD
siteYesSite slug (e.g. "kopitiam-muar") or id
testsNoexclude
statusNo

Output Schema

NameRequiredDescriptionDefault
bookingsYes
timezoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "bookings": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "created_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "date": {
      +            "type": "string"
      +          },
      +          "email": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ends_at": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "notes": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "owner_note": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "phone": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ref": {
      +            "type": "string"
      +          },
      +          "service": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "staff": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "starts_at": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "test": {
      +            "type": "boolean"
      +          },
      +          "time": {
      +            "type": "string"
      +          },
      +          "when": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ref",
      +          "service",
      +          "date",
      +          "time",
      +          "when",
      +          "starts_at",
      +          "ends_at",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "timezone": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "timezone",
      +    "bookings"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine context beyond that: the sort order, the implicit date window, the implicit exclusion of cancelled bookings, and the fact that draft-preview test bookings are hidden by default. It still doesn't say anything about result limits or pagination.

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?

Two dense sentences, with the scope and sort order front-loaded and defaults immediately after. Every clause carries information; only the parenthetical is slightly bumpy to parse.

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?

An output schema exists, so return values need not be described. For a five-parameter list tool with annotations covering safety, the description supplies the behavioral defaults an agent needs to call it correctly and interpret the result set scope.

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 60%, so the description safely carries extra weight. It explains what the implicit defaults mean for 'from'/'to' (now through 60 days) and that 'status' defaults to non-cancelled, and it clarifies the practical effect of 'tests' values ('include' or 'only' let draft test bookings through) beyond the bare enum in the schema.

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 names a specific resource (bookings) scoped to a site and states the sort order, 'soonest first'. It does not name a sibling it is distinct from, but the resource is unambiguous among the list_* tools, so an agent can identify it without opening the schema.

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 default window (from now, next 60 days) and the default status filter imply the intended use case: upcoming bookings. However, no explicit when-to-use or when-not guidance is given, and no alternative tool is suggested for past bookings or for finding a single booking.

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