Skip to main content
Glama

Book an appointment

create_appointment
Destructive

Book an appointment on behalf of the business (for example one that came in by phone). For a restaurant table or an activity, pass partySize (how many people). Paid services are NOT charged when booked from here: the business takes the payment itself (only the public booking page charges online). Checks the slot is still free, assigns a person or room, creates the Google Calendar event, stores the customer details on their contact card (phone and custom answers as custom fields, plus the "booking" tag; the contact is created if it does not exist) and, if an email was given, sends the customer a confirmation with the appointment attached (.ics), branded as the business. Confirm the details with the user before calling it.

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>",
      "start": "<start>"
    },
    "name": "create_appointment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCustomer name.
withNoPerson or room (name or id). Omit to assign whoever is free (for restaurants, the smallest table that fits).
emailNoCustomer email (reminders go there).
phoneNoCustomer phone.
startYesStart, "YYYY-MM-DD HH:MM" in the business time zone (from get_booking_availability).
answersNoAnswers to the business's own questions, keyed by the intake field key (see get_booking_settings).
serviceYesService name or id.
partySizeNoHow many people (diners, participants), within the service partyMin-partyMax. Defaults to the minimum (1 for normal appointments).
workspaceIdNoDefaults to the workspace this connection is scoped to.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / partySize
      Added value: +{
      +  "description": "How many people (diners, participants), within the service partyMin-partyMax. Defaults to the minimum (1 for normal appointments).",
      +  "type": "number"
      +}
    • changedInput schema / properties / with / description
      Previous value: -"Person or room (name or id). Omit to assign whoever is free."New value: +"Person or room (name or id). Omit to assign whoever is free (for restaurants, the smallest table that fits)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only mark this as a non-read-only, open-world, non-idempotent, destructive write. The description goes well beyond that by enumerating the side effects: slot re-check, resource assignment, Google Calendar event creation, contact creation/update with custom fields and a 'booking' tag, and an outbound branded confirmation email with an .ics attachment. What it does not discuss is what happens on partial failure or whether any of these records can be undone/rolled back, which matters for a destructiveHint=true tool.

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 action and the intent ('on behalf of the business'), and nearly every clause carries useful information a caller could not get from the schema. The middle is one very long run-on sentence chaining six side effects, which costs some scannability.

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?

For a 10-parameter mutation with no output schema, the description covers the input side and the downstream effects thoroughly, including the retry contract via idempotencyKey. It stops short of saying what the call returns (e.g. an appointment id or the created event), which is the one gap an agent would notice after invoking it.

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 100%, so the baseline is 3; the description adds real meaning on top by explaining when partySize is relevant (restaurant tables, activities) and by clarifying the payment model tied to the paid service being booked. The 'with' behavior (assign whoever is free, smallest fitting table) is already documented in the schema, so some of this is repetition.

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 ('Book an appointment on behalf of the business') and immediately scopes it against the other path ('only the public booking page charges online'). The addition about restaurant tables/activities makes the intended object concrete, so an agent knows exactly what this tool creates.

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?

Gives a clear context for use (a booking that came in by phone, i.e. staff-side booking) and an explicit operational instruction: 'Confirm the details with the user before calling it.' It does not name a sibling to use instead when the booking should come from the customer or when a slot is taken (get_booking_availability is only referenced inside the schema), so the alternative-path guidance is implied rather than spelled out.

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