Skip to main content
Glama

Get free appointment slots

get_booking_availability
Read-onlyIdempotent

Free slots for a service from a given day, honouring hours, days off, spots, buffers and what is already in Google Calendar. Times are in the business time zone. For restaurants (partyMode "tables") and activities ("seats") pass partySize: the slots are the ones with a table that fits, or enough spots left, for that many people.

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": {
      "service": "<service>"
    },
    "name": "get_booking_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days from that day (1-30). Default 7.
fromNoFirst day to look at, "YYYY-MM-DD". Defaults to today.
withNoOnly slots with this person or room (name or id).
serviceYesService name or id (see get_booking_settings).
partySizeNoHow many people (diners, participants). Defaults to the service minimum (1 for normal appointments).
workspaceIdNoDefaults to the workspace this connection is scoped to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / partySize
      Added value: +{
      +  "description": "How many people (diners, participants). Defaults to the service minimum (1 for normal appointments).",
      +  "type": "number"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and openWorld=true, so the safety profile is covered. The description adds real behavioral substance beyond that: slots honour business hours, days off, spot counts, buffers and existing Google Calendar events, and returned times are in the business time zone. It stops short of describing the shape of a returned slot or how results are ordered or capped.

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?

Three sentences, each carrying distinct information: the core retrieval plus what it respects, the time-zone caveat, and the partySize rule. The time-zone sentence is appropriately short and the partySize rule is placed after the main purpose, so nothing important is buried.

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 six params, full schema coverage and no output schema, the description covers the non-obvious behaviors an agent needs: time-zone convention, calendar-aware filtering and the partySize/partyMode interaction. It is not fully complete because it never indicates what a returned slot contains or how the days window bounds the result set.

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. The description does add meaning the schema cannot convey on its own, namely that partySize interacts with a service's partyMode so that 'tables' yields slots with a fitting table and 'seats' yields slots with enough spots left, but it leaves days, from and with entirely to 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 gives a specific verb and resource: it returns free appointment slots for a service starting from a given day, which clearly separates it from the mutation siblings like create_appointment and cancel_appointment. It does not explicitly contrast itself with nearby read tools such as get_booking_settings, relying instead on a passing parenthetical reference.

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?

Usage context is implied rather than stated: it explains that partyMode 'tables' or 'seats' requires partySize, and points to get_booking_settings for service names, which tells the agent how to call it correctly. There is no explicit when-to-use versus when-not guidance and no statement of what the tool is not for.

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