Skip to main content
Glama

update_workout

Destructive

UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.

Shared workout contract

  • precedence: latest explicit user instruction > draft values, history, catalog defaults, AI guesses. Earlier explicit restrictions persist until changed. A question alone never authorizes an edit.

  • identity: prefer the logged/canonical name; keep explicitly requested literal names; disclose genuine fuzzy substitutions. Loading an exercise never creates a canonical exercise or renames it.

  • preserve: unchanged exercises, sets, reps, weights, rest, equipment, order, grouping, notes, prior corrections. Inferred equipment never overrides an explicit load or equipment instruction.

  • bodyweight-default: bodyweight equipment has no added weight by default. An explicit instruction to add weight switches a bodyweight-default exercise to dumbbell_single unless another implement is named, with is_bodyweight=false and the added load kept. Explicit switch to bodyweight clears every added weight, per-set loads included. Unrelated edits change neither equipment nor weight.

  • load basis: dumbbell_pair = load PER hand; dumbbell_single = one implement total. A band uses its labeled resistance and is_band=true. A positive added load cannot have is_bodyweight=true. Timed loaded carries/holds keep BOTH duration and load.

  • sets: keep each set's actual reps, external load, optional hold seconds. Timed holds = seconds, not reps; tempo can have reps plus hold seconds. Distance is never duration. Null per-set value = unknown, never a reason to copy another set.

  • units: Model-facing weights use the user's preferred unit; an explicitly stated different unit goes through the tool's unit field for one server conversion. Never re-round stated or logged weights as a progression.

Editing and enrichment

  • An explicit correction changes only the named fields; preserve everything else, prior corrections and completed sets included. A genuine question gets an answer, no mutation; a proposed change needs confirmation.

  • rename = in-place, never remove-and-add. Added load or changed equipment keeps the canonical exercise name. A plan swap affects only what remains to perform, never logged sets.

  • Enrich only the fields the user asked for. Missing equipment: resolve from explicit user choices, then logged history; a guess never overrides those. A failed patch is disclosed, never claimed as success.

Saved workout operations

  • routing: new performed session -> in-app chat propose_workout (review card; Save logs), external MCP and native voice log_workout. Correct a stored session -> update_workout, never another log. Delete a whole session -> delete_workout, never an update. Future workouts -> in-app proposal tools; external clients without cards may use log_workout(save_as_saved_workout=true) for a reusable template. saved_workout_id selects a template, never a completed session.

  • resolve: known session ID, or an unambiguous date/name. Ambiguous sessions, sets or superset slots need exact identification. Never invent IDs. Validate every part of an update before writing; preserve everything outside the target.

  • remove one set/exercise -> targeted update; whole session only when requested. Deletions are irreversible. Confirm only persisted changes; after a partial/uncertain write, read back before any retry.

Update a workout session: correct metadata, fix set values, rename/add/remove exercises or individual sets, move exercises between supersets. use: any post-log correction.

FIND THE SESSION: call directly, no preliminary list for an ID.

  • session_id: positive ID from a workout tool, never invented.

  • else: session_date (default today); add name only when several sessions share that day.

  • not exactly one match -> errors with the reason, changes nothing; retry with session_id or a narrower name, never guess.

  • get_workout: full detail (exercise names, slot names SS1/SS2/WarmUp/Finisher) when needed. list_exercises: only for unknown canonical names when adding or renaming.

  • Call with only the fields that change; operations can combine in one call.

