Skip to main content
Glama

update_workout

DestructiveIdempotent

Apply a user-approved change to an existing workout template. workout_name is the exact current name; optional workout_folder_name disambiguates duplicate names and does not change folder membership. Omitted fields keep their current values.

name renames the workout. exercises replaces the entire exercise list, including all exercises and sets to retain. Progression links are preserved for exercises that keep their name. Each exercise uses an exact catalog or custom exercise display name, target (reps|time), load (weight|percent), working sets, and rest configuration, with optional warmup sets, supersets, RPE, and notes. The input schema defines the fields and constraints. Notes appear on the watch in the workout step description.

A rename-only request contains workout_name and name, plus workout_folder_name if needed; it does not require exercises.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name for the workout (a rename)
exercisesNoFull replacement exercise list, including all exercises and sets to retain. Exercises absent from this array are removed. Omission of this field preserves the existing exercise list. The workout must fit within 100 steps: each warmup or working set counts as one step, plus one for each timed or lap rest. Off rests add no steps.
workout_nameYesExact current name of the workout to update
workout_folder_nameNoFolder of the target workout, only needed when several workouts share the name. Identity only: this tool never moves a workout between folders.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFinal workout name after the update
updatedYesWhich slices were written
set_countYes
previous_nameNoPresent only when the name actually changed
exercise_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / exercises / description
      Previous value: -"Full replacement exercise list, including all exercises and sets to retain. Exercises absent from this array are removed. Omission of this field preserves the existing exercise list."New value: +"Full replacement exercise list, including all exercises and sets to retain. Exercises absent from this array are removed. Omission of this field preserves the existing exercise list. The workout must fit within 100 steps: each warmup or working set counts as one step, plus one for each timed or lap rest. Off rests add no steps."
    • removedInput schema / properties / exercises / items / properties / warmup_sets / maxItems
      Removed value: -10
    • removedInput schema / properties / exercises / items / properties / working_sets / maxItems
      Removed value: -10
    • changedInput schema / properties / exercises / maxItems
      Previous value: -12New value: +100
  2. Changed3 schema fields changed
    • changedInput schema / properties / exercises / description
      Previous value: -"Full replacement exercise list. Read the workout with get_workout_detail first, edit the returned object, and pass the COMPLETE array back, including exercises you are not changing."New value: +"Full replacement exercise list, including all exercises and sets to retain. Exercises absent from this array are removed. Omission of this field preserves the existing exercise list."
    • changedInput schema / properties / exercises / items / properties / name / description
      Previous value: -"Exact name from search_exercises"New value: +"Exact display name from the exercise catalog or the user's custom exercises"
    • changedInput schema / properties / exercises / items / properties / warmup_sets / items / properties / percent / description
      Previous value: -"Percent of training max, e.g. 70 for 70% — required when the exercise load is percent. Pass the percentage, not a computed weight."New value: +"Percent of training max, e.g. 70 for 70%, not a computed weight — required when the exercise load is percent."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so the mutation/safety profile is established. The description adds valuable context beyond this: 'Progression links are preserved for exercises that keep their name' and 'Notes appear on the watch in the workout step description.' The replacement semantics ('replaces the entire exercise list, including all exercises and sets to retain') align with the destructive hint without contradicting it — no annotation contradiction.

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?

The description is organized into purposeful paragraphs: purpose/identity, update semantics, then the rename-only shortcut. The main purpose is front-loaded. It is longer than average but the complexity of replace-list semantics and partial-update behavior justifies the length; every sentence carries operational meaning.

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?

Given a rich schema (100% coverage, detailed per-parameter descriptions) and the presence of an output schema, the description covers the remaining nuances well: identity resolution, replacement semantics, progression-link preservation, and the rename-only path. The only mild gap is that 'exercises absent from this array are removed' is stated explicitly in the schema but only implied in the description — a minor redundancy handled by the schema.

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 adds meaning beyond the schema by explaining the identity semantics ('workout_name is the exact current name'; folder name 'does not change folder membership') and the over-arching update model ('Omitted fields keep their current values'). It also synthesizes the rename-only vs. full-replacement usage patterns that the schema's per-field descriptions don't convey as a whole.

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?

The opening sentence states a specific verb+resource: 'Apply a user-approved change to an existing workout template.' This clearly distinguishes it from siblings like create_workout and delete_workout. The term 'existing template' and the mutation framing leave no ambiguity about what this tool does.

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 description gives concrete when-to-use guidance for the key decision: 'A rename-only request contains workout_name and name... it does not require exercises' versus a full replacement that must list 'all exercises and sets to retain.' It also explains when workout_folder_name is needed. It stops short of explicitly naming alternatives (e.g., 'use create_workout for new workouts'), but the sibling names are self-evident and the partial-update semantics are thoroughly covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources