Skip to main content
Glama

create_appointment

Destructive

Books a barber appointment for a client, reserving the selected services and start time; returns SLOT_TAKEN if the barber is unavailable, so no conflicting booking is created.

Instructions

Book an appointment for a client with a barber. Books the slot and returns the appointment. It fails with SLOT_TAKEN if the barber is booked or blocked then, and nothing is created. Payments are not part of this call. Waits for your OK in the Cotlet console before it runs.

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": {
      "client_id": "<client_id>",
      "barber_id": "<barber_id>",
      "service_ids": "<service_ids>",
      "start": "<start>"
    },
    "name": "create_appointment"
  }
}

Input Schema

NameRequiredDescriptionDefault
startYesStart time, YYYY-MM-DDTHH:MM:SS in the shop's time zone.
barber_idYesBarber id from list_barbers.
client_idYesClient id from list_clients.
service_idsYesService ids from list_services.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond the annotations: atomic failure with the SLOT_TAKEN code and 'nothing is created', the exclusion of payments, and a human approval gate in the Cotlet console before execution. The approval gate in particular is not derivable from readOnlyHint=false/destructiveHint=true/openWorldHint=true. It stops short of saying what the returned appointment contains or how invalid client/barber ids surface.

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?

Short and front-loaded: the core action and return lead, with the failure mode and approval gate following. The second sentence ('Books the slot and returns the appointment') slightly restates the first, which is the only wasted line.

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 no output schema, the description still indicates a return value ('returns the appointment') and names the failure code, plus the approval step — enough to call it correctly. The shape of the returned appointment is left unspecified, which is the one remaining gap for a mutation tool.

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 100% and every field already documents its own provenance (barber_id from list_barbers, client_id from list_clients, service_ids from list_services) plus the timestamp format. The description adds no parameter-level meaning, so the baseline 3 applies.

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 for a client with a barber') and adds what the call produces ('returns the appointment'). The verb itself separates it cleanly from cancel_appointment and reschedule_appointment, and 'Payments are not part of this call' rules out an adjacent scope an agent might wrongly assume.

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?

Use context is implied by the booking verb, and the SLOT_TAKEN condition tells the agent when the call will not succeed. However, there is no explicit routing guidance (e.g., use reschedule_appointment to move an existing booking, or block_time to hold a slot) and no stated prerequisites beyond the implicit id lookups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.