garmin-china
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GARMIN_TOKEN_DIR | No | Override the directory where the Garmin token is stored (default: ~/.garmin-china/tokens/) |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| user_summaryB | 用户每日摘要 — 步数、心率、压力、VO2Max、训练负荷等综合指标 |
| stats_trendA | 多日趋势 — 近 N 天步数、睡眠、静息心率、VO2Max、训练状态一览 |
| sleepB | 睡眠详情 — 总时长、深睡/浅睡/REM/清醒、评分 |
| resting_hrC | 静息心率 — 当日静息心率值 |
| hr_intradayC | 心率日内 — 全天心率采样(抽稀到 24 个小时均值,不撑爆上下文) |
| steps_dataC | 步数详情 — 当日步数明细 |
| daily_stepsC | 每日步数 — 指定日期范围的每日步数 |
| activitiesB | 活动列表 — 指定日期范围内的活动(跑步/骑行等) |
| activity_detailA | 活动详情 — 指定活动的详细数据(逐公里配速、心率分段等) |
| last_activityC | 最后一次活动 — 最近一次运动的摘要 |
| training_statusC | 训练状态 — 训练状态、急慢性负荷比 (ACWR)、月度负荷构成、VO2Max |
| training_readinessD | 训练准备度 — 当日身体准备训练的程度 |
| hrvC | 心率变异性 (HRV) — 当日 HRV 值及七日均值 |
| body_batteryC | 身体电量 — 当日或指定日期范围的身体电量 |
| respirationC | 呼吸频率 — 当日呼吸数据 |
| spo2C | 血氧饱和度 (SpO2) — 当日血氧数据 |
| weightC | 体重 — 指定日期范围内的体重记录 |
| hydrationC | 水分摄入 — 当日饮水量 |
| stressC | 压力 — 当日压力评分(平均/最高/最低) |
| vo2maxB | 最大摄氧量 (VO2Max) — VO2Max 估值(当日无数据时自动回溯最近 7 天) |
| race_predictionsC | 比赛预测 — 5K/10K/半马/全马预测成绩 |
| personal_recordB | 个人记录 (PR) — 各距离最佳成绩 |
| get_training_effectC | 活动的训练效果(有氧/无氧训练负荷) |
| get_workout_templatesC | 常用训练计划 JSON 模板库(简单跑/间歇/节奏/力量循环) |
| get_activities_fordateC | 指定某一天的活动中列表 |
| get_activityC | 活动基础信息(原始) |
| get_activity_splitsC | 活动分段(每公里/每英里配速等) |
| get_activity_typed_splitsD | 活动类型化分段 |
| get_activity_split_summariesD | 活动分段汇总 |
| get_activity_weatherD | 活动天气数据 |
| get_activity_hr_in_timezonesC | 活动心率分时段数据 |
| get_activity_gearD | 活动使用的装备 |
| get_activity_exercise_setsC | 力量训练活动的动作组 |
| count_activitiesA | 账户内活动总数 |
| get_activity_typesB | 所有可用运动类型 |
| get_weekly_stepsC | 每周步数聚合 |
| get_weekly_stressC | 每周压力聚合 |
| get_weekly_intensity_minutesC | 每周强度分钟聚合(需起止两个日期) |
| get_progress_summary_between_datesC | 两日期间某指标的进度摘要 |
| get_hill_scoreD | 爬坡分数 |
| get_endurance_scoreD | 耐力分数 |
| get_fitnessage_dataD | 体适能年龄 |
| get_lactate_thresholdD | 乳酸阈值 |
| get_gearC | 账户下所有装备(含默认运动关联) |
| get_goalsC | Garmin 目标(active/future/past) |
| get_workoutsC | 所有训练计划(含摘要) |
| get_workout_by_idD | 指定训练计划详情 |
| download_workoutC | 下载训练计划为 FIT 文件(base64) |
| garmin_weekly_healthB | 获取最近 N 周的健康聚合趋势,分三个并行序列呈现:
|
| weather_nowA | 查询实时天气实况,并给出跑步热应激评估与配速衰减比例。 含温度、湿度、露点、WBGT、风、气压、能见度、AQI。 信源为中国气象局公共气象服务中心(中国天气网)。city 支持城市名或 9 位城市码。 出门前判断今天能否按计划配速执行,用这个。 |
| weather_forecastA | 查询未来天气预报:逐 3 小时(温度/天气/风)+ 每日概况 + 每日最佳训练窗口。 最长 7 天,用于安排本周课表时段、避开降雨与高温。 预报不含湿度,湿热季的精确配速修正需用 weather_now / weather_at 的实况露点。 |
| weather_atA | 查询指定时刻的历史天气实况(温度/湿度/露点/热应激)。 when 格式 'YYYY-MM-DD HH:MM'。 数据来自本地气象日志 + 官方 24 小时实况;官方接口仅回溯 24 小时, 更早的时刻需本地日志已归档过才查得到。 |
| weather_logA | 把过去 24 小时逐小时实况归档到本地气象日志,供日后回溯训练当时的气候。 官方只保留 24 小时,因此建议每天至少调用一次(尤其在复盘晨跑之前)。 |
| weather_paceA | 温湿度与配速的换算器。 mode='adjust' :把凉爽条件下的目标配速,换算成当前湿热环境应跑的配速; mode='normalize':把湿热天实跑配速,折算回凉爽标准条件的等效配速(评价完成度用)。 pace 支持 4'35" / 4:35 / 275(秒)。 |
| garmin_run_conditionsA | 【核心】把一次跑步与当时的真实气候合并评价:输出实际配速、当时温湿度、 热应激等级,以及折算到凉爽标准条件下的等效配速。 传入 target_pace(如 4'35")时,按热修正后的标准判定完成度—— 湿热天直接拿原始配速对比计划,会严重低估实际努力程度。 气温以气象站实况为准(客观且含湿度),手表实测温度作为体表微环境对照列出。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/flyyata/garmin-china'
If you have feedback or need assistance with the MCP directory API, please join our Discord server