Skip to main content
Glama
intervals-icu-mcp
by hhopke

Icu Delete Event

icu_delete_event
DestructiveIdempotent

Permanently deletes one Intervals.icu calendar event by ID. Safe mode blocks past events and returns a deleted or skipped envelope, so look up the event ID first.

Instructions

Permanently delete ONE calendar event by ID. Destructive — cannot be undone.

In safe delete mode (default), past events are refused and reported in the skipped envelope with a hint about INTERVALS_ICU_DELETE_MODE=full. Returns a deleted / skipped envelope either way. If you don't already have event_id, call icu_get_calendar_events first to find it, then call this tool.

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": "icu_delete_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent ID to delete
athlete_idNoAthlete ID (for coaches managing multiple athletes)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds behavior not in annotations: the default 'safe' mode refuses past events and reports them in a `skipped` envelope with an env-var hint. That is meaningful operational context. It omits auth requirements and rate limits, keeping it just short of a 5.

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?

Front-loaded with the destructive warning, then mode behavior, then the prerequisite call. Well structured and short. The sentence 'Returns a `deleted`/`skipped` envelope either way' slightly repeats the preceding skipped-envelope detail.

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?

An output schema exists, so return-shape explanation isn't required, and the description still summarizes the envelope. Prerequisite, destructiveness, and mode gating are all covered. The only gap is not naming the bulk-delete sibling as the alternative for multi-event deletion.

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?

Schema coverage is 100%, so event_id and athlete_id are already documented in the schema. The description only reinforces the prerequisite for obtaining event_id and says nothing about athlete_id's coach-scoped semantics. Baseline 3 applies when the schema carries the burden.

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?

The first sentence names a specific verb and resource with scope: 'Permanently delete ONE calendar event by ID.' The emphasis on ONE implicitly separates it from the sibling icu_bulk_delete_events, though that sibling is never named explicitly.

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 gives a concrete prerequisite workflow: if event_id is unknown, call icu_get_calendar_events first. It also explains the default safe-mode gate on past events and how to bypass it. It doesn't mention bulk alternatives or when to prefer icu_update_event instead of deleting.

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

Deploy Server

Other Tools