Skip to main content
Glama
liftoff-mcp
by mpvii

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LIFTOFF_API_BASENoOverride the version-pinned host if Liftoff retires it.
LIFTOFF_REFRESH_TOKENNoHeadless refresh token (never persisted).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server reads and writes your Liftoff (gymbros.com) training data.

Rules that matter:

  • Weights are KILOGRAMS at this boundary (matching the gym repo). Liftoff itself stores pounds; the tool converts both ways. weight_lb is included only for reference. Never report a pound value as kilograms.

  • Writes are dry-run by default. routine_create, routine_update, routine_delete, exercise_create and exercise_delete return exactly what would change and write nothing unless you pass confirm=true. Preview first, then confirm.

  • Read the routine before replacing it: routine_update is a full replacement (Liftoff's editPreset has no partial mode), so fetch it with routine_show, edit the list, and pass the whole thing back.

  • Exercise names resolve against what you have actually logged plus your saved routines, so "bench" finds "Incline Dumbbell Bench Press". A movement you have never logged is not in the catalogue — add it with exercise_create first. If a name is ambiguous the tool says so and lists the candidates; do not guess.

  • Liftoff assigns its own ids on create; the returned routine is authoritative.

  • The schedule is two things: schedule_week (the recurring weekday template) and schedule_get (concrete workouts on dates). Use schedule_add_workout to put a saved routine on a date; schedule_set_week to set the template. Both are dry-run unless confirm=true.

Typical flow for "make me a push routine with bench 3x8 at 80kg and dips 3x10":

  1. exercises_search if a name is uncertain.

  2. routine_create without confirm -> inspect the preview.

  3. routine_create with confirm=true -> written to Liftoff.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
statusA

Check auth and show a one-line summary of your Liftoff data.

Read-only. Confirms the CLI login is still valid and reports the API host, routine count, workout count and latest workout date.

routines_listA

List your saved routines (names, ids, exercise and set counts, volume).

Read-only. Volume is the sum of weight x reps for weighted exercises, in kg.

routine_showA

Show one routine by name (case-insensitive) or id, with every set in kg.

Read-only. Use this before routine_update, which replaces the whole routine and therefore needs the complete exercise list back.

exercises_searchA

Find exercises you have logged or saved, returning their Liftoff ids.

Read-only. Matching is loose: "bench" finds "Incline Dumbbell Bench Press". Use exercise_id in routine tools when a name is ambiguous.

exercise_createA

Create a custom exercise in Liftoff (dry-run unless confirm=true).

Use this for movements that are not in your history yet — mobility drills, med-ball throws, speed-stick swings. exercise_type is one of: WR (weight & reps), BR (bodyweight & reps), DD (distance & duration), WD (weight & distance), ND (no data — duration only; use duration_s when adding it to a routine).

muscle is the broad group (Core, Hips, Shoulders, Full Body, ...); primary_muscles is a non-empty list. The mutation returns the new exercise with the id the routine tools need. Nothing is written until the call is repeated with confirm=true.

exercise_deleteA

Delete a custom exercise by id (dry-run unless confirm=true).

Only custom exercises can be deleted; built-in catalogue entries are not yours to remove. Deleting one that is still used by a routine may leave that routine pointing at a missing id, so check first.

workouts_listA

List workouts, newest first, with sets in kg.

Read-only. Dates: today | yesterday | YYYY-MM-DD | 30d | 4w | 6m | 1y. Workout dates are local. exercise filters with word-prefix matching ("bench" matches "Bench Press"). volume_kg sums weight x reps.

bodyweights_listA

List recorded bodyweights in kg, oldest first.

Read-only. Liftoff only records a bodyweight on days you logged a workout, so gaps are rest days, not missing data.

routine_createA

Create a routine in Liftoff (dry-run unless confirm=true).

exercises is a list like: [{"exercise": "Bench Press", "sets": [{"weight_kg": 80, "reps": 8}, {"weight_kg": 80, "reps": 8}]}, {"exercise": "Dips", "sets": [{"weight_kg": 0, "reps": 10}]}]

Each exercise needs exercise (a name) or exercise_id (from exercises_search). Each set takes weight_kg and reps (or duration_s, distance_km for cardio), an optional type (normal/warmup/dropset), and an optional exercise-level notes. Weights are kilograms.

Nothing is written until you call this again with confirm=true; the first call returns the exact preview, including any duplicate routine names.

routine_updateA

Replace a routine's contents (dry-run unless confirm=true).

Liftoff's edit has no partial mode: this replaces the WHOLE exercise list. Call routine_show first, modify that list, and pass all of it back. Set inputs are the same shape as routine_create (kilograms).

routine_deleteA

Delete a routine by name or id (dry-run unless confirm=true).

Deletion cannot be undone in this tool. The preview names exactly which routine would go, so check it before confirming.

schedule_getA

Scheduled workouts between two dates, grouped by day.

Read-only. Dates are yyyy-MM-dd. Each workout carries the id used by schedule_move_workout / schedule_remove_workout, the routine name and whether it is completed or skipped.

schedule_weekA

The recurring weekly template: what each weekday is set to.

Read-only. A day is REST, a USER_PRESET (with the routine id the app will run) or GENERATED_WORKOUT (from a Liftoff plan).

schedule_add_workoutA

Put a saved routine on a date (dry-run unless confirm=true).

routine is a routine name or id; date is yyyy-MM-dd. This creates a concrete scheduled workout, which is what the calendar shows. Nothing is written until the call is repeated with confirm=true.

schedule_add_one_offA

Add a one-off workout to the calendar without saving a routine.

exercises is a list like::

{"name": "Hex Bar Deadlift",
 "sets": [{"weight_kg": 150, "reps": 3}, ...]}

Bodyweight work can omit the weight (it is sent as 0 kg). Mobility work uses {"duration_s": 60}. This is the right tool for an ad-hoc session; it does not appear in the routine list. Nothing is written until the call is repeated with confirm=true.

schedule_move_workoutB

Move a scheduled workout to another date (dry-run unless confirm=true).

schedule_remove_workoutA

Remove a scheduled workout by id (dry-run unless confirm=true).

schedule_set_weekA

Set the recurring weekly template (dry-run unless confirm=true).

days is a list of entries like::

{"day_index": 1, "type": "USER_PRESET", "routine": "Full Body A"}
{"day_index": 4, "type": "REST"}

day_index is 0-6 with 0 = Sunday. type is USER_PRESET, REST or GENERATED_WORKOUT. A USER_PRESET needs routine (name or id). The app reads the latest entry per weekday, so send one entry per day you change. Nothing is written until the call is repeated with confirm=true.

schedule_update_workoutB

Edit the exercises inside a scheduled workout (dry-run unless confirmed).

This is the low-level session editor. Each entry uses the app's own shape: removed: {sectionIndex, exerciseIndex}; swapped: {sectionIndex, exerciseIndex, exerciseId}; edits: {sectionIndex, exerciseIndex, exerciseId, sets[]}; added: {sectionIndex, exerciseId}. Sets use {setIndex, setType, inputOne, inputTwo}.

plan_startA

Generate a Liftoff training plan (dry-run unless confirm=true).

goal: BECOME_STRONGER | BUILD_MUSCLE | LOSE_WEIGHT | GET_TONED. styles: BODYBUILDING | POWERLIFTING | CALISTHENICS | CIRCUIT_TRAINING | HIIT | STRETCHING. available_days: 0-6 (0 = Sunday). This creates new workouts and a schedule; it does not use your saved routines.

plan_editB

Edit an existing generated plan (dry-run unless confirm=true).

plan_deleteB

Delete a generated plan by id (dry-run unless confirm=true).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 22 tools

Disambiguation4/5

Each tool has a recognizable resource+action target, and the descriptions actively disambiguate the risky pairs (routine_create vs. schedule_add_workout vs. schedule_add_one_off, schedule_get vs. workouts_list vs. schedule_week). A couple of boundaries still require careful reading — notably routine_create + schedule_add_workout versus schedule_add_one_off, and exercises_search versus exercise_create for naming resolution — but nothing is truly duplicated.

Naming Consistency4/5

The convention is uniformly resource_verb (exercises_search, routine_create, schedule_move_workout, plan_delete), with schedule_* and plan_* families clearly grouped. Minor deviations exist: the bare 'status' tool breaks the pattern, and list tools use plural nouns (workouts_list, routines_list) while mutation tools use singular (exercise_create, routine_create).

Tool Count3/5

22 tools spanning six sub-domains (exercises, workouts, bodyweight, routines, schedule, plans) is defensible, but the schedule family alone has eight entries including the low-level schedule_update_workout, which pushes the surface toward heavy. The set is cohesive rather than bloated, though the upward creep is noticeable.

Completeness3/5

Routines and schedule have near-full lifecycle coverage, but the workout surface is read-only (workouts_list, no get/detail or logging of a completed session), custom exercises can be created and deleted but never updated, and plans can be started/edited/deleted but not listed or shown. These are meaningful gaps for a fitness-logging domain that will force agents to route around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues