Skip to main content
Glama

log_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.

COMPLETED WORKOUTS, ANY ACTIVITY:

  • real exercises/sets: provide as usual; session totals and activity metrics can ride in the SAME log_workout call.

  • activity description only (walking, yoga, swimming, a kettlebell circuit, strength, HIIT, cycling, etc.): focus_type + reported session details; OMIT exercises or pass []. no fake exercises or sets. Never invent exercises, reps, weights, splits, heart rates or calories.

  • notes: reported context, uncertain durations included (e.g. "15-20 minutes, light intensity"). unknown numeric fields stay unset; never turn a range into false precision.

  • estimated=true: ONLY when numeric values really are estimates; zero sets does not imply it.

  • focus_type: walking = "Walking"; cycling/biking = "Cycling"; rowing/RowErg = "Rowing"; other activity names as stated.

  • log_run: the richer route for completed runs with known distance+duration, running splits or planned runs. Never send a walk, ride or row to log_run.

  • distance_mi/distance_km/distance_meters: alternatives; send the unit the user gave. The server converts, never convert it yourself.

  • duration_sec: total workout/moving seconds, not a set or a repetition.

  • HR, power, cadence, elevation, laps/segments: only when reported.

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.

Completed-workout logging

  • Record only what the user performed or a specifically referenced session proves. Never invent completed sets, reps, weight, RPE, duration, start time or exercises. A historical load may be offered for confirmation, never silently inserted into a past log.

  • copy an earlier workout: copy its full actual sets, loads, order and grouping, then apply only the stated correction. Imported session: keep the wearable anchor; its aggregate data is not evidence of individual sets.

  • Missing actual values stay unknown. An emitted completed-session card must be reviewed/saved before you claim it was logged.

Log a complete workout session: exercises, sets, reps, weights, session metadata. use: the user describes finishing a workout, lists exercises performed, or asks to log training. Reusable template: see SAVED WORKOUT MODE.

EXERCISE NAMES:

  • Reuse known canonical names, else call list_exercises and match each exercise to the closest canonical name. match -> canonical name + its [id] as exercise_id. no reasonable match -> name as stated, no exercise_id. Match silently and log; don't ask first.

  • "Chest press" (machine) and "bench press" (barbell) are DISTINCT: pass the user's term through so the resolver's aliases pin the right one.

  • name = the exercise name only; reps/weights/sets go in sets.

  • 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.

  • The result says when a name was matched to something other than what the user said; relay it in your own words, not verbatim. 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.

  • 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.

SETS:

  • "3 sets of 15 reps" -> 3 set objects, reps 15. "15/12/10" -> 3 sets, reps 15, 12, 10.

  • isometric hold (plank, dead hang, wall sit): no reps. "30 second plank" = { hold_length_sec: 30 }.

  • tempo/pause: reps + weight_lb + hold_length_sec (seconds per rep) on the same set, never in notes.

  • loaded carry (farmers carry, sled push, weighted plank): one set per trip, hold_length_sec + weight_lb; omit reps unless a trip count is given. weight_lb = PER HAND for two implements, TOTAL for one.

  • circuit station (run/ride/swim/row/walk): distance_meters and/or duration_sec PER ROUND on its set, not reps or hold seconds.

INFER, do not ask: date; superset_group; slot_type; location (from context, else omit); focus_type from the exercises (bench/shoulders/triceps=Push, rows/pulldowns/curls=Pull, squats/deadlifts/lunges=Legs, mixed upper=Upper, everything=Full Body). heart_points: reported values only. Missing external load: follow LIVE LOADS.

RPE: 1-10, half steps allowed. Scale and inference: see the rpe field. Per-set rpe only when the user states per-set effort or failure.

RETURNS the new session ID as "[ID NN]"; pass it to update_workout / delete_workout / get_workout for follow-ups in this conversation.

LIVE LOADS: user-driven completed-workout logging only.

  • obvious bodyweight movement: may omit load; inferred as bodyweight.

  • performed set that normally uses external resistance: include its load; not given -> ask one batched clarification before calling this tool.

  • load_unknown=true on a missing set: only when the user explicitly says they do not know, do not remember, or want to save without that load.

  • partial known loads: preserve positionally; never copy one set's load to another, never treat a missing external load as bodyweight.

