createWorkout

Create a new workout in a folder or plan in the athlete's workout library

Server Intervals Icu Api intervals-icu-api-mcp-server
Category Write
Risk class Medium
Parameters 121 required

What createWorkout does on Intervals Icu Api

AI agents use createWorkout 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.

ParameterTypeRequiredDescription
id string Yes
day number
days number
name string
tags array
time string
type string
color string
indoor boolean
joules number
target string
body_id number (body property: id)

Parameters from the server's own tool schema.

Why createWorkout needs a policy

This tool creates new workout data within the athlete's workout library. It is a Write operation because it generates new data that can be modified or deleted later. While it modifies the athlete's data, the effect is reversible (workouts can be deleted) and does not involve financial transactions, destructive operations, or direct code execution.

From the tool's definition Tool name: 'createWorkout'; description: 'Create a new workout in a folder or plan in the athlete's workout library' — the verb 'Create' and the action of adding a new workout to a library are characteristic of Write operations that create reversible data.

Risk signalsAccepts file system path (attachments[].filename) · Accepts URL/endpoint input (attachments[].url) · High parameter count (36 properties)

Questions about createWorkout

What does the createWorkout tool do? +

Create a new workout in a folder or plan in the athlete's workout library. 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.

What parameters does createWorkout accept? +

createWorkout accepts 12 parameters: id, day, days, name, tags, time, type, color, indoor, joules, target, body_id. Required: id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on createWorkout? +

Register the Intervals Icu Api MCP server in PolicyLayer and add a rule for createWorkout: 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.

What risk level is createWorkout? +

createWorkout is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit createWorkout? +

Yes. Add a rate_limit block to the createWorkout 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.

How do I block createWorkout completely? +

Set action: deny in the PolicyLayer policy for createWorkout. 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.

What MCP server provides createWorkout? +

createWorkout 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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.