Skip to main content
Glama

Server Details

Your training data in Claude, ChatGPT and any MCP client. Shape syncs workouts, sleep, HRV and daily health from Garmin (official partner API), Apple Health, Wahoo, Polar and more. It works out fitness, fatigue, form and readiness, and sends structured workouts to your Garmin, Apple Watch or Wahoo. Hosted, signs in with OAuth, no passwords in config files.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
Shape Calendar
Claude
–

TDQS

A3.9/5.0

Scored across 19 tools

Disambiguation4/5

The main risk is create/update/complete the batch twins, but descriptions draw sharp boundaries: complete_activity vs update_activity is explicitly contrasted, and batch_* is clearly separated by the prefix. get_activity vs get_activity_details is also cleanly split (summary/metadata vs time-series). Only slight overlap remains between create_activity and update_activity since both share the same long schema narrative.

Naming Consistency5/5

Every tool follows a consistent verb_noun pattern (create_activity, get_activity_details, list_health_metrics, pair_activities, update_profile, connect_device). Even the batch variants use a predictable batch_ prefix rather than a different convention. No camelCase/snake_case mixing anywhere.

Tool Count4/5

At 19 tools this sits at the edge of 'heavy' for a calendar/activity server, but each one maps to a real need: full activity CRUD, batch variants, pairing, health metrics, profile, device connection, training status, help and feedback. The batch create/update/delete trio is the one arguably redundant cluster, but it earns its place for plan import and bulk edits.

Completeness4/5

Activity lifecycle is fully covered (create/read/update/delete, batching, pairing/unpairing) plus health metrics, profile, device connection, training status and support surfaces. Minor gaps: no dedicated plan/block management tools or single-day health-get beyond list_health_metrics, and no explicit sync-status query outside connect_device/get_profile.connections.

Publisher details

Operator
Kraft Labs AB · Publisher source
Vendor relationship
First-party · Publisher source
Trust center
Not provided
Restrictions
Needs a Shape account. Free for 14 days, then a paid Shape plan to keep using the MCP server. No admin approval, no regional limits and no custom OAuth app: clients with OAuth sign in through Shape's own consent screen, and others use a bearer token from Settings → API access. · Publisher source

Available Tools

19 tools
batch_create_activitiesCreate activities (batch)AInspect

