Skip to main content
Glama

Delete event

calendar_delete_event
Destructive

Delete a calendar event by ID using its last-read ETag; if the event changed since then, the request is refused to prevent overwriting updates.

Instructions

Deletes an event. Needs the etag from the last read; a changed event is refused.

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": {
      "id": "<id>",
      "etag": "<etag>"
    },
    "name": "calendar_delete_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOpaque id.
etagYesThe `etag` from the last read.

Output Schema

NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: an optimistic-concurrency contract where a stale etag causes the write to be refused. It omits side effects such as attendee notification, series/recurring handling, and idempotency on an already-deleted event.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero waste, with the core action first and the hard precondition second. Nothing could be removed without losing information.

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 simple two-parameter destructive tool with full annotation coverage and an output schema, the definition supplies the essential precondition and failure mode. A brief note on recursive/recurring events or post-delete state would make it fully complete.

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 both parameters are documented, giving a baseline of 3. The description goes beyond the schema by explaining why etag matters and what happens on mismatch, which is real semantic value for the only non-trivial parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Deletes an event" gives a specific verb plus resource, which cleanly separates it from calendar_get_event and calendar_update_event. It stops short of naming any sibling or scoping which events can be deleted, so it is clear but not maximally differentiating.

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?

"Needs the etag from the last read" establishes a concrete precondition that implies a read-before-delete workflow, and "a changed event is refused" warns about the failure mode. It does not discuss when to prefer update_event over delete or how to handle the stale-etag case.

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