Skip to main content
Glama
hhopke
by hhopke

icu_bulk_update_event_access

Idempotent

Hide, reveal, lock, or unlock many planned workout calendar events at once by setting access flags, so training blocks can be staged ahead and released week by week.

Instructions

Hide/reveal or lock/unlock MANY planned WORKOUT calendar events at once.

Sets the web UI's "Hide from athlete" and "Athlete cannot edit" checkboxes — e.g. build a training block ahead of time, hide it, and reveal it week by week, or lock key sessions. Only the flags you pass are changed. Only WORKOUT events are touched: notes, races and targets are reported under skipped. IDs are calendar event IDs (from icu_get_calendar_events / icu_get_upcoming_workouts), not workout-library IDs. For one event use icu_update_event.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
newestNoLast day of the date range (YYYY-MM-DD), inclusive
oldestNoFirst day of a date range (YYYY-MM-DD), with newest. Use instead of event_ids
event_idsNoJSON array of calendar event IDs (e.g. '[123, 456]'). Use this OR oldest+newest
athlete_idNoAthlete ID (for coaches managing multiple athletes)
hide_from_athleteNotrue hides the workouts from the athlete, false reveals them
athlete_cannot_editNotrue locks the workouts against athlete edits, false unlocks them

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.4.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations (idempotent=true, destructive=false, readOnly=false, openWorld=true) already cover the safety/mutation profile, and the description adds genuinely non-derivable behavior: partial-update semantics ('Only the flags you pass are changed') and how non-workout events surface under `skipped`. It does not mention authoring/permission requirements for coach-managed athletes or any rate/volume limits on bulk operations, which keeps this from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and scope, then scenario, then constraints, then routing — five short sentences with no filler. Every sentence carries either semantics or disambiguation.

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, return values need not be explained, yet the description still notes the `skipped` field. Combined with annotations covering idempotency/safety and 100% schema coverage, an agent has everything needed to select and invoke this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the mechanical definitions (oldest/newest, event_ids, athlete_id, flags) are already documented. The description still adds meaning beyond the schema by clarifying that IDs are calendar event IDs from icu_get_calendar_events / icu_get_upcoming_workouts rather than workout-library IDs, which prevents a real class of misinvocation.

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 pair (hide/reveal, lock/unlock) applied to a precisely scoped resource ('MANY planned WORKOUT calendar events at once'). It explicitly separates itself from icu_update_event for single-event edits and from the workout-library ID space, so an agent can distinguish it from siblings without opening a 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 a concrete when-to-use scenario ('build a training block ahead of time, hide it, and reveal it week by week, or lock key sessions') and names the alternative for the single-event case ('For one event use icu_update_event'). It also states the exclusions up front: only WORKOUT events are touched, notes/races/targets are skipped.

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