Create up to 100 activities in a single call. Same per-activity shape and rules as create_activity (notably: distance is in meters, duration in seconds, always set load on planned workouts or they will not appear in training-load or get_training_status's projection, pace step targets are seconds-per-km including for swims spoken in per-100m, and rest days are skipped rather than created). Importing a training plan is the common case: omit its rest days from the array entirely. After importing, call get_training_status with no from/to and read series plus projection — that is the week’s shape and its peak. Do not pass a long history range for this check. SWIM STEPS: the watch reads swimDrill, swimEquipment and swimStroke, never displayName. Set swimDrill on every drill ('drill'), kick ('kick') and pull ('pull') step, which keeps its normal stepType (usually 'interval'; 'drill' is never a stepType), swimEquipment to the one piece of kit that step uses, and swimStroke on every step whose stroke is named. When the athlete names their pool ("50m pool", "25 yard pool"), set poolLength. STRENGTH: write lifting, circuits and Hyrox as exercises, never as steps: items {type 'exercise', exercise, sets: one entry per set with reps and weightKg in kg, so 3x8 is three entries} and {type 'cardio', sport ('run', 'bike', 'skierg' or 'row'), distanceM or durationSec} for the runs and ergs between stations. Set sportType 'strength'. YOGA, pilates and mobility routines with named moves are exercises too, with sportType 'yoga': one exercise item per move, its sets time only (durationSec: cat-cow 2 min is one set of 120, 2x30s is two sets of 30, 1 min each side is two sets of 60), a move done on each side one set per side with 'each side' in notes, no reps or weight. Only exercises or moves the athlete named, never invented ones: "Strength 45 min" or "30 min yoga" is the duration with no exercises. Keep duration when there are exercises. An activity has exercises or steps, never both. On a planned activity exercises is the plan; on a completed one, what was done.

Inputs: activities (required). Returns: activities

batch_delete_activitiesDelete activities (batch)B
DestructiveIdempotent
Inspect

Delete up to 100 activities in a single call.

Inputs: ids (required). Returns: deleted

batch_update_activitiesUpdate activities (batch)A
DestructiveIdempotent
Inspect

Update up to 100 activities in a single call. Each entry must include its id. STRENGTH: write lifting, circuits and Hyrox as exercises, never as steps: items {type 'exercise', exercise, sets: one entry per set with reps and weightKg in kg, so 3x8 is three entries} and {type 'cardio', sport ('run', 'bike', 'skierg' or 'row'), distanceM or durationSec} for the runs and ergs between stations. Set sportType 'strength'. YOGA, pilates and mobility routines with named moves are exercises too, with sportType 'yoga': one exercise item per move, its sets time only (durationSec: cat-cow 2 min is one set of 120, 2x30s is two sets of 30, 1 min each side is two sets of 60), a move done on each side one set per side with 'each side' in notes, no reps or weight. Only exercises or moves the athlete named, never invented ones: "Strength 45 min" or "30 min yoga" is the duration with no exercises. Keep duration when there are exercises. An activity has exercises or steps, never both. On a planned activity exercises is the plan; on a completed one, what was done. When the athlete tells you what they did in a planned session ("I did 3x8 at 62.5", "log today's session"), call complete_activity with its plannedActivityId instead: updating the planned activity overwrites the plan.

Inputs: activities (required). Returns: updated

complete_activityRecord a completed sessionAInspect

Record what the athlete did against a planned activity. Creates a completed activity paired with the plan and leaves the plan as it was, so planned and done can be compared. Use this whenever the athlete reports a session they did against a plan, even when it differs from the plan: "I did 3x8 at 62.5", "log today's session, bench 3x8 at 60", "I did the workout but only 2 sets of squats". Never update_activity for that: it overwrites the plan. A session named without a day ("the workout", "my session") is the one planned for today, not a later one that fits the words better. Send what was done: exercises with every set as performed (weightKg in KILOGRAMS), or for a run or ride its duration in SECONDS and distance in METERS. Anything left out is taken from the plan, as done as planned (a plan dated after today is recorded today); when part of the session changed, send the whole session with the change. exercises items: {type 'exercise', exercise, sets: one entry per set with reps and weightKg, or durationSec alone for a yoga move} and {type 'cardio', sport ('run', 'bike', 'skierg' or 'row'), distanceM or durationSec}. Refused when the planned activity is already paired or is not a plan. To change what is planned, use update_activity.

Inputs: plannedActivityId (required), date, load, power, +10 more. Returns: note, activity, plannedActivityId

connect_deviceConnect a deviceAInspect

Connect a device to this Shape account from the chat. Returns, per device, whether it is already connected and otherwise a link the athlete opens: for Garmin, Wahoo, Polar, Hammerhead, Intervals.icu, Hevy, Concept2 and Oura a one-time sign-in link that works in any browser for 15 minutes and starts the import as soon as they allow Shape (Polar's first shows what Shape keeps from Polar, which its terms ask for); for Apple Health the iPhone app, since Health only connects from the phone. Hevy (strength workouts with their sets) has a limited number of places and Concept2 (rowing, SkiErg and BikeErg results) is not open on every account yet: when one cannot be connected it comes back with no link and a note saying why, which you pass on. A source that is not offered here at all (WHOOP) connects in Shape under Settings, Connections: say that, and never suggest another way round to bring its data in. Pass provider when the athlete named their device. Leave it out to get every option with its link, and let them pick. Call it when a tool answered that nothing is synced yet or no device is connected, when the athlete asks to connect, add or check a watch, and when they say data from a connected device is missing. Already-connected devices come back with connected: true, plus off: Garmin sharing switches left off (Historical Data, Health, Activities), each with what turning it on would bring, which may be the athlete's choice; and lapsed: true when the connection stopped working. When either applies the device carries a link to sign in again, which restores the connection or lets them turn a switch on; otherwise there is no link and the call changes nothing. Raise a switch that's off only when it explains what they asked about. Give the athlete the link itself (it is personal and expires), then ask them to come back and ask again once they have allowed Shape.

Inputs: provider. Returns: devices, message

create_activityCreate activityAInspect

Create a new planned or completed workout activity for the authenticated user. Top-level distance is in METERS (8 km = 8000, a marathon = 42195) and duration is in SECONDS (45 min = 2700) — convert from whatever units the user speaks in. Always set load on planned workouts: without it the session is invisible to fitness, fatigue and get_training_status's projection. Estimate as (duration_seconds / 3600) × effort² × 100, where effort is 0.25 recovery, 0.5 easy, 0.75 tempo, 1.0 threshold, 1.25 VO2, 1.5 race (a 60-minute easy run is ~25). After creating or moving planned work, call get_training_status with no from/to and read series (the next week of load) and projection (its peak). Do not pass a long from/to for this. Above 1.5 is High. For structured interval workouts, set target to "steps" and provide steps. Write a set of N reps as ONE repeat step (stepType "repeat", numberOfIterations N, workoutSteps = the rep and its recovery), never as N copies written out: copies drift, and "6x400m" comes back as seven. Pace step targets (targetValueOne/Two) MUST be seconds-per-km (240 = 4:00/km; smaller = faster), never min/km strings or meters-per-second, or pace will not export to the user's watch. This includes SWIMMING, which athletes speak in per-100m: convert it, so "2:00 per 100m" is 1200, never 120. Do not create an activity for a rest day: rest is the absence of a workout, and a "Rest Day" row typed as a run with zero distance clutters the calendar and the training log. Skip those days entirely. date is the calendar day (YYYY-MM-DD) and never a timestamp; put time of day in startTime as local HH:mm, since Shape stores no timezone and a UTC instant cannot say what "7am" meant to the athlete. SWIM STEPS: the watch reads swimDrill, swimEquipment and swimStroke, never displayName. Set swimDrill on every drill ('drill'), kick ('kick') and pull ('pull') step, which keeps its normal stepType (usually 'interval'; 'drill' is never a stepType), swimEquipment to the one piece of kit that step uses, and swimStroke on every step whose stroke is named. When the athlete names their pool ("50m pool", "25 yard pool"), set poolLength. STRENGTH: write lifting, circuits and Hyrox as exercises, never as steps: items {type 'exercise', exercise, sets: one entry per set with reps and weightKg in kg, so 3x8 is three entries} and {type 'cardio', sport ('run', 'bike', 'skierg' or 'row'), distanceM or durationSec} for the runs and ergs between stations. Set sportType 'strength'. YOGA, pilates and mobility routines with named moves are exercises too, with sportType 'yoga': one exercise item per move, its sets time only (durationSec: cat-cow 2 min is one set of 120, 2x30s is two sets of 30, 1 min each side is two sets of 60), a move done on each side one set per side with 'each side' in notes, no reps or weight. Only exercises or moves the athlete named, never invented ones: "Strength 45 min" or "30 min yoga" is the duration with no exercises. Keep duration when there are exercises. An activity has exercises or steps, never both. On a planned activity exercises is the plan; on a completed one, what was done.

Inputs: date (required), title (required), sportType (required), load, +14 more. Returns: activity

delete_activityDelete activityA
DestructiveIdempotent
Inspect

Delete an activity. Unlinks any paired counterpart.

Inputs: id (required). Returns: deleted

get_activityGet activityA
Read-onlyIdempotent
Inspect

Fetch a single Shape activity by id. If this is a completed workout with plannedActivityId set, that id is the plan — fetch it for the planned description and steps; they are not copied onto the completed row. The recorded route is left out unless you ask for it, and get_activity_details is the better way to get it: it serves GPS as lat/lng channels at a resolution you pick, where map is an opaque encoded polyline only a map renderer can use.

Inputs: id (required), includeMap. Returns: activity

get_activity_detailsGet activity detailsA
Read-onlyIdempotent
Inspect

Fetch the recorded time-series for one completed activity: heart rate, pace/speed, cadence, power, elevation, GPS and timestamps, running dynamics and pedal balance when the device recorded them, plus lap splits, time in each training zone (Shape's model, and the device's own zones when it recorded them) and a pool swim's lengths. Use this for questions the summary can't answer — how the effort was paced, where the athlete faded, how hard each interval was. Channels are parallel arrays indexed against time (seconds since the activity start), units names the unit of each, and resolutionSeconds is the spacing between points — raise points (up to 2000) if it's too coarse. laps and zones are computed from the full recording before any reduction, so they stay exact whatever resolution you ask for. Only activities recorded by a connected device have this. When there is none, the 404 carries a reason code (not_completed, manual_entry, source_unsupported, imported_before_streams, no_samples_recorded) and a message written to be relayed to the user as-is — use it rather than guessing why the data is absent. Prefer the laps and zones summaries over reading the raw arrays when they answer the question. When a workout was imported from two connected sources, the richest recording is served and detailFrom names it — so source here may differ from the activity's own source. A strength workout's sets are not here: they are the activity's exercises, on get_activity and list_activities.

Inputs: id (required), points, channels, includeLaps, +2 more. Returns: url, date, laps, title, +13 more

get_helpRead Shape helpA
Read-onlyIdempotent
Inspect

Shape's help center: connecting a watch or health app, a missing workout or sync, sending workouts to a watch or calendar, connecting Claude or ChatGPT, training load, plans and billing. Use it when the athlete has a problem with Shape itself or asks how to do something in it, before you guess at steps or settings: call it without article for the list of articles, each with one line on what it covers, then call it with the matching slug to read that article. Answer from the article in your own words, only the steps that fit their situation, and give its link. The answer says what to do if the steps don't solve it. Not for training questions, which you answer yourself.

Inputs: article. Returns: next, article, articles

get_profileGet profile numbersA
Read-onlyIdempotent
Inspect

The athlete's numbers that score training load and set heart-rate and pace zones: max, resting and threshold heart rate, cycling FTP, running threshold pace (seconds per km) and swim threshold (seconds per 100 m). Each comes with where it is from (set by the athlete, from the device, from Apple Health, from the daily readings) and since when. A null value means nothing is on file: sessions that need it get no training load, which is why load or fitness can read as zero. Also the profile fields that shape a plan: gender, birth year, the distance unit Shape shows (km or mi), the weight unit (kg or lb: show weights to the athlete in it, while every weight Shape takes or returns is kg), the day the week starts on, and the pool swims are written for. And connections: the devices connected to the account (Garmin, Wahoo, Apple Health, Polar, Hammerhead, Intervals.icu) with when each was connected, empty when nothing is connected yet; connect_device adds one, and says what signing in again would change. A listed device is connected; its connectedAt is null when it was connected before Shape recorded the date.

Inputs: no named parameters. Returns: gender, numbers, birthYear, poolLength, +4 more

get_training_statusGet training statusA
Read-onlyIdempotent
Inspect

How the athlete is doing right now: readiness (are they recovered enough to train hard), training load (fitness, fatigue, form and the acute:chronic ratio), and what their planned workouts do to that ratio over the next week. Call this for 'should I train hard today', 'am I overtraining', 'how is my fitness trending' or 'why is my readiness low' — it answers all four in one call, and every readiness score reports the drivers that produced it so the number can be explained rather than just asserted. Also call this BEFORE planning a block and AFTER creating or rearranging planned workouts: omit from and to. The snapshot already includes series for today plus the next 7 days of fitness/fatigue/form/ratio (no readiness — that cannot be projected) and projection (the peak ratio in that week). It is null when nothing planned has a load. A ratio above 1.5 is High. Pass from and to together only when the question is a trend over time. A year of history is tens of thousands of tokens; the default week is not. Two readiness numbers, deliberately: the snapshot includes training already completed today and so falls through the day, while every day in series is MORNING readiness and never includes it. A past day's series score is how they woke up, not how the day ended, so the snapshot and the last series element can differ for the same date. Each reports which it is in basis. For what is actually on the calendar today, call list_activities — this returns the plan's consequence, not the plan.

Inputs: to, from. Returns: date, load, series, onTrack, +7 more

list_activitiesList activitiesA
Read-onlyIdempotent
Inspect

List the authenticated user's activities (planned and completed workouts), newest first. Filter by date range, sport type and completed state. A fulfilled plan is returned once, as the completed workout — its description and steps are not the plan. To read the plan (title, description, structured steps), call get_activity with plannedActivityId, or set includePaired=true to also return the planned row. Do not treat the completed row's description as the prescription. Summary fields only: routes never come back here, and the recorded time-series comes from get_activity_details one activity at a time.

Inputs: to, from, limit, offset, +3 more. Returns: limit, total, offset, activities

list_health_metricsList health metricsA
Read-onlyIdempotent
Inspect

List the authenticated user's daily health metrics (sleep, HRV, resting HR, body battery, VO2max, body composition, blood pressure, steps, etc.), merged across Garmin and Apple into one record per day. Supports from/to date filters, an optional single source, and a metrics whitelist. The metrics values are exact field ids, enumerated in this tool's input schema — restingHR, hrvMs, sleepDurationSec, sleepScore, bodyBatteryCharged, vo2max and so on — not prose names like restingHeartRate or sleepDuration. Omit metrics entirely to get everything recorded that day, which is the right default when you don't know what the user has. Each value reports which source it came from. When from is omitted, only the last 90 days are returned; pass from to reach further back.

Inputs: to, from, source, metrics. Returns: days, total

pair_activitiesPair workoutsA
Idempotent
Inspect

Pair a completed activity with the planned activity it fulfills. Both must belong to the user.

Inputs: plannedActivityId (required), completedActivityId (required). Returns: paired, plannedActivityId, completedActivityId

send_feedbackSend feedback to ShapeAInspect

Send a message from the athlete to the Shape team: a bug, a missing feature, or something that did not work the way they expected. A person reads it and replies by email. Call this only when the athlete explicitly asks to send feedback, report a problem or contact Shape. Never call it on your own: not after a tool error, not because they sound unhappy, and not to report your own difficulties. If it would help them, offer once and wait for their yes. Show them the message and send it after they agree. Say what they were trying to do and what happened, in their words. Leave out workouts, health data and readings unless they ask to include them; their account and the app they are using are attached for you. Send it once: success means it was delivered. Not for training questions, which you answer yourself. For a problem with how Shape works (a sync, a connection, a workout that didn't reach the watch, billing), read the matching article with get_help first and try its steps with them; offer this if that doesn't solve it. If they already want to report it, send it without making them read help first.

Inputs: message (required). Returns: sent, message

unpair_activityUnpair workoutB
DestructiveIdempotent
Inspect

Remove the pairing between a planned and completed activity.

Inputs: activityId (required). Returns: unpaired, partnerId, activityId

update_activityUpdate activityA
DestructiveIdempotent
Inspect

Update fields on an existing activity. Provide the id and any subset of fields to change. If you change duration or intensity on a planned workout, recompute load with (duration_seconds / 3600) × effort² × 100 and then call get_training_status to see the new projection. SWIM STEPS: the watch reads swimDrill, swimEquipment and swimStroke, never displayName. Set swimDrill on every drill ('drill'), kick ('kick') and pull ('pull') step, which keeps its normal stepType (usually 'interval'; 'drill' is never a stepType), swimEquipment to the one piece of kit that step uses, and swimStroke on every step whose stroke is named. When the athlete names their pool ("50m pool", "25 yard pool"), set poolLength. STRENGTH: write lifting, circuits and Hyrox as exercises, never as steps: items {type 'exercise', exercise, sets: one entry per set with reps and weightKg in kg, so 3x8 is three entries} and {type 'cardio', sport ('run', 'bike', 'skierg' or 'row'), distanceM or durationSec} for the runs and ergs between stations. Set sportType 'strength'. YOGA, pilates and mobility routines with named moves are exercises too, with sportType 'yoga': one exercise item per move, its sets time only (durationSec: cat-cow 2 min is one set of 120, 2x30s is two sets of 30, 1 min each side is two sets of 60), a move done on each side one set per side with 'each side' in notes, no reps or weight. Only exercises or moves the athlete named, never invented ones: "Strength 45 min" or "30 min yoga" is the duration with no exercises. Keep duration when there are exercises. An activity has exercises or steps, never both. On a planned activity exercises is the plan; on a completed one, what was done. When the athlete tells you what they did in a planned session ("I did 3x8 at 62.5", "log today's session"), call complete_activity with its plannedActivityId instead: updating the planned activity overwrites the plan.

Inputs: id (required), date, load, power, +15 more. Returns: note, activity

update_profileUpdate profile numbersA
DestructiveIdempotent
Inspect

Save numbers the athlete gave you: max, resting or threshold heart rate (bpm), cycling FTP (W), running threshold pace (seconds per km, 5:00/km is 300) or swim threshold (seconds per 100 m). Pass only the fields they named, as whole numbers; a value outside the settings ranges is refused. Each is saved as the athlete's own value from today, exactly as typing it in Shape's settings does, and outranks what a device reports. Load follows the same rule as settings: a first value scores the sessions that had no load (load: "filled"); a changed value applies from today and older sessions keep their load (load: "from_today"). Also saves gender (male or female, an input to heart-rate load under the same rule), birth year, distance unit (km or mi), weight unit (kg or lb, how weights are shown; inputs stay kg), the first day of the week (monday or sunday) and pool length. Only save what the athlete actually stated or confirmed. Never guess a value, never estimate a heart rate from their age, and never save one they did not agree to. null hands a number back to the device's value, or clears gender or birth year.

Inputs: ftp, maxHR, gender, birthYear, +8 more. Returns: load, gender, numbers, updated, +5 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A hosted MCP server that connects a user's own Garmin Connect account to AI agents, enabling them to read training, sleep, HRV, and other metrics and to create and schedule workouts. It works with Claude Code, ChatGPT, Cursor, and other MCP-compatible clients without a Garmin Connect API key.
      7
      Elastic 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Syncs your own Garmin Personal API data into a local SQLite archive and lets any MCP-capable AI assistant query sleep, HRV, stress, body battery, training and activity trends through natural language, with optional interactive charts. Everything runs locally with your own API key, so private health data stays on your machine.
      43 PyPI
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Claude and other remote MCP clients to query a user's own Garmin Connect data — sleep, HRV, Body Battery, stress, heart rate, and activity history — through Garmin's official read-only Personal API, so training and recovery questions can be answered in natural language from phone or desktop. It runs on Cloudflare Workers' free tier with OAuth 2.1 sign-in and no stored passwords.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Garmin Connect to AI assistants, answering questions about training, sleep, HRV and recovery with metrics computed in code rather than guessed from raw JSON. Queries daily readiness, training load, activity FIT analysis and personal records through a self-hosted Cloudflare Worker with OAuth.
      10
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources