Skip to main content
Glama
hhopke
by hhopke

icu_get_upcoming_workouts

Read-onlyIdempotent

Retrieve upcoming planned workout calendar events for an athlete, excluding notes, races, and goals, so users can identify their next training sessions.

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

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

Output Schema

TableJSON 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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered. The description adds genuinely non-structured context: returned IDs are calendar event IDs that must not be passed to the icu_*_workout library tools, notes/races/goals are excluded, and hide_from_athlete/athlete_cannot_edit appear only when set with a pointer to icu_bulk_update_event_access for mutation.

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?

The core calendar-vs-library distinction is front-loaded in the opening sentence and each subsequent clause routes to a specific sibling, so little text is wasted. It is slightly dense with sibling references, but most sentences earn their place.

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 present, the description need not describe return values, and it correctly focuses on identity, filtering, and routing. Combined with full schema coverage and rich annotations, an agent has everything needed to invoke it correctly.

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%, so limit and athlete_id are already documented in the schema; the description adds no additional parameter syntax, defaults, or semantics. This is the expected baseline when the schema does the heavy lifting.

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 (Fetch), resource (planned WORKOUT entries on the upcoming CALENDAR) and scope, explicitly noting what is filtered out (notes, races, goals). It immediately distinguishes itself from library-template tools by declaring these are calendar EVENTS, not templates, so an agent can differentiate without opening a sibling 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?

Names the exact alternatives and the condition that selects each: icu_get_calendar_events for every calendar entry type, icu_get_workouts_in_folder for reusable templates, and the icu_get_event/update/delete family for acting on returned IDs. It also paraphrases natural-language triggers ('what's my next workout?').

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