Skip to main content
Glama

List Bookings

list_bookings
Read-onlyIdempotent

List bookings. Filter by q (text), status (all|confirmed|quotes), upcoming=true (next gig today or later) or past=true (last gig date before today), and/or a gig-date range from/to (YYYY-MM-DD; keeps bookings whose gig dates overlap it). Filters combine. Each row has first_date and last_date (its gig span).

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
qNoSearch text; with multiple words, all must match.
toNoThe recipient — an email address or phone number, per the tool.
fromNoThe sender — an email address or phone number, per the tool.
pastNo
limitNoMaximum rows to return (integer; default varies, cap ~100).
offsetNoRows to skip, for paging (0-based integer).
statusNoA status value — see the tool's description for the allowed set.
upcomingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / from / description
      Added value: +"The sender — an email address or phone number, per the tool."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum rows to return (integer; default varies, cap ~100)."
    • addedInput schema / properties / offset / description
      Added value: +"Rows to skip, for paging (0-based integer)."
    • addedInput schema / properties / q / description
      Added value: +"Search text; with multiple words, all must match."
    • addedInput schema / properties / status / description
      Added value: +"A status value — see the tool's description for the allowed set."
    • addedInput schema / properties / to / description
      Added value: +"The recipient — an email address or phone number, per the tool."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely new behavior: AND-combination of filters, that upcoming/past are computed against the booking's last gig date, and that the from/to range is an overlap test rather than containment.

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?

A single dense paragraph that is front-loaded with the action, then filters, then return shape. Every clause carries information, though the parenthetical definitions stack up and could be split for faster scanning.

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?

With eight optional parameters and no output schema, the definition covers the risky ones (from/to/status/upcoming/past) and even tells the agent what each row contains (first_date/last_date). Paging is delegated to the schema, which documents it adequately; only the sibling-vs-sibling routing is missing.

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?

Adds real meaning beyond the schema: it supplies the status enum (all|confirmed|quotes) that the schema leaves undocumented, defines upcoming/past precisely, and gives the YYYY-MM-DD format plus overlap semantics for from/to. This is important because the schema's own from/to descriptions ('sender'/'recipient — an email address or phone number') are misleading for a date-range tool; limit/offset are left to the schema, which covers them.

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?

Opens with a specific verb+resource ("List bookings") and immediately scopes what can be filtered. It never distinguishes itself from the obvious sibling list_client_bookings, so an agent cannot tell from this text alone which listing endpoint to pick.

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?

Gives clear semantics for each filter and states "Filters combine," which implies how to construct a query, but there is no when-to-use guidance, no exclusions, and no pointer to an alternative tool when a client-scoped listing is wanted.

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