Skip to main content
Glama

delete_event

DestructiveIdempotent

Permanently remove a calendar event when explicitly requested; this irreversible action uses an ETag to detect conflicts. Get the event URL and ETag from list_events or calendar_query first.

Instructions

Permanently delete a calendar event. WARNING: This action cannot be undone — the event is removed from the server immediately. Use only when the user explicitly requests deletion. Obtain the event URL and etag from list_events or calendar_query first. The etag ensures no conflicting changes occurred since the event was last retrieved. If the listing shows an etag_note instead of an etag, this event cannot be deleted with this tool: tell the user what the note says.

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_url": "<event_url>",
      "event_etag": "<event_etag>"
    },
    "name": "delete_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_urlYesFull URL of the event to delete. Obtain from list_events or calendar_query response.
event_etagYesETag of the event for conflict detection. Obtain from the same response as the event URL. Ensures no changes were made since retrieval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.6/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, but the description adds real value beyond them: irreversibility, immediate server-side removal, and the etag conflict-detection purpose. It stops short of saying what error occurs on an etag mismatch, which would complete the failure-mode picture.

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 warning and the irreversibility statement come first, followed by usage gating and prerequisites, which is the right order for a destructive tool. It is slightly longer than necessary because the etag explanation is repeated between the description and the schema field text.

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?

For a two-parameter destructive mutation with no output schema, the description supplies everything an agent needs: source of inputs, safety gate, irreversibility, conflict semantics, and the one documented blocking case.

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 the baseline is 3; the description earns an extra point by explaining the etag's conflict-detection role and the etag_note alternative that the schema never mentions. The event_url guidance largely restates the schema field description.

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 ('Permanently delete a calendar event') with the destructive nature front-loaded in the first sentence. The word 'permanently' plus the deletion framing separates it cleanly from siblings like update_event or delete_calendar.

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?

Gives an explicit gate ('Use only when the user explicitly requests deletion') and a concrete prerequisite chain pointing at list_events or calendar_query for the required inputs. It also names a case where the tool must not be used (etag_note present) and tells the agent to surface the note instead.

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