Update a range of workouts on a plan. Currently only hide_from_athlete can be changed
AI agents use updatePlanWorkouts to create or update resources in Intervals Icu Api — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Intervals Icu Api environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | |
day | number | — | |
days | number | — | |
name | string | — | |
tags | array | — | |
time | string | — | |
type | string | — | |
color | string | — | |
indoor | boolean | — | |
joules | number | — | |
newest | number | Yes | |
oldest | number | Yes |
Parameters from the server's own tool schema.
This tool modifies workout records by toggling the visibility flag (hide_from_athlete), which is a reversible data change. It does not delete data (Destructive), execute arbitrary code (Execute), move money (Financial), or merely read (Read). The scope is limited to workouts on a plan, and the change is reversible—an athlete can be unhidden.
From the tool's definition Tool name 'updatePlanWorkouts' combined with description 'Update a range of workouts on a plan. Currently only hide_from_athlete can be changed' indicates modification of existing plan data.
Risk signalsAccepts file system path (attachments[].filename) · Accepts URL/endpoint input (attachments[].url) · High parameter count (36 properties)
Attacks that exploit this kind of access
Update a range of workouts on a plan. Currently only hide_from_athlete can be changed. It is categorised as a Write tool in the Intervals Icu Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
updatePlanWorkouts accepts 12 parameters: id, day, days, name, tags, time, type, color, indoor, joules, newest, oldest. Required: id, newest, oldest. The full parameter table on this page comes from the server's own tool schema.
Register the Intervals Icu Api MCP server in PolicyLayer and add a rule for updatePlanWorkouts: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Intervals Icu Api. Nothing to install.
updatePlanWorkouts is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the updatePlanWorkouts rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for updatePlanWorkouts. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
updatePlanWorkouts is provided by the Intervals Icu Api MCP server (intervals-icu-api-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →