Skip to main content
Glama
Intervals.icu MCP Server
by arjohns

Icu Duplicate Events

icu_duplicate_events

Copies existing calendar events forward by a set number of weeks, creating multiple future repeats from known event IDs. Use it to schedule recurring workouts without rebuilding each event.

Instructions

COPY existing events forward in time by N weeks.

Use when the user says "repeat this workout for the next 4 weeks", "duplicate Monday's run on the next 3 Mondays". Reuses the existing events' payloads — different from icu_create_event / icu_bulk_create_events, which both build NEW events from scratch. 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_duplicate_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idsYesJSON array of event IDs to duplicate (e.g., '[123, 456]')
athlete_idNoAthlete ID (for coaches managing multiple athletes)
num_copiesNoNumber of copies to create
weeks_betweenNoWeeks between each copy

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-idempotent, open-world write; the description adds that copies retain the original events' payloads rather than re-specifying fields, which is the key behavioral fact an agent needs. It does not mention rate limits, whether duplicates can be undone, or behavior when a copied date already has an event — gaps that matter for a non-idempotent write.

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?

Front-loaded with the core action, then usage examples, then sibling differentiation, then the ID precondition — a natural decision order with no filler sentences.

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?

Mutating tool with full annotations and an output schema, so return values need no explanation; description covers mechanism and prerequisites adequately. It leaves out failure modes for a non-idempotent duplicate operation (collisions, partial success, permission needs), which keeps it short of fully complete.

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% and each parameter is individually described, so the schema carries the load. The description reinforces the time-shift concept ('by N weeks') and implies copy counts via the examples, but never ties these explicitly to num_copies or weeks_between, so the mapping remains inference.

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?

Opens with a specific verb+resource+mechanism: 'COPY existing events forward in time by N weeks.' It then explicitly contrasts itself with icu_create_event and icu_bulk_create_events by stating those build NEW events from scratch, so an agent can distinguish payload-reuse from creation without opening schemas.

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 concrete trigger utterances ('repeat this workout for the next 4 weeks'), names the alternative tools and the condition that selects them, and adds a prerequisite workflow (call icu_get_calendar_events first if IDs are unknown). It stops short of when-NOT-to-use edge cases (e.g., moving events, copying to a different athlete).

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