Skip to main content
Glama
Intervals.icu MCP Server
by arjohns

Icu Update Custom Item

icu_update_custom_item
Idempotent

Update an existing custom chart, field, zones, or panel by sending only the fields to change; use it to rename, adjust visibility, or revise configuration without altering untouched settings.

Instructions

Modify an existing custom chart/field/zones/panel.

Use when the user wants to change one of their existing customizations: "rename my custom field", "make this chart public". If you don't already have item_id, call icu_get_custom_items first to look it up by name, then call this tool. Only fields you pass are sent — others are left unchanged. For content schema, see intervals-icu://custom-item-schemas.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_id": "<item_id>"
    },
    "name": "icu_update_custom_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoUpdated name
contentNoUpdated configuration content (replaces existing wholesale). Same schema as create_custom_item.content — see intervals-icu://custom-item-schemas for the per-item_type shape.
item_idYesCustom item ID to update
item_typeNoUpdated type (see icu_create_custom_item for values)
athlete_idNoAthlete ID (for coaches managing multiple athletes)
visibilityNoUpdated visibility: PRIVATE, FOLLOWERS, or PUBLIC
descriptionNoUpdated description

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false. The description adds the patch semantics that annotations cannot express — 'Only fields you pass are sent — others are left unchanged' — which is exactly the behavior an agent needs to avoid clobbering values. It stops short of covering permission/coach-scope rules or what a failed update does.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Front-loaded with the core action, then usage triggers, then the prerequisite lookup, then the partial-update rule. Every sentence carries routing or behavioral information; the trailing pointer to the content schema mildly duplicates what the schema text already says.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 no explanation, and the definition covers the update semantics, the item_id resolution path, and where the content shape lives. Minor gaps remain around whether changing item_type is allowed or disruptive and what access rights are required.

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 baseline is 3; the description earns above that by clarifying that all optional fields are true partial-update fields and by pointing content to the custom-item-schemas resource for its per-item_type shape. It does not add syntax or validation detail for name/visibility/description.

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?

States a specific verb ('Modify') and enumerates the concrete resource kinds it operates on (custom chart/field/zones/panel), which distinguishes it from the create/get siblings in the same family.

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 explicit when-to-use triggers with quoted user utterances ('rename my custom field', 'make this chart public') and a concrete prerequisite branch: if item_id is unknown, call icu_get_custom_items first to resolve by name. Both the condition and the alternative are named.

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