Skip to main content
Glama

delete_calendar

DestructiveIdempotent

Remove a calendar by ID with a soft delete: events stop being returned, availability no longer includes it, and booking links stop working.

Instructions

Delete a calendar (soft delete). Its events are no longer returned and it stops contributing to availability. Its booking pages are deleted too (their public links stop working). Agent keys may only delete calendars owned by their agent.

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_id": "<calendar_id>"
    },
    "name": "delete_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
calendar_idYesCalendar ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / calendar_id / maxLength
      Added value: +128
    • addedInput schema / properties / calendar_id / minLength
      Added value: +1
    • addedInput schema / properties / calendar_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. First observedv1.2.5

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, which already declare destructiveHint=true and idempotentHint=true, the description explains that this is a soft delete, that events disappear from results, that availability is affected, and that booking pages are deleted with public links breaking. This gives the agent concrete consequences of a destructive operation that annotations alone do not convey.

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?

The description is four tight sentences with the core operation and soft-delete nature front-loaded, followed by impact and authorization constraints. Every sentence adds distinct information and none restates the tool name or schema without purpose.

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 single-parameter destructive tool with no output schema, the description covers the critical behavioral details: soft deletion, cascade to booking pages, effect on events and availability, and authorization scope for agent keys. An agent has enough information to invoke it correctly and understand the consequences.

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 input schema already documents calendar_id at 100% coverage, including its type and constraints. The description adds an ownership constraint relevant to agent keys but does not explain parameter syntax or formatting beyond what the schema provides, matching the baseline for high schema coverage.

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 ('Delete a calendar') and immediately qualifies the operation as a soft delete, which distinguishes it from a hard-delete interpretation an agent might otherwise assume.

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 clearly establishes the authorization condition for agent keys ('may only delete calendars owned by their agent') and discloses the operational consequences that matter when choosing this tool. It does not explicitly compare this tool to a sibling alternative, so it falls short of a full when-to-use/when-not-to-use routing instruction.

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