OPERATIONS:

  • metadata: date, focus_type, location, notes, rpe, heart_points_moderate/peak.

  • set_updates: patch reps/load/bodyweight/notes/equipment on one set, addressed by set_id OR exercise_name + set_position (1-based, get_workout's "Set N"). stored load wrong and real load unknown -> clear_weight=true; corrected set genuinely bodyweight -> is_bodyweight=true.

  • remove_sets: same addressing; remaining sets renumber; an emptied exercise/slot is removed automatically.

  • rename_exercises: renames every set of an exercise in place (keeps set IDs, RPE, notes; rebuilds NSI), never remove + add.

  • remove_exercises: deletes all sets of the named exercises; empty slots are removed automatically.

  • add_exercises: new exercises with sets; to_superset_slot joins an existing slot, omit for standalone.

  • move_exercises: moves an exercise to another slot; "new" = standalone. same name in multiple slots -> from_superset_slot from get_workout.

SUPERSET SLOTS: rename_exercises/remove_exercises use superset_slot (or { name, superset_slot } for remove_exercises) from get_workout when a name appears in multiple slots.

LITERAL NAME: literal_name:true only on an explicit user request ("call it exactly X", "not the standard one", "literally X") or a rejected match, never a routine correction. Known catalog names/aliases keep their IDs; unmatched names are unscored. Applies below.

EQUIPMENT (load basis): dumbbell_pair = one dumbbell in EACH hand, weight_lb PER HAND (2x for NSI); dumbbell_single = one implement total. Laterality (single-leg/arm) alone does NOT decide it. Set it when the user describes the load (each hand, machine, band); a wrong or missing tag silently halves or doubles NSI.

AMBIGUOUS SET: a set_id or exercise_name+set_position matching more than one set (the same exercise in two superset slots) errors rather than guessing; use the exact set_id from get_workout.

result: discloses a mismatched name from rename_exercises/add_exercises; relay it in your own words. If a name matches nothing closely enough, the result names near-miss library exercises; ask the user which they meant rather than accept the unscored custom log silently.

INFER, do not ask: set positions count from 1 per exercise. Slot names and set_ids beyond what's inferable come from get_workout; canonical exercise names from list_exercises.

SAVED WORKOUTS: saved_workout_id edits a reusable Saved Workout instead of completed history, through saved_workout_title, saved_exercise_updates and/or add_exercises. add_exercises keeps its normal payload shape; to_superset_slot accepts the Saved Workout slot label from get_workout or its SS1-style alias. Progression requests: inspect real exercise history first, never apply a deterministic formula.

cardio_totals: distance_mi/distance_km/distance_meters, duration_sec, calories are update fields; never put corrected totals only in notes. existing_exercise: use add_sets to add sets; add_exercises is for new exercises. ambiguous_slot: rename/remove/move requires the source slot when the exercise appears in multiple slots.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
rpeNoSession RPE 1-10, half steps allowed: 1 minimal, 5 moderate, 7 hard, 8 few reps left, 9 one rep left, 10 maximal/failure. Infer from comments on overall difficulty ("brutal session" 8-9, "easy day" 3-4), else omit.
dateNoNew session date, YYYY-MM-DD.
nameNoSubstring of the focus/type, e.g. "Push", case-insensitive, to pick between sessions on session_date. Only without session_id.
notesNoNew session notes.
add_setsNoAdd sets to an exercise already in this workout; add_exercises is only for a new exercise.
caloriesNoCorrected session calories when known.
locationNoNew location, e.g. Gym, Home.
focus_typeNoNew category, e.g. Push, Pull, Legs.
session_idNoPositive session ID from a workout tool. Unknown -> omit and use session_date + name; never guess.
distance_kmNoCorrected session distance in km; the server converts.
distance_miNoCorrected session distance; only when the user gave miles. mi, or km via input_distance_unit.
remove_setsNoSets to delete. See OPERATIONS.
set_updatesNoIndividual set corrections.
duration_secNoCorrected total session duration in seconds.
session_dateNoYYYY-MM-DD, defaults to today. Finds the session when session_id is omitted. Distinct from `date`, which CHANGES the stored date.
add_exercisesNoNew exercises to add. Reuse known canonical names; list_exercises if unknown.
move_exercisesNoMove exercises between superset slots.
distance_metersNoCorrected session distance in meters; the server converts.
remove_exercisesNoExercises to remove. See OPERATIONS and SUPERSET SLOTS.
rename_exercisesNoRename logged exercises in place.
saved_workout_idNoSaved Workout ID to update instead of a completed workout session.
heart_points_peakNoNew peak heart points.
input_distance_unitNokm when the user gave km for this object's _mi fields; omit for mi.
saved_workout_titleNoNew title for the Saved Workout.
heart_points_moderateNoNew moderate heart points.
saved_exercise_updatesNoPrescription edits, matched by exact Saved Workout exercise name, then by a unique canonical library match.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • changedInput schema / properties / add_exercises / items / properties / equipment / description
      Previous value: -"Load basis for every set of this exercise. See EQUIPMENT above. Optional; overrides the auto guess."New value: +"Load basis for every set of this exercise; overrides the auto guess. See EQUIPMENT."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Band label weight; defaults to weight_lb. lb, or kg via input_weight_unit."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / input_weight_unit / description
      Previous value: -"Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb."New value: +"kg when the user gave kg for this object's _lb fields; omit for lb."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True only when genuinely bodyweight. Omit when external load is unknown."New value: +"True only when genuinely bodyweight. Omit when the external load is unknown."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / description
      Previous value: -"RPE for this one set, same 1-10 scale as the session rpe field. Only when the user gives per-set effort."New value: +"RPE for this one set, same scale as the session rpe field. Only when the user states per-set effort or failure."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load. Omit when unknown or bodyweight; never invent it. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Load. Omit when unknown or bodyweight; never invent it. lb, or kg via input_weight_unit."
    • changedInput schema / properties / add_sets / description
      Previous value: -"Add one or more sets to an exercise already present in this workout. Use add_exercises only for a brand-new exercise."New value: +"Add sets to an exercise already in this workout; add_exercises is only for a new exercise."
    • changedInput schema / properties / add_sets / items / properties / sets / description
      Previous value: -"New sets. Omitted values inherit from the exercise's current last set, so [{}] means add one more matching set."New value: +"New sets. Omitted values inherit from the exercise's current last set, so [{}] adds one more matching set."
    • changedInput schema / properties / add_sets / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"lb, or kg via input_weight_unit."
    • changedInput schema / properties / add_sets / items / properties / sets / items / properties / input_weight_unit / description
      Previous value: -"Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb."New value: +"kg when the user gave kg for this object's _lb fields; omit for lb."
    • changedInput schema / properties / add_sets / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"lb, or kg via input_weight_unit."
    • changedInput schema / properties / add_sets / items / properties / superset_slot / description
      Previous value: -"Required only when this exercise name appears in more than one slot."New value: +"Required only when this exercise name is in more than one slot."
    • changedInput schema / properties / distance_km / description
      Previous value: -"Corrected session distance in kilometers. Server converts it; do not convert it yourself."New value: +"Corrected session distance in km; the server converts."
    • changedInput schema / properties / distance_meters / description
      Previous value: -"Corrected session distance in meters. Server converts it; do not convert it yourself."New value: +"Corrected session distance in meters; the server converts."
    • changedInput schema / properties / distance_mi / description
      Previous value: -"Corrected session distance in miles. Use only when the user gave miles. In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"Corrected session distance; only when the user gave miles. mi, or km via input_distance_unit."
    • changedInput schema / properties / input_distance_unit / description
      Previous value: -"Set to km when the user gave km for the _mi fields in this object. Omit when they are already mi."New value: +"km when the user gave km for this object's _mi fields; omit for mi."
    • changedInput schema / properties / move_exercises / description
      Previous value: -"Move exercises between superset slots. When the same exercise name appears in multiple slots, from_superset_slot is required."New value: +"Move exercises between superset slots."
    • changedInput schema / properties / move_exercises / items / properties / from_superset_slot / description
      Previous value: -"Source slot from get_workout. Required when the exercise name appears in multiple slots."New value: +"Source slot from get_workout; required when the name is in multiple slots."
    • changedInput schema / properties / remove_exercises / description
      Previous value: -"Exercises to remove; matched sets deleted, empty slots removed automatically. See SUPERSET SLOTS above."New value: +"Exercises to remove. See OPERATIONS and SUPERSET SLOTS."
    • changedInput schema / properties / remove_exercises / items / properties / superset_slot / description
      Previous value: -"Scope to ONE slot (e.g. \"SS1\"). See SUPERSET SLOTS above; required when the name is in multiple slots."New value: +"Scope to ONE slot (e.g. \"SS1\"); needed when the name is in multiple slots. See SUPERSET SLOTS."
    • changedInput schema / properties / remove_sets / description
      Previous value: -"Sets to delete. See OPERATIONS above."New value: +"Sets to delete. See OPERATIONS."
    • changedInput schema / properties / rename_exercises / items / properties / superset_slot / description
      Previous value: -"Scope to ONE slot (e.g. \"SS1\"). See SUPERSET SLOTS above; required when the name is in multiple slots."New value: +"Scope to ONE slot (e.g. \"SS1\"); needed when the name is in multiple slots. See SUPERSET SLOTS."
    • changedInput schema / properties / rpe / description
      Previous value: -"Session RPE, 1-10, half steps allowed: 5 moderate, 7 hard, 9 one rep left, 10 failure. Infer from comments about overall difficulty, or omit."New value: +"Session RPE 1-10, half steps allowed: 1 minimal, 5 moderate, 7 hard, 8 few reps left, 9 one rep left, 10 maximal/failure. Infer from comments on overall difficulty (\"brutal session\" 8-9, \"easy day\" 3-4), else omit."
    • changedInput schema / properties / saved_exercise_updates / description
      Previous value: -"Optional prescription edits matched first by exact Saved Workout exercise name, then by a unique canonical library match."New value: +"Prescription edits, matched by exact Saved Workout exercise name, then by a unique canonical library match."
    • changedInput schema / properties / saved_exercise_updates / items / properties / equipment / description
      Previous value: -"Explicit equipment change. Choosing bodyweight clears all added weight unless this update also specifies a positive load."New value: +"Explicit equipment change. bodyweight clears all added weight unless this update also gives a positive load."
    • changedInput schema / properties / saved_exercise_updates / items / properties / input_weight_unit / description
      Previous value: -"Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb."New value: +"kg when the user gave kg for this object's _lb fields; omit for lb."
    • changedInput schema / properties / saved_exercise_updates / items / properties / name / description
      Previous value: -"Exercise name. Exact Saved Workout name preferred; a unique canonical library name is also accepted. Required."New value: +"Exercise name: exact Saved Workout name preferred, a unique canonical library name also accepted."
    • changedInput schema / properties / saved_exercise_updates / items / properties / reps / description
      Previous value: -"Updated prescribed reps per set. Optional."New value: +"New prescribed reps per set."
    • changedInput schema / properties / saved_exercise_updates / items / properties / sets / description
      Previous value: -"Updated prescribed set count. Optional."New value: +"New prescribed set count."
    • changedInput schema / properties / saved_exercise_updates / items / properties / weight_lb / description
      Previous value: -"Updated prescribed load in pounds. Optional. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"New prescribed load. lb, or kg via input_weight_unit."
    • changedInput schema / properties / saved_workout_title / description
      Previous value: -"Optional new title for the Saved Workout."New value: +"New title for the Saved Workout."
    • changedInput schema / properties / session_id / description
      Previous value: -"Positive session ID returned by a workout tool. If unknown, omit and use session_date + name; never guess."New value: +"Positive session ID from a workout tool. Unknown -> omit and use session_date + name; never guess."
    • changedInput schema / properties / set_updates / items / properties / band_label_lb / description
      Previous value: -"Band label weight; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Band label weight; defaults to weight_lb. lb, or kg via input_weight_unit."
    • changedInput schema / properties / set_updates / items / properties / clear_weight / description
      Previous value: -"True to clear a wrong stored external load while keeping this set non-bodyweight. Use is_bodyweight=true instead when the corrected set was bodyweight."New value: +"true clears a wrong stored external load, keeping the set non-bodyweight. Corrected set was bodyweight -> is_bodyweight=true instead."
    • changedInput schema / properties / set_updates / items / properties / equipment / description
      Previous value: -"Corrects the load basis on this ONE set in place. See EQUIPMENT above. Optional."New value: +"Corrects the load basis on this ONE set in place. See EQUIPMENT."
    • changedInput schema / properties / set_updates / items / properties / input_weight_unit / description
      Previous value: -"Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb."New value: +"kg when the user gave kg for this object's _lb fields; omit for lb."
    • changedInput schema / properties / set_updates / items / properties / is_bodyweight / description
      Previous value: -"True to correct this set to bodyweight; clears stored external load/band state. False marks it non-bodyweight without inventing a load."New value: +"true corrects this set to bodyweight and clears stored external load/band state. false marks it non-bodyweight without inventing a load."
    • changedInput schema / properties / set_updates / items / properties / rpe / description
      Previous value: -"RPE for this one set, same 1-10 scale as the session rpe field. Only when the user gives per-set effort."New value: +"RPE for this one set, same scale as the session rpe field. Only when the user states per-set effort or failure."
    • changedInput schema / properties / set_updates / items / properties / weight_lb / description
      Previous value: -"Corrected external load. If the stored load is wrong and the real load is unknown, use clear_weight=true instead of inventing a number. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Corrected external load. Stored load wrong and real load unknown -> clear_weight=true, never an invented number. lb, or kg via input_weight_unit."
  2. Changed2 schema fields changed
    • changedInput schema / properties / add_exercises / items / properties / literal_name / description
      Previous value: -"Keep exactly as given, skipping the library match. See LITERAL NAME above. Default false."New value: +"Explicit override only; default false. See LITERAL NAME."
    • changedInput schema / properties / rename_exercises / items / properties / literal_name / description
      Previous value: -"Keep exactly as given, skipping the library match. See LITERAL NAME above. Default false. Applies to to_name."New value: +"Explicit override only; default false. See LITERAL NAME. Applies to to_name."
  3. Changed1 schema field changed
    • addedInput schema / properties / saved_exercise_updates / items / properties / equipment
      Added value: +{
      +  "description": "Explicit equipment change. Choosing bodyweight clears all added weight unless this update also specifies a positive load.",
      +  "enum": [
      +    "barbell",
      +    "dumbbell_pair",
      +    "dumbbell_single",
      +    "machine",
      +    "kettlebell",
      +    "bodyweight",
      +    "band",
      +    "cable",
      +    "trx",
      +    "other"
      +  ],
      +  "type": "string"
      +}
  4. Changed5 schema fields changed
    • addedInput schema / properties / calories / maximum
      Added value: +10000
    • addedInput schema / properties / distance_km / maximum
      Added value: +804.672
    • addedInput schema / properties / distance_meters / maximum
      Added value: +804672.0000000001
    • addedInput schema / properties / distance_mi / maximum
      Added value: +500
    • addedInput schema / properties / duration_sec / maximum
      Added value: +86400
  5. Changed1 schema field changed
    • changedInput schema / properties / add_exercises / description
      Previous value: -"New exercises to add. Call list_exercises first for canonical names."New value: +"New exercises to add. Reuse known canonical names; list_exercises if unknown."
  6. Changed2 schema fields changed
    • changedInput schema / properties / saved_exercise_updates / description
      Previous value: -"Optional prescription edits matched by exercise name inside the Saved Workout."New value: +"Optional prescription edits matched first by exact Saved Workout exercise name, then by a unique canonical library match."
    • changedInput schema / properties / saved_exercise_updates / items / properties / name / description
      Previous value: -"Exercise name in the Saved Workout. Required."New value: +"Exercise name. Exact Saved Workout name preferred; a unique canonical library name is also accepted. Required."
  7. Changed5 schema fields changed
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True if no external weight."New value: +"True only when genuinely bodyweight. Omit when external load is unknown."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load. Omit for bodyweight. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Load. Omit when unknown or bodyweight; never invent it. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • addedInput schema / properties / set_updates / items / properties / clear_weight
      Added value: +{
      +  "description": "True to clear a wrong stored external load while keeping this set non-bodyweight. Use is_bodyweight=true instead when the corrected set was bodyweight.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / set_updates / items / properties / is_bodyweight
      Added value: +{
      +  "description": "True to correct this set to bodyweight; clears stored external load/band state. False marks it non-bodyweight without inventing a load.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / set_updates / items / properties / weight_lb / description
      Previous value: -"Corrected load. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Corrected external load. If the stored load is wrong and the real load is unknown, use clear_weight=true instead of inventing a number. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
  8. Changed11 schema fields changed
    • addedInput schema / properties / add_sets
      Added value: +{
      +  "description": "Add one or more sets to an exercise already present in this workout. Use add_exercises only for a brand-new exercise.",
      +  "items": {
      +    "properties": {
      +      "exercise_name": {
      +        "description": "Exact existing exercise name from get_workout.",
      +        "type": "string"
      +      },
      +      "sets": {
      +        "description": "New sets. Omitted values inherit from the exercise's current last set, so [{}] means add one more matching set.",
      +        "items": {
      +          "properties": {
      +            "band_label_lb": {
      +              "description": "In lb, or kg with input_weight_unit set. See UNIT INPUTS.",
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "hold_length_sec": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "input_weight_unit": {
      +              "description": "Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb.",
      +              "enum": [
      +                "lb",
      +                "kg"
      +              ],
      +              "type": "string"
      +            },
      +            "is_band": {
      +              "type": "boolean"
      +            },
      +            "is_bodyweight": {
      +              "type": "boolean"
      +            },
      +            "notes": {
      +              "type": "string"
      +            },
      +            "reps": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "rpe": {
      +              "maximum": 10,
      +              "minimum": 1,
      +              "type": "number"
      +            },
      +            "weight_lb": {
      +              "description": "In lb, or kg with input_weight_unit set. See UNIT INPUTS.",
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "superset_slot": {
      +        "description": "Required only when this exercise name appears in more than one slot.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "exercise_name",
      +      "sets"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / calories
      Added value: +{
      +  "description": "Corrected session calories when known.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / distance_km
      Added value: +{
      +  "description": "Corrected session distance in kilometers. Server converts it; do not convert it yourself.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / distance_meters
      Added value: +{
      +  "description": "Corrected session distance in meters. Server converts it; do not convert it yourself.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / distance_mi
      Added value: +{
      +  "description": "Corrected session distance in miles. Use only when the user gave miles. In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / duration_sec
      Added value: +{
      +  "description": "Corrected total session duration in seconds.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / input_distance_unit
      Added value: +{
      +  "description": "Set to km when the user gave km for the _mi fields in this object. Omit when they are already mi.",
      +  "enum": [
      +    "mi",
      +    "km"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / move_exercises / description
      Previous value: -"Move exercises between superset slots."New value: +"Move exercises between superset slots. When the same exercise name appears in multiple slots, from_superset_slot is required."
    • addedInput schema / properties / move_exercises / items / properties / from_superset_slot
      Added value: +{
      +  "description": "Source slot from get_workout. Required when the exercise name appears in multiple slots.",
      +  "type": "string"
      +}
    • changedInput schema / properties / session_id / description
      Previous value: -"Session ID, if known. See FIND THE SESSION above."New value: +"Positive session ID returned by a workout tool. If unknown, omit and use session_date + name; never guess."
    • addedInput schema / properties / session_id / minimum
      Added value: +1
  9. Changed6 schema fields changed
    • addedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / maximum
      Added value: +10
    • addedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / minimum
      Added value: +1
    • addedInput schema / properties / rpe / maximum
      Added value: +10
    • addedInput schema / properties / rpe / minimum
      Added value: +1
    • addedInput schema / properties / set_updates / items / properties / rpe / maximum
      Added value: +10
    • addedInput schema / properties / set_updates / items / properties / rpe / minimum
      Added value: +1
  10. Changed51 schema fields changed
    • changedInput schema / properties / add_exercises / description
      Previous value: -"New exercises to add to this session. Call list_exercises first to get canonical names. Optional."New value: +"New exercises to add. Call list_exercises first for canonical names."
    • changedInput schema / properties / add_exercises / items / properties / name / description
      Previous value: -"Exercise name — use canonical name from list_exercises. Required."New value: +"Canonical name from list_exercises."
    • changedInput schema / properties / add_exercises / items / properties / sets / description
      Previous value: -"All sets for this exercise. Required."New value: +"Every set for this exercise."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight in POUNDS, always. Optional."New value: +"Band label weight; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / hold_length_sec / description
      Previous value: -"Hold/carry duration in seconds. Can coexist with reps and weight_lb. Optional."New value: +"Hold/carry seconds."
    • addedInput schema / properties / add_exercises / items / properties / sets / items / properties / input_weight_unit
      Added value: +{
      +  "description": "Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb.",
      +  "enum": [
      +    "lb",
      +    "kg"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / is_band / description
      Previous value: -"True if resistance band. Optional."New value: +"True for a band."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True if no external weight. Optional."New value: +"True if no external weight."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / notes / description
      Previous value: -"Per-set notes. Optional."New value: +"Per-set notes."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / reps / description
      Previous value: -"Reps this set. Optional."New value: +"Reps this set."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / description
      Previous value: -"Per-set Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."New value: +"RPE for this one set, same 1-10 scale as the session rpe field. Only when the user gives per-set effort."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load in POUNDS, always — regardless of the user’s display unit. Convert from kg if needed (kg × 2.2046). Optional."New value: +"Load. Omit for bodyweight. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • changedInput schema / properties / add_exercises / items / properties / slot_type / description
      Previous value: -"Slot type for a new slot. Default: working. Ignored if to_superset_slot is set."New value: +"Slot type for a new slot, default working. Ignored with to_superset_slot."
    • changedInput schema / properties / add_exercises / items / properties / to_superset_slot / description
      Previous value: -"Existing slot to join (e.g. \"SS1\"). Omit to create a new standalone slot."New value: +"Existing slot to join, e.g. \"SS1\". Omit for a new standalone slot."
    • changedInput schema / properties / date / description
      Previous value: -"Updated session date. Format: YYYY-MM-DD. Optional."New value: +"New session date, YYYY-MM-DD."
    • changedInput schema / properties / focus_type / description
      Previous value: -"Updated workout category (e.g. Push, Pull, Legs). Optional."New value: +"New category, e.g. Push, Pull, Legs."
    • changedInput schema / properties / heart_points_moderate / description
      Previous value: -"Updated moderate heart points. Optional."New value: +"New moderate heart points."
    • changedInput schema / properties / heart_points_peak / description
      Previous value: -"Updated peak heart points. Optional."New value: +"New peak heart points."
    • changedInput schema / properties / location / description
      Previous value: -"Updated location (e.g. Gym, Home). Optional."New value: +"New location, e.g. Gym, Home."
    • changedInput schema / properties / move_exercises / description
      Previous value: -"Move exercises between superset slots. Optional."New value: +"Move exercises between superset slots."
    • changedInput schema / properties / move_exercises / items / properties / exercise_name / description
      Previous value: -"Exact exercise name from get_workout. Required."New value: +"Exact name from get_workout."
    • changedInput schema / properties / move_exercises / items / properties / to_superset_slot / description
      Previous value: -"Target slot name (e.g. \"SS1\") or \"new\" to make it standalone. Required."New value: +"Target slot, e.g. \"SS1\", or \"new\" for standalone."
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Substring of the focus/type, e.g. \"Push\", case-insensitive, to pick between sessions on session_date. Only without session_id.",
      +  "type": "string"
      +}
    • changedInput schema / properties / notes / description
      Previous value: -"Updated session notes. Optional."New value: +"New session notes."
    • changedInput schema / properties / remove_exercises / items / properties / name / description
      Previous value: -"Exact exercise name from get_workout. Required."New value: +"Exact name from get_workout."
    • changedInput schema / properties / remove_sets / description
      Previous value: -"Set IDs to delete (get_workout's set_id:N). Remaining sets renumber; emptied exercise/slot removed automatically. Optional."New value: +"Sets to delete. See OPERATIONS above."
    • addedInput schema / properties / remove_sets / items / properties
      Added value: +{
      +  "exercise_name": {
      +    "description": "Exact name from get_workout, with set_position instead of set_id.",
      +    "type": "string"
      +  },
      +  "set_id": {
      +    "description": "set_id:N from get_workout. Alternative to exercise_name + set_position.",
      +    "type": "integer"
      +  },
      +  "set_position": {
      +    "description": "1-based set number. Needs exercise_name.",
      +    "type": "integer"
      +  }
      +}
    • changedInput schema / properties / remove_sets / items / type
      Previous value: -"integer"New value: +"object"
    • changedInput schema / properties / rename_exercises / description
      Previous value: -"Rename logged exercises in place. Preserves set IDs, RPE, notes; recomputes NSI. Optional."New value: +"Rename logged exercises in place."
    • changedInput schema / properties / rename_exercises / items / properties / from_name / description
      Previous value: -"Current exercise name from get_workout (exact match). Required."New value: +"Current name from get_workout, exact."
    • changedInput schema / properties / rename_exercises / items / properties / to_name / description
      Previous value: -"New exercise name. Use the canonical name from list_exercises whenever a match exists. Required."New value: +"New name. Canonical name from list_exercises where one matches."
    • changedInput schema / properties / rpe / description
      Previous value: -"Session-level Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — infer from user comments about overall difficulty, or omit."New value: +"Session RPE, 1-10, half steps allowed: 5 moderate, 7 hard, 9 one rep left, 10 failure. Infer from comments about overall difficulty, or omit."
    • addedInput schema / properties / saved_exercise_updates
      Added value: +{
      +  "description": "Optional prescription edits matched by exercise name inside the Saved Workout.",
      +  "items": {
      +    "properties": {
      +      "input_weight_unit": {
      +        "description": "Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb.",
      +        "enum": [
      +          "lb",
      +          "kg"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Exercise name in the Saved Workout. Required.",
      +        "type": "string"
      +      },
      +      "reps": {
      +        "description": "Updated prescribed reps per set. Optional.",
      +        "type": "integer"
      +      },
      +      "sets": {
      +        "description": "Updated prescribed set count. Optional.",
      +        "type": "integer"
      +      },
      +      "weight_lb": {
      +        "description": "Updated prescribed load in pounds. Optional. In lb, or kg with input_weight_unit set. See UNIT INPUTS.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / saved_workout_id
      Added value: +{
      +  "description": "Saved Workout ID to update instead of a completed workout session.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / saved_workout_title
      Added value: +{
      +  "description": "Optional new title for the Saved Workout.",
      +  "type": "string"
      +}
    • addedInput schema / properties / session_date
      Added value: +{
      +  "description": "YYYY-MM-DD, defaults to today. Finds the session when session_id is omitted. Distinct from `date`, which CHANGES the stored date.",
      +  "type": "string"
      +}
    • changedInput schema / properties / session_id / description
      Previous value: -"Session ID to update. Required."New value: +"Session ID, if known. See FIND THE SESSION above."
    • changedInput schema / properties / set_updates / description
      Previous value: -"Individual set corrections. Optional."New value: +"Individual set corrections."
    • changedInput schema / properties / set_updates / items / properties / band_label_lb / description
      Previous value: -"Band label weight in POUNDS, always. Defaults to weight_lb if omitted. Optional."New value: +"Band label weight; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • addedInput schema / properties / set_updates / items / properties / exercise_name
      Added value: +{
      +  "description": "Exact name from get_workout, with set_position instead of set_id.",
      +  "type": "string"
      +}
    • changedInput schema / properties / set_updates / items / properties / hold_length_sec / description
      Previous value: -"Corrected hold/carry duration in seconds. Can coexist with reps and weight_lb. Optional."New value: +"Corrected hold/carry seconds."
    • addedInput schema / properties / set_updates / items / properties / input_weight_unit
      Added value: +{
      +  "description": "Set to kg when the user gave kg for the _lb fields in this object. Omit when they are already lb.",
      +  "enum": [
      +    "lb",
      +    "kg"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / set_updates / items / properties / is_band / description
      Previous value: -"True if resistance band. Optional."New value: +"True for a band."
    • changedInput schema / properties / set_updates / items / properties / reps / description
      Previous value: -"Corrected rep count. Optional."New value: +"Corrected rep count."
    • changedInput schema / properties / set_updates / items / properties / rpe / description
      Previous value: -"Per-set Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."New value: +"RPE for this one set, same 1-10 scale as the session rpe field. Only when the user gives per-set effort."
    • changedInput schema / properties / set_updates / items / properties / set_id / description
      Previous value: -"Set ID from get_workout output (shown as set_id:N). Required per entry."New value: +"set_id:N from get_workout. Alternative to exercise_name + set_position."
    • changedInput schema / properties / set_updates / items / properties / set_notes / description
      Previous value: -"Updated per-set note. Optional."New value: +"Updated per-set note."
    • addedInput schema / properties / set_updates / items / properties / set_position
      Added value: +{
      +  "description": "1-based set number, get_workout's \"Set N\". Needs exercise_name.",
      +  "type": "integer"
      +}
    • changedInput schema / properties / set_updates / items / properties / weight_lb / description
      Previous value: -"Corrected weight in POUNDS, always — regardless of the user’s display unit. Convert from kg if needed (kg × 2.2046). Optional."New value: +"Corrected load. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • removedInput schema / properties / set_updates / items / required
      Removed value: -[
      -  "set_id"
      -]
    • removedInput schema / required
      Removed value: -[
      -  "session_id"
      -]
  11. Changed4 schema fields changed
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight in pounds. Optional."New value: +"Band label weight in POUNDS, always. Optional."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load in pounds. Optional."New value: +"Load in POUNDS, always — regardless of the user’s display unit. Convert from kg if needed (kg × 2.2046). Optional."
    • changedInput schema / properties / set_updates / items / properties / band_label_lb / description
      Previous value: -"Band label weight in pounds. Defaults to weight_lb if omitted. Optional."New value: +"Band label weight in POUNDS, always. Defaults to weight_lb if omitted. Optional."
    • changedInput schema / properties / set_updates / items / properties / weight_lb / description
      Previous value: -"Corrected weight in pounds. Optional."New value: +"Corrected weight in POUNDS, always — regardless of the user’s display unit. Convert from kg if needed (kg × 2.2046). Optional."
  12. Changed6 schema fields changed
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / description
      Previous value: -"Per-set Rate of Perceived Exertion (1-10, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."New value: +"Per-set Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."
    • changedInput schema / properties / add_exercises / items / properties / sets / items / properties / rpe / type
      Previous value: -"integer"New value: +"number"
    • changedInput schema / properties / rpe / description
      Previous value: -"Session-level Rate of Perceived Exertion (1-10, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — infer from user comments about overall difficulty, or omit."New value: +"Session-level Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — infer from user comments about overall difficulty, or omit."
    • changedInput schema / properties / rpe / type
      Previous value: -"integer"New value: +"number"
    • changedInput schema / properties / set_updates / items / properties / rpe / description
      Previous value: -"Per-set Rate of Perceived Exertion (1-10, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."New value: +"Per-set Rate of Perceived Exertion (1-10, half steps like 7.5 allowed, where 5=moderate, 7=hard, 9=one rep left, 10=failure). Optional — include only if the user specifies effort for individual sets."
    • changedInput schema / properties / set_updates / items / properties / rpe / type
      Previous value: -"integer"New value: +"number"
  13. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructive and non-idempotent behavior, and the description earns credit for adding context beyond them: deletions are irreversible, an emptied exercise or slot is auto-removed, an ambiguous set or session errors without writing, a failed patch must be disclosed rather than claimed as success, and after a partial write the agent must read back before retrying. It also states that add_sets on an existing exercise is the correct path versus add_exercises, which is a real behavioral distinction. Nothing here contradicts the destructiveHint=true annotation.

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

Conciseness3/5

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

Headers, bullets, and imperative phrasing make it navigable, but structure is a real weakness: the document opens with auxiliary 'UNIT INPUTS' conversion rules and only states its actual purpose sentence several hundred words in, after a shared workout contract block that is not specific to this tool. The volume of contract boilerplate — bodyweight defaults, load basis, set semantics — buries the operation-specific guidance an agent needs while composing a call, even though most individual rules are relevant to correct invocation.

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

Completeness5/5

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

For a 26-parameter mutation tool this is unusually complete: it covers session resolution, all six operation families with addressing rules (set_id or exercise_name + set_position), superset-slot disambiguation, saved-workout versus completed-session targeting, and what to relay back from the result. With annotations and an output schema already supplied, no behaviorally significant gap remains for an agent to call it correctly.

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 documented baseline is 3, and the description exceeds it with genuinely non-schema semantics: dumbbell_pair is load PER hand versus dumbbell_single total, laterality alone does not decide the load basis, literal_name is reserved for explicit user phrasing and rejected matches, and session_date (finder) is explicitly contrasted with date (mutation). Some sections, such as the UNIT INPUTS block and the clear_weight explanation, largely restate what the schema already says, which keeps this below a 5.

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 description names a specific verb and resource ('Update a workout session') and enumerates the exact operation classes it covers: metadata, set values, rename/add/remove exercises or sets, moving exercises between supersets. It goes further and distinguishes itself from siblings by name — log_workout for new sessions, delete_workout for whole-session removal, get_workout/list_exercises as read helpers — so an agent can route without opening another schema.

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?

Explicit routing rules ('new performed session -> ... log_workout. Correct a stored session -> update_workout, never another log. Delete a whole session -> delete_workout, never an update') give both when-to-use and when-not-to-use. Resolution guidance ('FIND THE SESSION: call directly, no preliminary list for an ID'; 'not exactly one match -> errors ... retry with session_id, never guess') removes the remaining inference an agent would otherwise have to make.

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.