Skip to main content
Glama
hhopke
by hhopke

Icu Get Upcoming Workouts

icu_get_upcoming_workouts
Read-onlyIdempotent

Fetch upcoming planned workout calendar entries, excluding notes, races, and goals, to see what training is scheduled next. Returns calendar event IDs, not library templates.

Instructions

Fetch the planned WORKOUT entries dated on the upcoming CALENDAR (filters out notes, races, goals) — these are calendar EVENTS, not workout-library templates.

Use for "what's my next workout?", "what training is planned". Each id is a calendar event ID: pass it to icu_get_event / icu_update_event / icu_delete_event, never to the icu_*_workout library tools. For every calendar entry type use icu_get_calendar_events; for reusable templates stored in the library use icu_get_workouts_in_folder. hide_from_athlete / athlete_cannot_edit appear only when set (change them with icu_bulk_update_event_access).

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of planned workout events to return
athlete_idNoAthlete ID (for coaches managing multiple athletes)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.1.0
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of workouts to return"New value: +"Maximum number of planned workout events to return"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the result set is silently filtered to workouts only, and hide_from_athlete / athlete_cannot_edit are conditionally present and changed via icu_bulk_update_event_access. It stops short of describing ordering or the default 7-day window semantics, which an agent might want.

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-loads the core distinction (calendar events, not library templates) in the first clause, then layers usage, id routing, alternatives, and field caveats in short, scannable sentences. No sentence is redundant with the schema or annotations.

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?

With an output schema available and annotations covering safety, the description's remaining duty is routing and identity of the returned objects — the id provenance warning and the conditional fields are exactly the details an agent would otherwise get wrong. Nothing materially needed to call it correctly is missing.

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 description coverage is 100%, with both limit and athlete_id documented in the schema, so the baseline is 3. The description adds nothing about either parameter — no clarification of the time window that 'upcoming' implies or how athlete_id behaves for coaches — so it neither compensates nor regresses.

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 (fetch planned workout entries on the upcoming calendar) and immediately disambiguates from two classes of confusable siblings: calendar events vs. workout-library templates. An agent can distinguish it from icu_get_calendar_events and icu_get_workouts_in_folder without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger phrases ("what's my next workout?"), explicit exclusions (filters out notes, races, goals), and names the correct alternatives for every other case: icu_get_calendar_events for all entry types, icu_get_workouts_in_folder for library templates. It also states which downstream tools the returned id is valid for and which it is not.

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