Skip to main content
Glama

delete_calendar

DestructiveIdempotent

Delete a calendar and all its events using its calendar URL; call only when the user explicitly asks to remove a calendar, as deletion is permanent without trash.

Instructions

Delete a calendar and all its events. WARNING: on servers without a trash bin this cannot be undone; servers with one (e.g. Nextcloud) keep the calendar in the trash for a while. Use this when user explicitly asks to "delete calendar" or "remove calendar"

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": {
      "calendar_url": "<calendar_url>"
    },
    "name": "delete_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
calendar_urlYesThe URL of the calendar to delete (get from list_calendars)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description goes beyond them: it discloses that all contained events are deleted too, that recoverability is server-dependent, and that servers with a trash bin (Nextcloud cited) retain the calendar temporarily. This is exactly the concrete consequence and reversibility context an agent needs before a destructive call.

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?

Three tight sentences: action first, risk second, invocation trigger third — well front-loaded with zero filler. The 'WARNING:' capitalization is slightly heavy-handed, but it correctly draws attention to the irreversible case and costs no length.

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 one-parameter destructive tool with no output schema and annotations covering the safety profile, the description supplies the cascade effect and reversibility caveat. Minor gaps remain: it does not say what happens if calendar_url does not exist, nor what the call returns on success.

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?

The single parameter has 100% schema description coverage, including the hint to obtain it from list_calendars, so the schema carries the semantics. The description adds no format, URL-shape, or validation detail beyond it, making baseline 3 appropriate.

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+resource ('Delete a calendar') and adds scope ('and all its events'), which is the key side effect an agent must know. Against siblings like delete_event and delete_contact the resource distinction is unambiguous, so no confusion is possible.

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?

Provides explicit trigger conditions ('user explicitly asks to "delete calendar" or "remove calendar"'), which also functions as a guard against over-eager invocation. It does not name a when-not-to-use case (e.g. to remove a single event, use delete_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.