Skip to main content
Glama

Cancel an appointment

cancel_appointment
Destructive

Cancel an appointment on the Sales Calendar, optionally noting a reason on it. Ids come from list_appointments. CRM calendar only, no attendee email. Appointments synced to Google Calendar or booked through a scheduling link return manage_in_app: cancel those in the Sales Calendar. Confirm with the member first.

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
reasonNoOptional reason, appended to the appointment notes.
appointment_idYesAppointment id (uuid) from list_appointments.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNoPresent only when ok is false.
messageNo
appointmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the mutation risk is known; the description adds genuinely new behavior — the reason is appended to the appointment notes, no attendee email is sent, and some appointments cannot be cancelled via this tool at all. It stops short of saying whether the cancellation can be undone or what the result state looks like, but with an output schema present that is a minor gap.

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?

The core action is front-loaded and every sentence carries a distinct constraint (id source, calendar scope, fallback for synced bookings, confirmation). The clipped, telegraphic phrasing ('return manage_in_app') is slightly terse but costs no clarity.

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 two-parameter destructive tool with full annotations and an output schema, the description covers prerequisites, scope limits, side effects on notes, and notification behavior. Only reversibility of the cancellation itself is left implicit.

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%, and the description largely restates it: appointment_id provenance ('from list_appointments') and the optional reason noted on the appointment. It adds only the provenance hint, not new syntax or constraints, so it sits at the baseline.

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 states a specific verb and resource ('Cancel an appointment on the Sales Calendar') plus the optional reason behavior, which is enough to distinguish it from reschedule_appointment and list_appointments without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the prerequisite ('Ids come from list_appointments'), an explicit exclusion ('CRM calendar only, no attendee email'), and routing for the excluded cases ('Appointments synced to Google Calendar or booked through a scheduling link return manage_in_app: cancel those in the Sales Calendar'), plus a pre-call caution to confirm with the member first.

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