Skip to main content
Glama
hhopke
by hhopke

Icu Bulk Create Manual Activities

icu_bulk_create_manual_activities
Destructive

Batch-create manual activities from JSON and upsert by external_id so matching entries are updated and new ones are created without device uploads.

Instructions

Batch-create manual activities (no device upload) with UPSERT on external_id.

Existing activities with a matching external_id (set by the same OAuth app) are updated; activities without an external_id are always created new.

Input Schema

NameRequiredDescriptionDefault
athlete_idNoAthlete ID (for coaches managing multiple athletes)
activities_jsonYesJSON string containing array of manual activities

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond the annotations: what the upsert key is, that the matching scope is 'set by the same OAuth app', and that entries lacking external_id always duplicate. Since destructiveHint=true, it could say more about what happens to fields omitted on the update path, but the core mutation behavior is disclosed rather than left to inference.

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

Conciseness5/5

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

Two short sentences with the operation and its constraint front-loaded; the update-versus-create rule follows immediately. Nothing redundant and nothing buried.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and annotations carry the safety profile, so the description does not need return values. For a destructive bulk write, though, it omits batch-size limits, error/partial-failure behavior, and whether unmentioned fields on updated activities are preserved or cleared.

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 a 3 baseline applies, but the description genuinely adds meaning: external_id is revealed as the upsert key inside activities_json, a field the schema only calls 'JSON string containing array of manual activities'. athlete_id is not discussed, so this falls short of being self-contained.

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 and resource (batch-create manual activities) plus the defining constraint (no device upload) and the write semantics (UPSERT on external_id). It is clearly separable from siblings like icu_get_activities_by_date, icu_bulk_create_events, and any FIT-file upload path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'no device upload' qualifier implicitly routes device-file scenarios elsewhere, and the external_id rules tell the agent exactly which condition produces an update versus a create. However, no sibling alternative is named explicitly and no prerequisites (scope, permissions, batch limits) are stated.

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