SAVED WORKOUT MODE:

  • in-app chat: propose_workout for new workout plans, whether to save or start; discover it if needed.

  • external clients without cards: save_as_saved_workout=true + the full prescription through this same tool.

  • saved mode does NOT log completed history; LIVE LOADS does not apply, prescribed weight may be omitted.

  • replace an existing Saved Workout: also pass saved_workout_id; the supplied prescription fully replaces its prior sets/reps/weights.

  • saved_workout_title: when the reusable name should differ from focus_type.

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": {
      "date": "<date>"
    },
    "name": "log_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.
dateYesYYYY-MM-DD; default today.
notesNoSession notes: how it went, PRs hit, how they felt.
avg_hrNoReported average heart rate (bpm).
max_hrNoReported maximum heart rate (bpm).
splitsNoActually reported laps/splits, same structure as the in-app run logger; never invent.
caloriesNoReported session calories; never invent.
locationNoGym, Home, Outdoor. Infer from context, else omit.
segmentsNoActually performed intervals/blocks, same structure as the in-app run logger; never invent.
estimatedNoTrue only when a saved numeric value is an AI approximation; describe its source/range in notes.
exercisesNoOnly the actual exercises/sets provided by the user. For a session-level log, omit or use [].
intensityNoQualitative effort as reported (does not manufacture an RPE).
focus_typeNoSpecific completed activity (Walking, Cycling, Yoga, Kettlebell Circuit, Full Body, etc.). Infer from user wording; omit only if notes describe the activity.
start_timeNoLocal HH:MM when explicitly supplied; otherwise omit.
avg_power_wNoReported average power in watts (e.g. cycling).
distance_kmNoSession distance in kilometers. Server converts to miles.
distance_miNoSession distance, when the user gave miles. mi, or km via input_distance_unit.
elapsed_secNoElapsed seconds including pauses; omit if unknown.
max_power_wNoReported peak power in watts.
duration_secNoTotal workout or moving seconds (convert stated minutes); not a set duration.
avg_cadence_rpmNoReported cycling/rowing cadence, revs/min.
avg_cadence_spmNoReported running/walking cadence, steps/min.
distance_metersNoSession distance in meters. Server converts to miles.
elevation_gain_mNoReported elevation gain in meters.
saved_workout_idNoSaved mode: existing Saved Workout ID to replace; omit to create a new one.
heart_points_peakNoPeak-intensity heart points, only if reported.
avg_pace_sec_per_miNoReported average seconds per mile. Never invent a pace. mi, or km via input_distance_unit.
input_distance_unitNokm when the user gave km for this object's _mi fields; omit for mi.
saved_workout_titleNoSaved mode: reusable workout name; defaults to focus_type.
heart_points_moderateNoModerate-intensity heart points (Google Fit or equivalent), only if reported.
save_as_saved_workoutNotrue = this payload is a reusable Saved Workout prescription, not a completed workout; default false.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed28 schema fields changed
    • changedInput schema / properties / avg_pace_sec_per_mi / description
      Previous value: -"Reported average seconds per mile. Never invent a pace. In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"Reported average seconds per mile. Never invent a pace. mi, or km via input_distance_unit."
    • changedInput schema / properties / date / description
      Previous value: -"YYYY-MM-DD. Default to today."New value: +"YYYY-MM-DD; default today."
    • changedInput schema / properties / distance_mi / description
      Previous value: -"Session distance in miles, when supplied in miles. In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"Session distance, when the user gave miles. mi, or km via input_distance_unit."
    • changedInput schema / properties / duration_sec / description
      Previous value: -"Total workout or moving time in seconds. Convert user-stated minutes to seconds; not a set duration."New value: +"Total workout or moving seconds (convert stated minutes); not a set duration."
    • changedInput schema / properties / 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 / exercises / items / properties / exercise_id / description
      Previous value: -"The [id] list_exercises shows for the matched name. See EXERCISE NAMES above."New value: +"The [id] list_exercises shows for the matched name. See EXERCISE NAMES."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight (e.g. 80 for an 80lb band). Use when is_band is true; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Band label weight when is_band; defaults to weight_lb. lb, or kg via input_weight_unit."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / distance_meters / description
      Previous value: -"Distance in meters for this circuit station/round; not total session distance."New value: +"Meters for this circuit station/round, not session distance."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / duration_sec / description
      Previous value: -"Elapsed seconds for this circuit station/round, not total workout duration or an isometric hold."New value: +"Seconds for this circuit station/round, not total workout time or an isometric hold."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / hold_length_sec / description
      Previous value: -"Seconds: a timed hold, seconds-per-rep for tempo work, or one carry trip. See SETS above."New value: +"Seconds: a timed hold, seconds-per-rep for tempo work, or one carry trip. See SETS."
    • changedInput schema / properties / 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 / exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True only when genuinely bodyweight. Omit when external load is unknown; existing equipment inference handles obvious bodyweight movements."New value: +"True only when genuinely bodyweight. Omit when the external load is unknown; obvious bodyweight movements are inferred."
    • changedInput schema / properties / 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 / exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load. For a band, the band label weight (e.g. 80 for an 80lb band). Omit when unknown or bodyweight; never invent it. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Load. For a band, the band label weight (e.g. 80 for an 80lb band). Omit when unknown or bodyweight; never invent it. lb, or kg via input_weight_unit."
    • changedInput schema / properties / exercises / items / properties / slot_type / description
      Previous value: -"warmup for prep at the start, finisher for burnout/cardio at the end, working otherwise."New value: +"warmup = prep at the start, finisher = burnout/cardio at the end, else working."
    • changedInput schema / properties / exercises / items / properties / superset_group / description
      Previous value: -"Same positive integer for exercises done back-to-back as a superset. Omit for standalone."New value: +"Same positive integer for exercises done back-to-back or as a superset. Omit for standalone."
    • changedInput schema / properties / heart_points_moderate / description
      Previous value: -"Moderate-intensity heart points, Google Fit or equivalent, if mentioned."New value: +"Moderate-intensity heart points (Google Fit or equivalent), only if reported."
    • changedInput schema / properties / heart_points_peak / description
      Previous value: -"Peak-intensity heart points, if mentioned."New value: +"Peak-intensity heart points, only if reported."
    • 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 / 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 / save_as_saved_workout / description
      Previous value: -"True when this payload is a reusable Saved Workout prescription, not a completed workout. Defaults to false."New value: +"true = this payload is a reusable Saved Workout prescription, not a completed workout; default false."
    • changedInput schema / properties / saved_workout_id / description
      Previous value: -"Existing Saved Workout ID to replace in saved mode. Omit to create a new Saved Workout."New value: +"Saved mode: existing Saved Workout ID to replace; omit to create a new one."
    • changedInput schema / properties / saved_workout_title / description
      Previous value: -"Optional reusable workout name in saved mode. Defaults to focus_type."New value: +"Saved mode: reusable workout name; defaults to focus_type."
    • changedInput schema / properties / segments / items / properties / distance_mi / description
      Previous value: -"In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"mi, or km via input_distance_unit."
    • changedInput schema / properties / segments / items / 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 / segments / items / properties / target_pace_sec_per_mi / description
      Previous value: -"In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"mi, or km via input_distance_unit."
    • changedInput schema / properties / splits / items / properties / distance_mi / description
      Previous value: -"In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"mi, or km via input_distance_unit."
    • changedInput schema / properties / splits / items / 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."
  2. Changed1 schema field changed
    • addedInput schema / properties / exercises / items / properties / exercise_id
      Added value: +{
      +  "description": "The [id] list_exercises shows for the matched name. See EXERCISE NAMES above.",
      +  "type": "integer"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / splits / items / properties / index / description
      Added value: +"1-based position in order. Renumbered 1..n on save."
  4. Changed1 schema field changed
    • changedInput schema / properties / 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."
  5. Changed2 schema fields changed
    • addedInput schema / properties / exercises / items / properties / sets / items / properties / distance_meters
      Added value: +{
      +  "description": "Distance in meters for this circuit station/round; not total session distance.",
      +  "type": "number"
      +}
    • addedInput schema / properties / exercises / items / properties / sets / items / properties / duration_sec
      Added value: +{
      +  "description": "Elapsed seconds for this circuit station/round, not total workout duration or an isometric hold.",
      +  "type": "integer"
      +}
  6. Changed21 schema fields changed
    • addedInput schema / properties / avg_cadence_rpm
      Added value: +{
      +  "description": "Reported cycling/rowing cadence, revs/min.",
      +  "maximum": 300,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / avg_cadence_spm
      Added value: +{
      +  "description": "Reported running/walking cadence, steps/min.",
      +  "maximum": 400,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / avg_hr
      Added value: +{
      +  "description": "Reported average heart rate (bpm).",
      +  "maximum": 260,
      +  "minimum": 20,
      +  "type": "integer"
      +}
    • addedInput schema / properties / avg_pace_sec_per_mi
      Added value: +{
      +  "description": "Reported average seconds per mile. Never invent a pace. In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +  "maximum": 7200,
      +  "minimum": 1,
      +  "type": "number"
      +}
    • addedInput schema / properties / avg_power_w
      Added value: +{
      +  "description": "Reported average power in watts (e.g. cycling).",
      +  "maximum": 5000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / calories / description
      Previous value: -"Session calories for simple cardio when supplied by the user/device."New value: +"Reported session calories; never invent."
    • changedInput schema / properties / distance_km / description
      Previous value: -"Session distance in kilometers. Server converts it to storage units; do not convert it yourself."New value: +"Session distance in kilometers. Server converts to miles."
    • changedInput schema / properties / distance_meters / description
      Previous value: -"Session distance in meters. Server converts it to storage units; do not convert it yourself."New value: +"Session distance in meters. Server converts to miles."
    • changedInput schema / properties / distance_mi / description
      Previous value: -"Session distance in miles for simple cardio. Use only when the user supplied miles. In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"Session distance in miles, when supplied in miles. In mi, or km with input_distance_unit set. See UNIT INPUTS."
    • changedInput schema / properties / duration_sec / description
      Previous value: -"Total session duration in seconds for simple cardio when known."New value: +"Total workout or moving time in seconds. Convert user-stated minutes to seconds; not a set duration."
    • addedInput schema / properties / elapsed_sec
      Added value: +{
      +  "description": "Elapsed seconds including pauses; omit if unknown.",
      +  "maximum": 86400,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / elevation_gain_m
      Added value: +{
      +  "description": "Reported elevation gain in meters.",
      +  "maximum": 100000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / estimated
      Added value: +{
      +  "description": "True only when a saved numeric value is an AI approximation; describe its source/range in notes.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / exercises / description
      Previous value: -"Every exercise performed, in order."New value: +"Only the actual exercises/sets provided by the user. For a session-level log, omit or use []."
    • changedInput schema / properties / focus_type / description
      Previous value: -"Infer from exercises: Push, Pull, Legs, Upper, Lower, Full Body, Cardio, Mobility. Omit if unclear."New value: +"Specific completed activity (Walking, Cycling, Yoga, Kettlebell Circuit, Full Body, etc.). Infer from user wording; omit only if notes describe the activity."
    • addedInput schema / properties / intensity
      Added value: +{
      +  "description": "Qualitative effort as reported (does not manufacture an RPE).",
      +  "enum": [
      +    "light",
      +    "moderate",
      +    "vigorous"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / max_hr
      Added value: +{
      +  "description": "Reported maximum heart rate (bpm).",
      +  "maximum": 260,
      +  "minimum": 20,
      +  "type": "integer"
      +}
    • addedInput schema / properties / max_power_w
      Added value: +{
      +  "description": "Reported peak power in watts.",
      +  "maximum": 5000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / segments
      Added value: +{
      +  "description": "Actually performed intervals/blocks, same structure as the in-app run logger; never invent.",
      +  "items": {
      +    "properties": {
      +      "distance_mi": {
      +        "description": "In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +        "type": "number"
      +      },
      +      "duration_sec": {
      +        "type": "integer"
      +      },
      +      "input_distance_unit": {
      +        "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"
      +      },
      +      "kind": {
      +        "enum": [
      +          "warmup",
      +          "easy",
      +          "steady",
      +          "tempo",
      +          "threshold",
      +          "interval",
      +          "recovery",
      +          "hill",
      +          "cooldown",
      +          "other"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "notes": {
      +        "type": "string"
      +      },
      +      "repeats": {
      +        "type": "integer"
      +      },
      +      "target_hr_max": {
      +        "type": "integer"
      +      },
      +      "target_hr_min": {
      +        "type": "integer"
      +      },
      +      "target_pace_sec_per_mi": {
      +        "description": "In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / splits
      Added value: +{
      +  "description": "Actually reported laps/splits, same structure as the in-app run logger; never invent.",
      +  "items": {
      +    "properties": {
      +      "avg_cadence_spm": {
      +        "type": "number"
      +      },
      +      "avg_hr": {
      +        "type": "integer"
      +      },
      +      "avg_power_w": {
      +        "type": "number"
      +      },
      +      "distance_mi": {
      +        "description": "In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +        "type": "number"
      +      },
      +      "duration_sec": {
      +        "type": "integer"
      +      },
      +      "elevation_change_m": {
      +        "type": "number"
      +      },
      +      "index": {
      +        "type": "integer"
      +      },
      +      "input_distance_unit": {
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "index"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 100,
      +  "type": "array"
      +}
    • addedInput schema / properties / start_time
      Added value: +{
      +  "description": "Local HH:MM when explicitly supplied; otherwise omit.",
      +  "type": "string"
      +}
  7. 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
  8. Changed2 schema fields changed
    • changedInput schema / properties / focus_type / description
      Previous value: -"Infer from the exercises: Push, Pull, Legs, Upper, Lower, Full Body, Cardio, Mobility. Ask only if genuinely unclear."New value: +"Infer from exercises: Push, Pull, Legs, Upper, Lower, Full Body, Cardio, Mobility. Omit if unclear."
    • changedInput schema / properties / location / description
      Previous value: -"Gym, Home, Outdoor. Infer from context or ask."New value: +"Gym, Home, Outdoor. Infer from context, else omit."
  9. Changed3 schema fields changed
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True if no external weight. Infer for pull-ups, push-ups, dips."New value: +"True only when genuinely bodyweight. Omit when external load is unknown; existing equipment inference handles obvious bodyweight movements."
    • addedInput schema / properties / exercises / items / properties / sets / items / properties / load_unknown
      Added value: +{
      +  "description": "True only when the user explicitly says this set load is unknown, not remembered, or should be saved without it. Never infer this or use it to replace a known load.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load. For a band, the band label weight (e.g. 80 for an 80lb band). Omit for bodyweight. In lb, or kg with input_weight_unit set. See UNIT INPUTS."New value: +"Load. For a band, the band label weight (e.g. 80 for an 80lb band). Omit when unknown or bodyweight; never invent it. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
  10. Changed6 schema fields changed
    • addedInput schema / properties / calories
      Added value: +{
      +  "description": "Session calories for simple cardio when supplied by the user/device.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / distance_km
      Added value: +{
      +  "description": "Session distance in kilometers. Server converts it to storage units; do not convert it yourself.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / distance_meters
      Added value: +{
      +  "description": "Session distance in meters. Server converts it to storage units; do not convert it yourself.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / distance_mi / description
      Previous value: -"Session distance in miles for simple cardio such as running, cycling/biking, or walking. Do not use for per-exercise loaded-carry distance. In mi, or km with input_distance_unit set. See UNIT INPUTS."New value: +"Session distance in miles for simple cardio. Use only when the user supplied miles. In mi, or km with input_distance_unit set. See UNIT INPUTS."
    • addedInput schema / properties / distance_mi / minimum
      Added value: +0
    • addedInput schema / properties / duration_sec / minimum
      Added value: +1
  11. Changed4 schema fields changed
    • addedInput schema / properties / exercises / items / properties / sets / items / properties / rpe / maximum
      Added value: +10
    • addedInput schema / properties / 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
  12. Changed4 schema fields changed
    • addedInput schema / properties / distance_mi
      Added value: +{
      +  "description": "Session distance in miles for simple cardio such as running, cycling/biking, or walking. Do not use for per-exercise loaded-carry distance. In mi, or km with input_distance_unit set. See UNIT INPUTS.",
      +  "type": "number"
      +}
    • addedInput schema / properties / duration_sec
      Added value: +{
      +  "description": "Total session duration in seconds for simple cardio when known.",
      +  "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 / required
      Previous value: -[
      -  "date",
      -  "exercises"
      -]New value: +[
      +  "date"
      +]
  13. Changed24 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"Date of the workout. Format: YYYY-MM-DD. Required — default to today."New value: +"YYYY-MM-DD. Default to today."
    • changedInput schema / properties / exercises / description
      Previous value: -"Ordered list of all exercises performed. Required."New value: +"Every exercise performed, in order."
    • changedInput schema / properties / exercises / items / properties / name / description
      Previous value: -"Exercise name. Required — use the canonical name from list_exercises if a match exists; otherwise use the name as stated."New value: +"Canonical name from list_exercises if one matches, else the name as stated."
    • changedInput schema / properties / exercises / items / properties / sets / description
      Previous value: -"All sets performed for this exercise, in order. Required."New value: +"Every set for this exercise, in order."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight in POUNDS, always (e.g. 80 for an 80lb band). Use when is_band is true. If omitted, weight_lb is used as the band label."New value: +"Band label weight (e.g. 80 for an 80lb band). Use when is_band is true; defaults to weight_lb. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / hold_length_sec / description
      Previous value: -"Hold/carry duration in seconds — a timed hold (plank, wall sit, dead hang), seconds-per-rep for deliberate tempo/eccentric work, or trip/round duration for loaded carries (farmers carry, sled push). Can coexist with reps and weight_lb: a loaded carry stores hold_length_sec + weight_lb together, a tempo set stores reps + weight_lb + hold_length_sec."New value: +"Seconds: a timed hold, seconds-per-rep for tempo work, or one carry trip. See SETS above."
    • addedInput schema / properties / 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 / exercises / items / properties / sets / items / properties / is_band / description
      Previous value: -"True if resistance comes from a band (not cable or free weight). Important for NSI scoring — band weight is converted using a movement-specific factor. Infer from context: \"band face pull\", \"80lb band\", etc."New value: +"True for a band, not a cable or free weight; NSI scores band load differently. Infer from \"band face pull\", \"80lb band\"."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / is_bodyweight / description
      Previous value: -"True if no external weight was used. Optional — infer true for pull-ups, push-ups, dips, etc."New value: +"True if no external weight. Infer for pull-ups, push-ups, dips."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / notes / description
      Previous value: -"Per-set notes. Optional — e.g. \"failed last rep\", \"paused at bottom\", carry distance (e.g. \"50 ft\")."New value: +"Per-set notes, e.g. \"failed last rep\", \"paused at bottom\", carry distance \"50 ft\"."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / reps / description
      Previous value: -"Reps completed this set. Optional — include if stated; omit for a pure hold with no rep count. Can coexist with hold_length_sec (tempo/pause work) and weight_lb."New value: +"Reps this set. Omit for a pure hold. Can coexist with hold_length_sec and weight_lb."
    • changedInput schema / properties / 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 / 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). For band exercises, this is the band label weight (e.g. 80 for an 80lb band). Optional — omit for bodyweight exercises."New value: +"Load. For a band, the band label weight (e.g. 80 for an 80lb band). Omit for bodyweight. In lb, or kg with input_weight_unit set. See UNIT INPUTS."
    • changedInput schema / properties / exercises / items / properties / slot_type / description
      Previous value: -"Optional. Tag this exercise as warmup, working (default), or finisher. Infer from context: warmup for activation/mobility/light prep at start, finisher for burnout/holds/cardio at end."New value: +"warmup for prep at the start, finisher for burnout/cardio at the end, working otherwise."
    • changedInput schema / properties / exercises / items / properties / superset_group / description
      Previous value: -"Optional. Assign the same positive integer to exercises performed back-to-back as a superset (e.g. both get superset_group: 1). Omit or null for standalone exercises."New value: +"Same positive integer for exercises done back-to-back as a superset. Omit for standalone."
    • changedInput schema / properties / focus_type / description
      Previous value: -"Workout category. Optional — infer from exercises (e.g. Push, Pull, Legs, Upper, Lower, Full Body, Cardio, Mobility). Ask if genuinely unclear."New value: +"Infer from the exercises: Push, Pull, Legs, Upper, Lower, Full Body, Cardio, Mobility. Ask only if genuinely unclear."
    • changedInput schema / properties / heart_points_moderate / description
      Previous value: -"Moderate-intensity heart points earned (Google Fit or equivalent). Optional — include if the user mentions them."New value: +"Moderate-intensity heart points, Google Fit or equivalent, if mentioned."
    • changedInput schema / properties / heart_points_peak / description
      Previous value: -"Peak-intensity heart points earned. Optional — include if mentioned."New value: +"Peak-intensity heart points, if mentioned."
    • changedInput schema / properties / location / description
      Previous value: -"Where the workout took place. Optional — e.g. Gym, Home, Outdoor. Infer from context or ask."New value: +"Gym, Home, Outdoor. Infer from context or ask."
    • changedInput schema / properties / notes / description
      Previous value: -"Free-text session notes. Optional — include anything the user mentions about how the session went, PRs hit, how they felt, etc."New value: +"Session notes: how it went, PRs hit, how they felt."
    • 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 / save_as_saved_workout
      Added value: +{
      +  "description": "True when this payload is a reusable Saved Workout prescription, not a completed workout. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / saved_workout_id
      Added value: +{
      +  "description": "Existing Saved Workout ID to replace in saved mode. Omit to create a new Saved Workout.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / saved_workout_title
      Added value: +{
      +  "description": "Optional reusable workout name in saved mode. Defaults to focus_type.",
      +  "type": "string"
      +}
  14. Changed2 schema fields changed
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / band_label_lb / description
      Previous value: -"Band label weight in pounds (e.g. 80 for an 80lb band). Use when is_band is true. If omitted, weight_lb is used as the band label."New value: +"Band label weight in POUNDS, always (e.g. 80 for an 80lb band). Use when is_band is true. If omitted, weight_lb is used as the band label."
    • changedInput schema / properties / exercises / items / properties / sets / items / properties / weight_lb / description
      Previous value: -"Load in pounds. For band exercises, this is the band label weight (e.g. 80 for an 80lb band). Optional — omit for bodyweight exercises."New value: +"Load in POUNDS, always — regardless of the user’s display unit. Convert from kg if needed (kg × 2.2046). For band exercises, this is the band label weight (e.g. 80 for an 80lb band). Optional — omit for bodyweight exercises."
  15. Changed4 schema fields changed
    • changedInput schema / properties / 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 / 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"
  16. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, and the description adds real behavioral context on top: inference rules (date, focus_type, slot_type, superset_group), a strict no-invention contract, the need to relay fuzzy name matches, and that the return is a session ID used by update/delete/get. The notable gap is that idempotentHint=false and destructiveHint=true are never addressed — nothing warns that a retried call creates a duplicate session or that saved-mode with saved_workout_id fully overwrites prior prescriptions.

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?

The content is dense and mostly earns its place, but the structure is poor: the document opens with "UNIT INPUTS" before the actual purpose sentence, and the core statement ("Log a complete workout session...") appears several paragraphs down. There is also visible redundancy between the description body and the schema field text (is_bodyweight, load_unknown, distance unit handling), and a stray lowercase "use:" fragment.

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?

For a 31-parameter tool with 100% schema coverage, an output schema, and annotations, this covers nearly everything an agent needs: both operating modes, parsing conventions, unit handling, and the no-invention/confirmation contract. The remaining hole is failure and retry semantics for a non-idempotent, destructive write (duplicate sessions, behavior when saved_workout_id points to a workout the user did not intend to replace).

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, and the description clearly exceeds that by adding interpretation rules the schema cannot express: the alternate_unit/companion-field precedence, per-hand vs total load basis for dumbbell_pair/dumbbell_single, the conditions under which load_unknown is legitimate, and parsing conventions like "3 sets of 15 reps" → three set objects. Some of it restates schema prose (is_bodyweight, load_unknown), which keeps it 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?

States a specific verb and resource — "Log a complete workout session: exercises, sets, reps, weights, session metadata" — plus an explicit trigger ("the user describes finishing a workout"). It actively routes away from the closest sibling ("log_run: the richer route for completed runs... Never send a walk, ride or row to log_run") and names propose_workout for in-app saved-workout plans, so the agent can separate the overlapping entry points.

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 (

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.