Delete an activity
AI agents call deleteActivity to permanently remove resources in Intervals Icu Api — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes |
Parameters from the server's own tool schema.
The tool permanently deletes an activity record from the Intervals.icu system. This is a destructive operation that cannot be undone—deleted activities cannot be recovered. The high severity reflects that an AI agent with access to this tool could remove substantial user workout history or training data without warning, causing data loss that requires manual restoration from backups if possible.
From the tool's definition Tool name 'deleteActivity' combined with description 'Delete an activity' indicates irreversible removal of data.
Attacks that exploit this kind of access
Delete an activity. It is categorised as a Destructive tool in the Intervals Icu Api MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
deleteActivity accepts 1 parameter: id. Required: id. 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 deleteActivity: 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.
deleteActivity is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the deleteActivity 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 deleteActivity. 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.
deleteActivity 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 →