Skip to main content
Glama

cancel_event

DestructiveIdempotent

Cancel or delete a calendar event so it's excluded from future availability. For recurring series, target a single occurrence or cancel the whole series.

Instructions

Delete or cancel an event from a calendar. Use this to remove, cancel, or delete any scheduled event or appointment. The event is marked cancelled and excluded from future availability calculations. For a recurring series, pass occurrence_start to cancel just that one occurrence (the series continues); omit it to cancel the whole series. calendar_id is optional — if omitted the calendar is looked up from the event. Provide calendar_id to fail fast on cross-calendar typos.

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": {
      "event_id": "<event_id>"
    },
    "name": "cancel_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent ID to cancel
calendar_idNoCalendar ID that owns the event. Optional — if omitted the calendar is resolved from the event.
occurrence_startNoFor recurring events only: ISO 8601 start of the single occurrence to cancel. The rest of the series is unaffected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.8.4
    • addedInput schema / properties / calendar_id / maxLength
      Added value: +128
    • addedInput schema / properties / calendar_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
    • addedInput schema / properties / event_id / maxLength
      Added value: +128
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • addedInput schema / properties / event_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. Changed1 schema field changedv1.8.1
    • changedInput schema / properties / calendar_id / description
      Previous value: -"Calendar ID that owns the event. Optional — if omitted the calendar is resolved from the event. Matches the asymmetry with confirm_event / release_event which never required this arg."New value: +"Calendar ID that owns the event. Optional — if omitted the calendar is resolved from the event."
  3. Changed1 schema field changedv1.6.2
    • changedInput schema / properties / occurrence_start / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  4. Changed1 schema field changedv1.5.3
    • changedInput schema / properties / occurrence_start / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
  5. Changed1 schema field changedv1.4.1
    • addedInput schema / properties / occurrence_start
      Added value: +{
      +  "description": "For recurring events only: ISO 8601 start of the single occurrence to cancel. The rest of the series is unaffected.",
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      +  "type": "string"
      +}
  6. First observedv1.2.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior: cancellation is a state flag that propagates to future availability calculations, and recurring series are split per occurrence. It omits reversibility (can a cancelled event be restored?) and whether attendees are notified, which are the remaining behavioral gaps for a destructive operation.

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 structure is well front-loaded: purpose, then state effect, then the two parameter rules in descending importance. The second sentence stacks near-synonyms ("remove, cancel, or delete ... event or appointment") which is mild padding, but every remaining sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only three parameters, full schema coverage, no output schema, and annotations already covering the destructive/idempotent profile, the description supplies everything an agent needs: what is destroyed, how recurring events are scoped, and why calendar_id is worth passing. No material gap remains for a tool of this complexity.

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 a baseline of 3 applies, but the description goes beyond the schema on two parameters: it explains the consequence of the occurrence_start split ("the series continues") and gives the rationale for supplying calendar_id ("fail fast on cross-calendar typos") rather than merely restating that it is optional. This adds decision-relevant meaning the schema only sketches.

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 pair ("Delete or cancel an event from a calendar") and immediately disambiguates the semantics: the event is *marked* cancelled rather than purged. That tells an agent how this differs from a hard-delete sibling such as delete_calendar or from update_event, without needing to open 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 Guidelines4/5

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

It states clearly when to use it ("Use this to remove, cancel, or delete any scheduled event or appointment") and gives the recurrence decision rule: pass occurrence_start to cancel one occurrence, omit it to cancel the series. It does not name an alternative tool or state any when-not-to-use condition (e.g., declining vs. canceling, or handling an already-cancelled event), so it stops short of full routing guidance.

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