uploadActivity

Create new activities from an uploaded file (fit, tcx, gpx or zip or gz of the same) as multipart/form-data

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

What uploadActivity does on Intervals Icu Api

AI agents use uploadActivity 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
file string Yes Activity file
name string Activity name
description string Activity description
device_name string Device the activity was created on e.g. Garmin Edge 540
external_id string ID of the activity on the system it came from
paired_event_id number Workout to pair with activity

Parameters from the server's own tool schema.

Why uploadActivity needs a policy

This tool creates new data (activities) in the Intervals.icu system from file uploads. It is clearly a Write operation because it results in new records being stored, not data deletion or financial transactions.

From the tool's definition Tool description states 'Create new activities from an uploaded file' — the verb 'Create' indicates data creation, and uploading a file that results in new activity records being persisted represents a write operation.

Risk signalsAccepts file system path (file)

Questions about uploadActivity

What does the uploadActivity tool do? +

Create new activities from an uploaded file (fit, tcx, gpx or zip or gz of the same) as multipart/form-data. 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 uploadActivity accept? +

uploadActivity accepts 7 parameters: id, file, name, description, device_name, external_id, paired_event_id. Required: id, file. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on uploadActivity? +

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

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

Can I rate-limit uploadActivity? +

Yes. Add a rate_limit block to the uploadActivity 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 uploadActivity completely? +

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

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