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

Icu Bulk Delete Events

icu_bulk_delete_events
DestructiveIdempotent

Delete many calendar events in one batch call; safe mode removes future events and skips past or undated ones. Retrieve event IDs first, then run this destructive bulk cleanup.

Instructions

Delete MANY calendar events in a single batch call. Destructive — cannot be undone.

In safe delete mode (default), the call partitions the input list into deleted (future) and skipped (past or undated) and returns both. INTERVALS_ICU_DELETE_MODE=full disables the partition. If you don't already have the event IDs, call icu_get_calendar_events first to find them, 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_ids": "<event_ids>"
    },
    "name": "icu_bulk_delete_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idsYesJSON array of event IDs to delete (e.g., '[123, 456, 789]')
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

A4.3/5.0
Behavior5/5

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

Goes well past the destructiveHint/idempotentHint annotations by explaining the default 'safe' mode partition into deleted (future) and skipped (past or undated), the env-var switch to full mode, and irreversibility. This is exactly the behavioral context an agent needs before an irreversible bulk operation.

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 batch action, then mode behavior, then the alternative workflow. Every sentence earns its place; the hard-wrapped line breaks are cosmetic only.

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?

With an output schema present, the description need not enumerate return values, yet it still explains the deleted/skipped result shape. Only minor gap is not touching on athlete_id scoping for coaches, which the schema already covers.

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_ids format and athlete_id are already documented in the schema. The description references 'the input list' but adds no syntax or constraints beyond what the schema carries, so baseline 3 applies.

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 with explicit scope: 'Delete MANY calendar events in a single batch call.' The emphasis on MANY/batch implicitly separates it from the single-event icu_delete_event sibling without needing to open either schema.

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?

Gives a concrete prerequisite chain: if the event IDs are not already known, call icu_get_calendar_events first. It does not explicitly contrast with icu_delete_event for single deletions, but the batch framing makes the choice inferable.

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