Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MI_FITNESS_DB_PATHNoPath to the SQLite database file. Overrides the default location. Can also be set via --db flag.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_connection_statusC

Check connection status

sync_dataC

Synchronize Mi Fitness data

get_sync_statusC

Get background synchronization status

get_profileB

Get user profile information

get_daily_summaryC

Get daily activity summary

query_metric_seriesD

Query metric series

query_heart_rateC

Query heart rate samples

query_body_measurementsD

Query body measurements

query_sleepC

Query sleep sessions

query_workoutsD

Query workouts

workout_seriesA

Get an agent-safe, auto-downsampled time series for a workout metric (contract agent-safe-series/v1). Points carry numeric t offsets in seconds from start_time. Always reports downsampled/source_points/returned_points/method plus full-resolution summary stats; never returns more than max_points points. For cross-activity comparison of time_in_zone, pass reference_max_hr (e.g. the athlete's known max HR); otherwise each activity is normalized to its own max and zone distributions are not comparable across activities.

query_spo2C

Query blood oxygen saturation samples

query_stressC

Query stress samples

query_abnormal_heart_beatC

Query abnormal heart beat events

get_data_coverageD

Get data coverage

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shkyyy18/mi-fitness-data-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server