Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FITNESS_MCP_DB_PATHNoSQLite cache location.~/.fitness_mcp/data.db
FITNESS_MCP_CA_BUNDLENoPath to a custom CA bundle for TLS-inspected networks. Defaults to the certifi bundle.
FITNESS_MCP_HTTP_HOSTNoHTTP bind host.127.0.0.1
FITNESS_MCP_HTTP_PATHNoHTTP mount path./mcp
FITNESS_MCP_HTTP_PORTNoHTTP port.8000
FITNESS_MCP_LOG_LEVELNoLog level: DEBUG, INFO, WARNING, or ERROR.INFO
FITNESS_MCP_TRANSPORTNoTransport to use: stdio or http.stdio
GARMIN_PERSONAL_API_KEYYesRequired. Your Garmin Personal API key.
FITNESS_MCP_HTTP_TIMEOUTNoPer-request Garmin timeout in seconds.30
FITNESS_MCP_MAX_RANGE_DAYSNoHard cap on tool-call date ranges. Clamped silently.90
FITNESS_MCP_HTTP_CORS_ORIGINSNoComma-separated origins for claude.ai web.
FITNESS_MCP_HTTP_BEARER_TOKENSNoComma-separated list of accepted bearer tokens. Required to bind off localhost.

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 publishes no instructions, or was last inspected before Glama recorded them.

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
get_activitiesA

List workouts between start and end (YYYY-MM-DD, inclusive).

    Returns a summary per activity: sport, name, start time, duration (min),
    distance (km), avg/max HR, elevation, training load. Use this to answer
    "what did I do last week?" or "show me every run since April".

    - `sport`: optional filter (e.g. "running", "cycling"). Matches case-insensitively.
    - `force_refresh`: skip the freshness cache and refetch every day in range.

    Use `get_activity_detail(activity_id)` for splits / HR zones of one activity.
    
get_activity_detailA

Full detail for one activity: splits, HR zones, elevation profile where the provider exposes them. Call after get_activities to drill in.

get_sleepA

Per-night sleep in [start, end] (YYYY-MM-DD, inclusive).

    Returns hours slept, deep/REM/light/awake minutes, and sleep score per
    night. Recent nights may silently refresh — watches sync late and Garmin
    finalises sleep scoring the following morning.
    
get_daily_summaryB

One row per day combining wellness (steps, resting HR, stress, body battery) and sleep (hours, score). Use this for "how was my recovery last week?" style questions.

get_trendsC

Aggregate a daily metric into day/week/month buckets.

    `metric` is one of:
        resting_hr, steps, stress_avg, body_battery_high, body_battery_low,
        sleep_score, sleep_hours, training_load, vo2max, hrv
    Sums are used for steps and training_load; everything else is averaged.
    `bucket` is "day", "week", or "month" (default "week").
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

The tools mostly have distinct purposes: listing activities, drilling into one activity, aggregating daily metrics, retrieving per-night sleep, and combining wellness/sleep into a daily summary. There is some overlap because sleep data appears in get_sleep, get_trends, and get_daily_summary, but the descriptions clarify different granularities and use cases.

Naming Consistency5/5

All tools use the same get_ verb prefix and snake_case noun style: get_activities, get_activity_detail, get_trends, get_sleep, get_daily_summary. The pattern is predictable and easy to scan.

Tool Count5/5

Five tools is well-scoped for a read-only fitness analytics server. Each tool covers a meaningful slice of the domain without redundant operations.

Completeness4/5

The surface covers activity listing/detail, trends, sleep, and daily recovery summaries, which addresses core fitness questions. Minor gaps may exist around richer activity streams or profile/settings data, but most agent workflows can be handled with the provided tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues