Skip to main content
Glama

set_activity_exercise_sets

Destructive

Replace all exercise sets for a Garmin Connect activity with a verbatim payload; this is irreversible, so confirm before calling.

Instructions

replace-all semantics, payload sent verbatim. IRREVERSIBLE: confirm with the user before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYes
activityIdYesNumeric id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real specifics: replace-all (not partial merge), payload sent verbatim (so no server-side validation/coercion), and explicit irreversibility. These go beyond the annotations and materially change how an agent should behave.

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?

Extremely terse and front-loaded – the two highest-stakes facts (replace-all, IRREVERSIBLE) come first with zero filler. It is nearly a fragment rather than a sentence, but no word is wasted.

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?

For a destructive, nested-object mutation with no output schema, the definition covers irreversibility and replace semantics but leaves the payload structure (what exerciseSets entries look like) and the id meaning unaddressed. Adequate but with clear gaps for an agent assembling a payload.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% (activityId is only 'Numeric id'; payload is undocumented). The description adds the meaningful fact that payload is sent verbatim, but it says nothing about the shape of exerciseSets or the activityId semantics, so it only partially compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the actual purpose (writing/replacing an activity's exercise sets) in a verb+resource sentence; the reader must infer it from the tool name. 'replace-all semantics' hints at a write to exercise sets but does not name the resource or distinguish it from the get_activity_exercise_sets sibling explicitly.

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

Usage Guidelines3/5

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

It gives one directive – 'confirm with the user before calling' – which is genuinely useful for a destructive operation. However, it offers no when-to-use/when-not guidance, no mention of the read counterpart get_activity_exercise_sets, and no prerequisites such as required scopes.

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