Skip to main content
Glama

cancel_appointment

Destructive

Cancel a client's booking and return its new status. Use it to free the slot and record a cancellation reason; no payment or refund is taken.

Instructions

Cancel a client's appointment. Cancels the booking and returns its new status. Cotlet takes no payment and issues no refund. 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": {
      "appointment_id": "<appointment_id>"
    },
    "name": "cancel_appointment"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoShort note kept with the cancellation.
appointment_idYesAppointment id from list_appointments.

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?

Annotations already flag the operation as destructive and open-world, but the description adds genuinely new behavioral context: no payment is taken, no refund is issued, the booking's new status is returned, and the call is gated by a manual confirmation in the Cotlet console. It stops short of saying whether a cancellation can be undone or what happens to associated waitlist/time-slot records.

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?

Four short sentences, front-loaded with the action and followed by the consequences and the approval gate. Slightly redundant ('Cancel a client's appointment' then 'Cancels the booking'), but nearly every clause carries information an agent needs.

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 destructive mutation with no output schema, the description covers the important ground: side effects on payment/refunds, the returned status, and the human confirmation gate. Only the reversibility of the cancellation and any downstream effects remain unstated.

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%, so both parameters are already documented in the schema, including that appointment_id comes from list_appointments. The description adds no further semantics for appointment_id or the optional reason note, so the baseline of 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?

The description opens with a specific verb and resource: 'Cancel a client's appointment.' It is unambiguous and clearly distinct from siblings such as reschedule_appointment or create_appointment, so an agent can identify the correct tool without inspecting 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?

Usage is implied by the verb, but the description never states when to cancel versus reschedule, nor any prerequisites (e.g. the appointment must exist and be in a cancellable state). No alternatives are named, leaving the agent to infer selection logic.

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