google-health-mcp
google-health-mcp
面向 Google Health API 的 MCP 服务器,带有本地 SQLite 缓存和趋势分析功能。
专为 Claude Code 和其他 MCP 客户端设计。您的数据会同步到您自己机器上的数据库中,因此查询速度快、支持离线使用,且不消耗任何 API 配额。
功能特性
本地 SQLite 缓存 - 同步一次,即时查询
增量同步 - 每次运行只获取新增数据,从上次停止的地方继续
离线模式 - 无需凭据、无需网络即可使用缓存
趋势分析 - 按周、月、季度聚合,以及双周期对比
心电图 (ECG) - 完整存储读数,包括波形,仅在请求时返回
doctor- 离线、只读地诊断安装配置,不消耗配额
Related MCP server: google-health-mcp-server
数据类型
工具 | 数据 |
| 静息心率 |
| 步数、卡路里、距离、楼层数 |
| 锻炼(名称、时长、心率、卡路里) |
| 时长、睡眠阶段、睡眠周期 |
| 体重、体脂率 % |
| 夜间血氧饱和度 |
| 心率变异性 (RMSSD) |
| 活跃区间分钟数,含各区间细分 |
| 夜间每分钟呼吸次数 |
| 与基线的夜间变化量,以及背后的绝对值 |
| 您手动记录的体温读数 |
| 最大摄氧量 (VO2 max),在设备支持报告时 |
| 食物卡路里和水分摄入,在记录时可用 |
| 心电图:分类、平均心率、时长、按需返回波形 |
| 心律不齐通知及触发通知的时间窗口 |
| 已配对设备、电池电量、上次同步时间 |
| 缓存历史中的总计和最佳天数,以及覆盖范围 |
| 聚合平均值和周期对比 |
系统要求
Python 3.13+(已在 CI 中针对 3.13 和 3.14 测试)
一个包含健康数据的 Google 账号,以及一个用于授权的 Google Cloud 项目。无需绑定结算账号 - 控制台在整个设置过程中提供免费试用,您可以全部拒绝。
设置
1. 安装
pip install google-health-mcp或者不安装直接运行,此时您下面运行的每条 google-health-mcp ... 命令都变成 uvx google-health-mcp ...:
uvx google-health-mcp --version2. 创建 Google Cloud 项目
每个用户都注册自己的 OAuth 客户端。这需要七个控制台步骤,页面名称以 Google 2026 年 8 月为准。
Google 自己的设置页面会把您引导到别处 - 请按照下面的步骤操作。 其快速入门构建的是一个 Web 客户端,重定向 URI 为 https://www.google.com,这适用于 OAuth Playground 而不是运行在您机器上的程序;本服务器会拒绝该配置文件并给出相应提示。请仅使用该页面来检查下面的某个页面是否已被重命名。
项目。 在 console.cloud.google.com/projectcreate 创建项目并选中它。
API。 在 API 启用页面启用 Google Health API。
开始使用。 打开 Google Auth Platform 并完成开始使用 - 应用名称、支持邮箱、外部用户类型、联系邮箱。新项目在完成此步骤前没有"受众群体"、"数据访问"或"客户端"页面。
受众群体。 在测试用户下,添加您自己的 Google 账号。跳过此步骤会导致登录失败并提示
403: access_denied。数据访问。 点击添加或移除范围,搜索"Google Health API",勾选下方 OAuth 范围中列出的只读范围。
客户端。 创建类型为桌面应用的 OAuth 客户端并下载其 JSON 文件。桌面客户端会自动允许环回重定向,因此无需注册任何内容;Web 客户端则不允许,会在授权同意时失败。
发布。 返回"受众群体"页面,点击发布应用。
第 7 步是最容易出问题的地方,值得核实而不是想当然。 当应用的发布状态为"测试中"时,Google 签发的刷新令牌会在授权同意后七天过期 - 所以一切正常,然后一周后同步停止,且没有任何线索指向此刻。受众群体页面可能显示"已正式发布",但令牌服务器却不这么认为。有两个可靠的判断依据:品牌页面上的验证状态行,以及 google-health-mcp doctor,后者会在存储的令牌记录到短期过期时大声报错。
3. 授权
将下载的客户端 JSON 文件原封不动地放到服务器查找的位置:
mkdir -p ~/.config/google-health-mcp
cp ~/Downloads/client_secret_*.json ~/.config/google-health-mcp/google_client.json
google-health-mcp auth您的浏览器会警告 Google 尚未验证此应用。这是正常的,而且这个应用是您自己的:这些健康范围被归类为受限范围,只有超过 100 个用户时才需要验证。点击高级,然后点击前往 google-health-mcp(不安全),并授予这些范围。
该流程会监听 localhost:8081 端口以接收回调,因此该端口必须可用。它会将令牌保存到 ~/.config/google-health-mcp/google_tokens.json,权限为 0600。访问令牌有效期为 1 小时,并会自动刷新。刷新令牌不会轮换,因此在一台有浏览器的机器上生成的令牌可以复制到无头机器上使用。
如果您在发布应用之前已授权,请在此后重新运行 google-health-mcp auth:发布不会延长已签发令牌的有效期,该令牌仍会在七天后过期。
4. 注册到您的 MCP 客户端
claude mcp add -s user google-health -- google-health-mcp使用 uvx 运行:claude mcp add -s user google-health -- uvx google-health-mcp。
5. 检查
google-health-mcp doctor建议在第 3 步(授权)之前和之后都运行一次:它会报告 8081 端口是否可用,以及当前主机能否打开浏览器,这正是 auth 在开始之前可能失败的两种方式。
离线且只读:它会报告哪些路径解析到了哪里、凭据文件格式是否正确、令牌是否为短期有效,以及缓存是否保持最新。
6. 首次同步(可选)
查询工具会在每天首次使用时自动同步,因此您可以跳过此步骤。要预填充缓存,或拉取更早的历史记录:
google-health-mcp sync --days 30
google-health-mcp sync --since 2023-10-01 # backfillCLI 用法
google-health-mcp Start the MCP server (stdio transport)
google-health-mcp -V, --version Print the installed package version
google-health-mcp auth Interactive OAuth setup
google-health-mcp doctor Check the setup and report what needs fixing
google-health-mcp sync Sync data to the local cache
--days N Days of history for a first sync (default: 30)
--types TYPE,... Data types to sync (default: all). One or more of:
heart_rate, activity, exercises, sleep, weight, spo2,
hrv, azm, breathing_rate, skin_temperature,
core_temperature, cardio_fitness, food_log, ecg, irn
--since YYYY-MM-DD Fetch from this date, ignoring the incremental cursor
--until YYYY-MM-DD Inclusive end date for a --since window; together they
re-fetch exactly that window, to repair a gap in the
middle of the cache
google-health-mcp import Import exported JSON data files
--data-dir PATH Directory containing the JSON filesMCP 工具参考
查询工具会在每天每种数据类型的首次查询时同步,然后读取缓存。
除 health_get_devices 和 health_get_lifetime_stats(这两个工具不接受任何参数)外,所有查询工具都接受:
start_date-YYYY-MM-DD、YYYY-MM或30d(相对日期)。默认值:最近 30 天。end_date-YYYY-MM-DD。默认值:今天。live- 如果为 true,则在读取缓存之前从 API 重新获取此时间窗口。刷新失败时会报告错误,而不是静默地从缓存中返回。
health_get_exercises 还接受 exercise_type,即对锻炼名称进行不区分大小写的子字符串匹配。health_get_ecg 还接受 include_waveform:一条轨迹包含数千个电压值,因此默认响应只包含分类、平均心率、时长和样本数。
health_sync
data_types-all,或上面 CLI 用法 中列出的名称的逗号分隔子集(irn表示心律不齐通知)。默认值:all。days- 首次同步的历史天数(默认值:30)。后续同步为增量同步。since/until- 无论缓存中有什么,都获取精确的时间窗口。
health_trends
data_type- 任何具有每日序列的缓存类型;ECG 读数和心律警报是事件类型,没有趋势。默认值:activity。period-weekly、monthly、quarterly。默认值:monthly。start_date/end_date- 默认值:最近 12 个月。compare- 两个周期,例如last_30d vs previous_30d、2026-03 vs 2026-02、2026-Q1 vs 2025-Q4。设置后,将忽略period、start_date和end_date。
OAuth 范围
在"数据访问"页面上勾选这些只读范围。所有范围都在 https://www.googleapis.com/auth/googlehealth. 下:
范围 | 访问的数据 |
| 步数、距离、楼层数、卡路里、锻炼、活跃区间分钟数 |
| 心率、HRV、SpO2、呼吸频率、体重、体脂、体温、最大摄氧量 |
| 睡眠记录和睡眠阶段 |
| 食物和水分记录 |
| 心电图 |
| 心律不齐通知 |
| 已配对设备 |
location.readonly 和 profile.readonly 是控制台提供的两个范围,本包有意不请求,因为这里没有任何功能会读取它们 - 第一个是锻炼期间记录的 GPS 轨迹。
请以控制台中的列表为准,而不是已发布的范围页面 - 有些只读范围既不出现在 Google 的文档中,也不出现在 API 自身的发现文档中,而发现文档则完全省略了 nutrition.readonly。要请求更少的范围,请在"数据访问"页面上少勾选,并在授权前编辑 config.py 中的 GOOGLE_SCOPES,这需要源码检出而不是 pip 或 uvx 安装。授权不会在刷新时获得新范围,因此之后要扩大列表,需要重新运行 auth。
配置
Variable | Default | Description |
|
| 存放 OAuth 客户端和令牌的目录 |
|
| SQLite 缓存 |
| 未设置 | 如果为真值( |
离线 / 仅缓存模式
默认情况下,服务器会按需同步,因此无需 cron 任务。设置 GOOGLE_HEALTH_MCP_OFFLINE=1 即可改为纯读取器运行:
无需任何凭据——服务器绝不会打开令牌文件。
不发起任何网络调用。自动同步已关闭,
live=True、health_get_devices和health_sync会返回一条明确的“离线模式”消息,而不会访问 API。查询工具从缓存中提供数据,并标记为
"offline_mode": true。
典型用途:
多台机器、一个缓存 - 一台主机通过 cron 或 systemd 针对共享数据库运行
google-health-mcp sync;其他机器设置GOOGLE_HEALTH_MCP_OFFLINE=1,将GOOGLE_HEALTH_MCP_DB_PATH指向同一文件,并且只读取。CI 与隐私 – 在无网络访问、无凭据的条件下运行查询。
速率限制
Google 会对每个用户设置请求配额,详见 developers.google.com/health/rate-limits。普通同步远不会触及该限制:一天的数据更新只需几个请求,而实测将所有数据类型回填三年大约需要 250 个请求。如果某次同步被中断,该数据类型会被记录为部分同步,下一次运行会从光标处继续,而不会重新开始。
默认从缓存中查询,因此完全不消耗配额。
数据安全
你的健康数据只留在你自己的机器上:此服务器没有后端,不会向任何地方发送任何数据,并且只使用你自己的凭据与 Google 的 API 通信。
仓库附带一个 pre-commit 钩子,它会拒绝提交数据库文件、config/ 目录下的任何文件以及大文件;CONTRIBUTING.md 说明了如何安装它。
导入现有数据
如果你已有 JSON 格式的健康数据,无论是来自导出还是你自己的脚本:
google-health-mcp import --data-dir /path/to/json/files/预期文件名:heart_rate.json、activity.json、exercises.json、sleep.json、weight.json、spo2.json、hrv.json。每种文件所需的结构请参阅 src/google_health_mcp/importer.py。导入涵盖这七种类型;其他所有数据均通过 sync 获取。
贡献
有关开发环境设置、测试工作流和 pre-commit 钩子,请参阅 CONTRIBUTING.md。变更记录在 CHANGELOG.md 中跟踪。
许可证
Available Tools
24 toolshealth_get_activityA
Get daily activity summaries (steps, calories, active minutes, distance).
Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
Note: live=True fetches one API call per day - avoid large ranges to stay within the 150 requests/hour rate limit.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per day with steps, calories, active minutes, distance. active_minutes = very_active + fairly_active (excludes lightly active).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description fully discloses behavior: caching, need for prior health_sync, rate limit, and the calculation of active minutes ('active_minutes = very_active + fairly_active (excludes lightly active)'). It also notes output granularity ('one entry per day').
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Although detailed, the description is well-organized: purpose first, then caching behavior, then rate-limit note, then output details. Each sentence adds value without redundancy, making it appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple schema (three optional params), the description covers all relevant aspects: param meanings, default behavior, output structure, and a practical limitation (rate limit). No missing information that would prevent correct use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description explains the date formats ('YYYY-MM-DD', 'YYYY-MM', or '30d') and the meaning of 'live' (fetch from API vs cache). It also clarifies the default values and what the output contains, adding significant meaning beyond the bare schema types and defaults.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Get daily activity summaries (steps, calories, active minutes, distance).' It identifies the resource (activity summaries) and the action (get), distinguishing it from sibling health getters like heart rate or sleep.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit usage guidance: 'Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.' Also includes a note about rate limits and daily API call behavior, which helps decide when to use live=True.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_azmA
Get daily Active Zone Minutes (AZM), the headline cardio metric.
AZM counts minutes spent in heart rate zones at or above Fat Burn intensity.
total_minutes is the plain sum of the three zone columns as reported, not a
weighted one. Returns from local cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per day with total_minutes plus per-zone breakdown (fat_burn_minutes, cardio_minutes, peak_minutes). Distinct from active_minutes in health_get_activity, which counts wall-clock minutes regardless of intensity - and which has no source in this API, so it is present only for days that arrived by import.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It clearly discloses that results come from a local cache by default with auto-sync when stale, that live re-fetches from the API, and that total_minutes is an unweighted sum. This is strong behavioral transparency, though it does not cover failure modes or data availability edge cases.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is longer than average but well-structured and entirely informative. It front-loads the core purpose, then uses clear paragraphs for metric definition, caching behavior, arguments, return values, and sibling differentiation. Every sentence contributes value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity—caching semantics, multiple date formats, zone definitions, and sibling overlap—the description is complete. It even covers return shape and distinguishes this metric from a related tool, leaving little for an agent to guess.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the description fully compensates with an Args section: it defines start_date formats ("YYYY-MM-DD", "YYYY-MM", or "30d"), defaults (last 30 days), end_date default, and the meaning of live. This adds substantial meaning beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: "Get daily Active Zone Minutes (AZM)", then clarifies it as the "headline cardio metric". It also distinguishes itself from the sibling health_get_activity by explaining the difference between AZM and active wall-clock minutes, eliminating ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives explicit usage context: it explains the cache/sync default behavior, how the live parameter changes fetching, and explicitly contrasts with active_minutes in health_get_activity. This helps an agent choose between related health tools with clear exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_breathing_rateA
Get nightly breathing rate (avg breaths per minute during sleep).
Sourced during sleep tracking. Useful as an illness/recovery signal: sustained increases of 2-3 bpm above personal baseline can indicate incipient infection or strain. Returns from cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with breaths_per_min and data_source (the device and platform Google says recorded it). Typical adult range: 12-20 bpm at rest.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does disclose meaningful behavior: it reads from cache by default, auto-syncs if stale, and the live flag forces a re-fetch from the API before reading cache. It does not mention auth requirements or rate limits, so it stops short of a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the one-line summary, then the illness-signal rationale, cache behavior, and a clean Args block. Well organized; the 'typical adult range' line is marginally extraneous but arguably aids interpretation of results.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Although an output schema exists, the description still names the return shape (one entry per night with breaths_per_min and data_source), so an agent knows exactly what comes back. For a 3-param read tool with no annotations, coverage of purpose, params, cache behavior, and output is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate entirely, and it does: all three parameters are documented with accepted date formats ('YYYY-MM-DD', 'YYYY-MM', '30d'), defaults for start_date/end_date, and the exact effect of live. Nothing about the params is left to inference.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource (get nightly breathing rate, average breaths per minute during sleep) and pins the measurement context to sleep tracking, which distinguishes it from siblings like health_get_heart_rate, health_get_hrv and health_get_spo2 without needing to open any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Offers interpretive context ('useful as an illness/recovery signal', 2-3 bpm above baseline) but never states when to choose this tool over the other health_get_* siblings or under what conditions a call is warranted. Usage is implied rather than specified.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_cardio_fitnessA
Get Cardio Fitness Score (VO2 Max estimate).
Estimated from resting HR, HR during walks and runs, and demographics. Updates roughly weekly. Returns from cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
A reading usually carries a range or a single value; one re-synced across the switchover between providers can hold both. They are different measurements - do not average them together or fill one from the other. vo2_max_low and vo2_max_high are a reported band (e.g. 39-43); vo2_max is a single figure. All in mL/kg/min, higher being better cardiorespiratory fitness. Beside a single figure Google may report cardio_fitness_level (POOR to EXCELLENT), estimated (1 or 0), vo2_max_covariance and data_source (the device and platform it says recorded it).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does well: it discloses cache-by-default, auto-sync-on-stale semantics, ~weekly update cadence, and the important trap that two readings may be different measurements that must not be averaged or filled. It doesn't cover auth requirements or rate limits, so it falls short of a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the purpose, then derivation, cadence, and caching before the Args block. It is longer than average, but nearly every sentence addresses a real ambiguity; the semantic discussion of vo2_max fields is dense but earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return-field definitions are not strictly required, yet explaining vo2_max vs vo2_max_low/high and the do-not-average rule prevents real misinterpretation. Combined with cache/live semantics and param formats, the definition is complete enough to call correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate and it does: it documents all three params and adds accepted date formats ('YYYY-MM-DD', 'YYYY-MM', '30d') and the meaning of live that the bare schema does not convey.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (Cardio Fitness Score / VO2 Max estimate) and immediately explains how the metric is derived (resting HR, HR during walks/runs, demographics). This is distinguishable from every sibling, each of which targets a different health metric.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explains the cache-first default and when to override it with live=true, plus the default window behavior. It does not explicitly name a sibling alternative or an exclusion, but for a per-metric getter the usage context is clear enough to act on.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_core_temperatureA
Get manually-logged core (body) temperature readings (degrees Celsius).
These are absolute body temperatures the user enters by hand - a thermometer reading logged in an app - and are the right source for fever / body-temperature questions. They are NOT the device-derived nightly skin-temperature variation from health_get_skin_temperature. A single day can hold several readings (each timestamped), useful for tracking a fever over time.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per logged reading with datetime (YYYY-MM-DDThh:mm:ss), temp_celsius, measurement_location (where it was taken, e.g. "MOUTH" or "EAR", as logged), reading_id and data_source. A reading whose value is changed in the app is kept beside its earlier value rather than replacing it, so two readings logged at the same datetime may be one reading, edited.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden and does so thoroughly. It discloses that readings are manually logged, may be multiple per day, include timestamps, can be returned with edited duplicates kept beside earlier values, and that live=true refetches from the API before reading cache.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded: purpose and distinction first, then Args, then Returns. Every sentence adds useful meaning, including the important note about edited readings appearing as multiple entries at the same datetime.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations, zero schema description coverage, and a rich output schema, the description is complete enough for correct invocation and interpretation. It covers data provenance, sibling distinction, parameter formats and defaults, cache/live behavior, and return-field semantics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must document parameters itself, and it does: start_date accepts YYYY-MM-DD, YYYY-MM, or 30d and defaults to last 30 days; end_date accepts YYYY-MM-DD and defaults to today; live controls API re-fetch before cache read.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: getting manually-logged core body temperature readings in Celsius. It explicitly distinguishes this from the device-derived skin-temperature variation from health_get_skin_temperature, so an agent can select it without confusion.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear when-to-use guidance: these readings are the right source for fever and body-temperature questions. It also names the alternative source to avoid, health_get_skin_temperature, and explains the difference between manual core temperature and device-derived skin temperature.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_devicesA
List paired devices with battery level and last sync time.
Live-only (no caching) - reflects current device state. Useful for monitoring tracker health, knowing which device produced data, and spotting sync gaps.
Returns one entry per paired device with id, type, device_version, battery (e.g. "High"), battery_level (0-100), last_sync_time, mac, and features list.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden, and it delivers with the key disclosure: 'Live-only (no caching) - reflects current device state.' This is critical behavioral information — the agent learns this is a live snapshot, not a cached report. The return-shape description adds further transparency, though it doesn't address error states or empty-device behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three crisp sections: (1) one-sentence purpose, (2) behavioral note with use cases, (3) return-shape enumeration. Every sentence earns its place with zero redundancy. The front-loaded headline sentence allows for quick scanning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter read tool with an output schema available, this is admirably complete — purpose, live behavior, use cases, and return fields are all covered. Could be enhanced with notes on failure modes or empty states, but those are minor for this tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With zero parameters and 100% schema coverage (trivially satisfied), the baseline is 4. The description adds value by thoroughly documenting the output shape ('id, type, device_version, battery, battery_level (0-100), last_sync_time, mac, features'), giving the agent a full picture of what to expect from the response.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb+resource: 'List paired devices with battery level and last sync time.' This is precise and clearly distinguishes it from siblings like health_get_activity or health_get_sleep — this is the device/resource-discovery tool. The field enumeration (battery, battery_level, last_sync_time) further cements the purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear use-case context: 'monitoring tracker health, knowing which device produced data, and spotting sync gaps.' This tells the agent when to reach for this tool. However, it does not explicitly name alternatives or include when-not-to-use language, so it stops short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_ecgA
Get electrocardiogram (ECG) readings taken on the watch.
Each reading is a single-lead trace the user started by hand, with a rhythm classification - NORMAL_SINUS_RHYTHM, ATRIAL_FIBRILLATION, or one of several inconclusive results (low or high heart rate, poor reading, unclassified). Use it for questions about heart rhythm or AFib checks; for resting rate over time use health_get_heart_rate instead.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache. include_waveform: If true, include the raw voltage samples. These are thousands of integers per reading - ask for them only to analyse the trace itself. Multiply by scaling_factor for millivolts, and read them at sampling_hz samples per second.
Returns one entry per reading with classification, avg_bpm, duration_sec, sampling_hz, scaling_factor and waveform_samples (null where no trace was stored, or where the stored one cannot be read).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No | ||
| include_waveform | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses some behavioral details such as the waveform's size and the need for scaling and sampling rate, and that waveform samples may be null. However, it lacks information about cache behavior details (e.g., when live is false), potential errors, or rate limits, leaving a moderate gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a brief overview, clear usage guidance, a compact Args section, and a return summary. Each sentence adds value and the description is front-loaded with the purpose, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 4 parameters, no annotations, but an output schema that details the return structure. The description explains the purpose, usage, and key parameters; the output schema covers return values. It lacks some behavioral details (e.g., cache semantics, error cases), but it is sufficient for a health data retrieval tool, but not perfect.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It does explain start_date and end_date formats and defaults, and describes the live and include_waveform parameters' effects. However, it omits the sampling_hz and scaling_factor fields from the parameter list (though they appear in the output), and doesn't provide full detail on date range conventions, so it partially compensates but not completely.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves ECG readings from a watch, specifying the metric (single-lead trace, rhythm classification) and the main use case (heart rhythm or AFib checks). It also distinguishes itself from health_get_heart_rate, a sibling tool, by explicit contrast, making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states when to use this tool: for questions about heart rhythm or AFib checks, and when not to use it: for resting rate over time, for which health_get_heart_rate is recommended. This provides clear, actionable usage guidance and directly names the alternative, exceeding the minimum.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_exercise_routeA
Get the GPS route of one exercise, as the TCX file Google exports.
Only exercises recorded with GPS have a route, and a sync fetches routes for the workouts in its own window. The TCX text carries every trackpoint (time, position, altitude, distance, heart rate) and can run to hundreds of kilobytes, so it is returned only when asked for.
Args:
log_id: The exercise's log_id, as health_get_exercises returns it.
include_tcx: If true, include the TCX text itself.
Returns the exercise's log_id, date and provider, and the TCX text when asked for.
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | ||
| include_tcx | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does so well: it discloses the GPS-only precondition, that routes are fetched per sync window, that TCX payloads can reach hundreds of kilobytes, and that the heavy payload is opt-in via include_tcx. That size/opt-in behavior is exactly the kind of trait an agent needs before calling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core action and format, then supports it with preconditions and payload caveats. Slightly long, and the 'Returns' sentence partly duplicates the output schema, but every sentence adds usable context.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a small two-parameter tool with an output schema already defining the return shape, the description covers precondition, payload size risk, and opt-in behavior. Nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it documents both parameters: log_id with its cross-reference to health_get_exercises, and include_tcx with its default-off implications. Nothing about invocation is left to guess.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get the GPS route of one exercise') and pins the format ('as the TCX file Google exports'). It is clearly distinct from health_get_exercises, whose log_id it consumes, so an agent can route between the two without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear context: only GPS-recorded exercises have a route, sync scope determines route availability, and the TCX is returned only when include_tcx is set. It names the prerequisite source (health_get_exercises) but does not explicitly say when to prefer this over sibling reads like health_get_exercises.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_exercisesA
Get exercise log entries (individual tracked activities).
Returns exercise sessions from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. exercise_type: Filter by activity name (case-insensitive substring match), e.g. "cycling", "walk", "run". Default: all types. A value matching no workout name the cache holds is refused, naming those, rather than answered as a period with no workouts. live: If true, re-fetch this window from the API before reading the cache. include_detail: If true, include every exercise event (start, pause, stop), split and split summary. Without it each entry carries only how many there are (detail_counts), null where none is stored: an imported workout, one Google sent none for, one synced before these were fetched, or a stored value that cannot be read.
Returns exercise entries with name, duration, calories, avg heart rate, distance, and source (for a synced workout the recording device's name, and data_source.recordingMethod says whether it was logged by hand; for an imported one whatever the import carried), and for a synced workout also start and end times with their UTC offsets, active_seconds, notes, Google's metrics_summary whole (pace, speed, elevation, heart-rate zone durations, mobility), exercise_metadata (hasGps, pool length) and data_source. Note: HR data from cycling may be unreliable (optical sensor vs handlebar grip).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No | ||
| exercise_type | No | ||
| include_detail | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden and does so well: it explains cache vs live API behavior, the health_sync dependency, what include_detail changes, how detail_counts can be null, and even warns that cycling HR data may be unreliable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose, Args, and usage guidance are front-loaded and useful, but the long Returns paragraph repeats what an output schema already conveys. Since the context notes an output schema exists, much of that return-field enumeration is redundant and makes the description longer than necessary.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given five parameters, no schema descriptions, no annotations, and a cache/live data model, the description is complete enough to call correctly. It covers prerequisites, parameter meanings, edge cases, and output semantics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It documents all five parameters, including date input formats, defaults, case-insensitive substring matching for exercise_type, and the unusual refusal behavior when no cache workout name matches.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence gives a specific verb and resource: 'Get exercise log entries (individual tracked activities).' It distinguishes this from sibling activity tools by specifying individual tracked exercise sessions rather than general activity or sleep data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly states the default cache-based behavior, when to use live=True, and the prerequisite to run health_sync first. It does not explicitly name a sibling alternative or state when not to use this tool, so it falls slightly short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_food_logA
Get daily food and water log summary.
Returns calories consumed and water intake (in mL) per day. Only populated where the user logs food or water by hand in a connected app. Returns from cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per day with calories_in and water_ml. Days with no logging are omitted.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral disclosure burden. It discloses that only hand-logged data appears, that cache is used by default with auto-sync, that 'live' forces a re-fetch, and that empty days are omitted. This goes well beyond a simple one-line summary and gives the agent accurate expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise (~110 words), front-loaded with the main purpose, and organized into clear sections for behavior, arguments, and return values. Every sentence adds useful information; there is no fluff or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity—optional date handling, cache semantics, and a live override—the description covers all necessary context. It even describes the return shape despite an output schema being present, making the tool self-sufficient for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage, so the tool description must compensate, and it does. It explains start_date formats including '30d', default behavior for both dates, and the meaning of 'live' in the context of cache re-fetching. This is meaningful semantic value beyond the raw schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb plus resource ('Get daily food and water log summary') and clearly differentiates this tool from siblings by scoping it to food/water logging and calorie/water intake. It states exactly what data is returned, leaving no ambiguity about the tool's function.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context on when this tool is appropriate: it covers food/water logs from connected apps, only includes hand-logged entries, and explains cache versus live behavior. It does not explicitly name alternative tools or state when not to use it, but the context is sufficient for selection among related health tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_heart_rateA
Get daily resting heart rate and heart rate zones.
Returns resting HR and zone breakdown (Out of Range, Fat Burn, Cardio, Peak) from the local cache by default, auto-syncing if stale.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per day with resting_hr, zones array, calculation_method (Google's WITH_SLEEP or ONLY_WITH_AWAKE_DATA) and data_source (the device and platform Google says recorded it). Zone data: name, minutes, caloriesOut, max/min HR for each zone. Zones are present only on days that arrived by import; a sync does not write them.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does so well: it discloses cache-first behavior, automatic staleness sync, the effect of 'live', and the important quirk that zone data only exists on days that arrived via import and is not written by a sync. It does not mention auth/permission requirements or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads purpose, then behavior, then args, then return shape. Slightly verbose in the returns section, but every sentence (zones-only-on-import, calculation_method) adds real information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so the description did not need the return-value detail it provided, yet that detail (resting_hr, zones, calculation_method, data_source) is accurate and helpful. Combined with cache/sync semantics, nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does: it gives accepted date formats ('YYYY-MM-DD', 'YYYY-MM', '30d') and defaults for start_date, a format and default for end_date, and the operational meaning of live. All three parameters are fully specified.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get daily resting heart rate and heart rate zones') and the exact payload. It is clearly distinguishable from sibling tools like health_get_hrv, health_get_spo2, and health_get_sleep_sessions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explains the default operating mode (local cache, auto-sync if stale) and gives a clear condition for using 'live' (re-fetch this window from the API). No explicit sibling routing or when-not-to-use guidance, but the context an agent needs to choose parameter values is present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_heightA
Get height readings, in millimetres as Google reports them.
Height is usually logged once, often years back, so the default window is the last ten years. Returns data from the local cache by default.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "Nd". Default: ten years back. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch height from the API before reading the cache.
Returns one entry per reading with datetime, date, height_mm and provider.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the disclosure burden and does well: it reveals the caching default, the live refetch path, and the ten-year default window rationale. It does not mention auth requirements or sync side effects, which are the remaining gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and behavior, then a compact Args block. Slight duplication with the schema parameter names and a return-value sentence that is redundant given the existing output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a three-parameter, no-annotation tool with a rich output schema, the description supplies everything needed to call it correctly: formats, defaults, cache-versus-live behavior, and the reason for the wide default window.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does: it documents all three parameters with accepted date formats ('YYYY-MM-DD', 'YYYY-MM', 'Nd'), defaults for each, and what live=true actually triggers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get height readings') plus the unit ('in millimetres as Google reports them'), which no sibling covers. An agent can distinguish it from health_get_weight_readings and other metric getters immediately.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explains context that drives usage: height is usually logged once, often years back, so the default window is ten years, and data comes from the local cache unless live=true. It never explicitly names an alternative tool or a when-not-to-use case, but the caching/live trade-off is clearly laid out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_hrvA
Get nightly HRV (heart rate variability) data.
Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
HRV data is sparse: only nights with on-wrist sleep tracking produce readings.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with daily_rmssd and deep_rmssd (ms), entropy, non_rem_hr (non-REM heart rate, bpm) and data_source (the device and platform Google says recorded it). RMSSD = root mean square of successive RR interval differences. Higher values generally indicate better recovery and parasympathetic activity.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden and does well: it discloses the cache-vs-live tradeoff, the sync prerequisite, and the sparsity constraint ('only nights with on-wrist sleep tracking produce readings'). This prevents the agent from misinterpreting empty results. It omits auth/permission requirements, keeping it from a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose, then behavior, then Args. Size is reasonable, though the RMSSD definition and return-field enumeration could arguably live closer to the output schema. Every sentence serves a purpose, so no serious waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a 3-param tool with 0% schema coverage, no annotations, and an output schema, the description fills the gaps: parameter formats, cache/live behavior, prerequisites, and data sparsity. An agent has everything needed to call it correctly and interpret empty results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate fully — and it does. It documents all three parameters: accepted date formats ('YYYY-MM-DD', 'YYYY-MM', '30d') with defaults for start_date/end_date, and the re-fetch semantics of live. This adds substantially more than the bare schema types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: 'Get nightly HRV (heart rate variability) data.' The scope ('nightly') and the explicit RMSSD explanation clearly distinguish it from siblings like health_get_heart_rate, which covers a different metric.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear operational context: data comes from the local cache by default, live=True re-fetches from the API, and health_sync must run first to populate the cache. It stops short of explicitly naming which sibling to use for the raw heart-rate metric, so it is clear but not fully routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_irregular_rhythmA
Get irregular heart rhythm notifications raised by the watch.
These are background checks the watch runs while the user is still - an alert means it saw a rhythm consistent with atrial fibrillation over one or more windows, not a diagnosis. Most accounts never have one. For a deliberate reading with a trace behind it, use health_get_ecg.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per notification with start_time, end_time and alert_windows (the periods that triggered it).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently explains that alerts are not a diagnosis, describes the nature of the data (background checks), explains the 'live' parameter's cache behavior, and describes the return structure. No contradictions exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-organized with clear sections, each sentence serving a purpose. It opens with a clear purpose statement, then provides contextual guidance, parameter details, and return info. No fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (3 params, output schema present), the description is complete. It covers the operational context, parameter semantics, and even describes the return format despite the output schema existing. It's both sufficient and effective.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It provides detailed semantics for all three parameters: start_date format and default, end_date format and default, and live's purpose. It also clarifies the return fields. This adds significant meaning beyond the generic schema titles.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action: 'Get irregular heart rhythm notifications raised by the watch.' It also distinguishes from sibling health_get_ecg by specifying that ECG is for a deliberate reading with a trace, whereas this tool retrieves background checks. This makes the purpose specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit context on when to use: these are background checks, not a diagnosis, and most accounts never have one. It also explicitly directs to use health_get_ecg for deliberate readings. Parameter usage is explained with defaults and formats, leaving no ambiguity for the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_lifetime_statsA
Get all-time activity totals and personal best records.
Totals for steps, floors, distance and calories over every day held in the cache, plus the best single day for steps, floors and distance with the date each record was set.
The answer is bounded by what has been synced, so it is returned with a
coverage block giving the first and last dates and the number of days
counted - read it before quoting a total as all-time. There is no
tracker-versus-total split and no "active score"; neither has a source.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description fully carries the burden. It discloses that results are cache-bounded, includes a coverage block with specific fields, and explicitly states absence of tracker split and active score. This goes well beyond a generic read, providing actionable caveats.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is succinct and front-loaded with the main purpose. It uses three short paragraphs/sentences, each adding distinct value: purpose, breakdown of records, and important caveats. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given there is an output schema, the description doesn't need to detail return values, but it still explains the coverage block and its importance. It covers what the tool does, its limitations, and how to interpret results—sufficient for a no-param read operation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the description naturally adds no parameter syntax. Per the baseline for 0-param tools, a score of 4 is appropriate—there is nothing to compensate for.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb-resource statement: 'Get all-time activity totals and personal best records.' It clearly defines scope (totals for steps, floors, distance, calories) and distinguishes from siblings like health_get_activity by noting exclusions (no tracker-versus-total split, no active score).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides clear context on data freshness ('bounded by what has been synced') and instructs to read the coverage block before quoting totals as all-time. It does not explicitly name alternative tools for missing features, but it does state what this tool does not provide, which guides selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_profileA
Get the account's profile, settings and irregular-rhythm enrolment.
Each is the record Google returns, kept whole: the profile carries age, membership start and stride lengths, the settings carry units, time zone and locale, and the enrolment says whether irregular-rhythm notifications are on. Returns data from the local cache by default.
Args: live: If true, re-fetch the records from the API before reading the cache.
Returns profile, settings and irn_profile, and when each was fetched
(UTC). A record is null when it has never been fetched, which includes one
whose permission the grant lacks.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden, and it does so well: cache-first reading, the UTC fetch timestamps, and the important null semantics ('A record is null when it has never been fetched, which includes one whose permission the grant lacks'). It stops short of stating auth/permission requirements or error behavior more concretely.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the operation, then record contents, then cache behavior, then the parameter. Slightly wordy ('Each is the record Google returns, kept whole') but every section delivers a distinct piece of information and nothing is repeated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be re-explained, yet the description's note on null-vs-never-fetched and the fetch timestamps adds useful interpretation. For a low-complexity single-parameter read tool it is essentially complete; only the sibling overlap with health_get_irregular_rhythm is left unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the single 'live' parameter must be explained by prose, and it is: 'If true, re-fetch the records from the API before reading the cache.' That fully compensates for the missing schema documentation, though with only one boolean parameter there is little room to exceed this.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get the account's profile, settings and irregular-rhythm enrolment') and then enumerates exactly what each of the three returned records contains. An agent can distinguish it from health_get_devices, health_get_irregular_rhythm, and the other siblings without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a real, actionable default ('Returns data from the local cache by default') and explains the live flag as the way to bypass it, which is genuine usage guidance. However, it never states when to prefer this over the overlapping sibling health_get_irregular_rhythm, nor any explicit when-not conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_skin_temperatureA
Get nightly skin temperature variation (degrees Celsius from personal baseline).
This is the device-derived RELATIVE deviation recorded during sleep, NOT an absolute body temperature - for fever / body-temperature readings use health_get_core_temperature instead. A baseline takes about three nights to establish before values appear. Useful as an illness/cycle/recovery signal.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with nightly_relative (degrees C, can be negative), the absolutes behind it (nightly_absolute, baseline), nightly_stddev_30d (the 30-day standard deviation of the relative value), log_type (e.g. "dermal") and data_source (the device and platform Google says recorded it).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden and does: it discloses that values are device-derived RELATIVE deviations, can be negative, that a ~3-night baseline lag suppresses early values, and that live=true re-fetches from the API before reading the cache. These are non-obvious traits an agent cannot get from structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the core distinction (relative vs absolute) before the Args block, and every sentence adds information: unit, scope, sibling reference, baseline lag, and return shape. No redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Though an output schema exists, the description summarizes the return fields (nightly_relative, absolutes, stddev, log_type, data_source) with useful interpretation, and covers the required date-parsing and freshness semantics. Nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, yet the description documents all three parameters, specifying accepted date formats ('YYYY-MM-DD', 'YYYY-MM', '30d') and the non-schema default of 'last 30 days' for start_date, plus today for end_date and the live caching behavior. It fully compensates for the schema gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get nightly skin temperature variation') plus the exact unit (degrees Celsius from personal baseline), and explicitly distinguishes itself from the sibling health_get_core_temperature. An agent can identify this tool's distinct output without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit when-not rule ('for fever / body-temperature readings use health_get_core_temperature instead') naming the alternative, plus a prerequisite ('a baseline takes about three nights to establish') and intended use cases (illness/cycle/recovery signal). Routing is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_sleepA
Get nightly sleep data (duration, stages, efficiency).
Returns sleep data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
Sleep data is sparse: only nights with watch-tracked sleep are present. Travel, off-wrist nights, or manual logs may be missing.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with total_minutes, efficiency, start/end times, and stage breakdown (deep, light, REM, wake minutes).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description takes on full responsibility for behavioral disclosure. It explains the default cache-read behavior, the live fetch option, and the sparse nature of sleep data (missing nights due to travel, off-wrist, or manual logs). This is significant contextual information beyond a simple 'get' operation, though it doesn't mention auth or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately structured: a brief summary sentence, then succinct optional details on cache/live behavior and data sparsity, followed by parameter documentation and return description. Every sentence adds value, and it remains compact despite covering edge cases.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the output schema exists, the description still adds meaningful details about return contents (total_minutes, efficiency, start/end times, stage breakdown) and the cache/live data flow. It covers prerequisites, data quality caveats, and parameter formats, making it complete for a data retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description fully documents all three parameters: start_date formats ('YYYY-MM-DD', 'YYYY-MM', '30d'), end_date format and default, and live as a boolean controlling API re-fetch. This completely compensates for the minimal schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves nightly sleep data including duration, stages, and efficiency. The verb 'Get' and resource 'nightly sleep data' are specific, and the scope is unambiguous, distinguishing it from sibling health_get_* tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit usage context: default reads from local cache, live=True fetches from API, and health_sync must be run first to populate the cache. It also notes data sparsity conditions. However, it does not explicitly mention alternatives or exclusion criteria, though the tool name and sibling list make the domain clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_sleep_sessionsA
Get each sleep session as Google recorded it, rather than the nightly total.
A night can be several sessions (a wake-and-resume, a nap); health_get_sleep sums them per night, while this returns each one whole: its interval, type (CLASSIC or STAGES), Google's metadata (mainSleep, nap, processed, manuallyEdited, stagesStatus), its summary (minutesAsleep, minutesAwake, minutesInSleepPeriod, minutesToFallAsleep, minutesAfterWakeUp, and the per-stage minutes and counts), and the device that recorded it.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache. include_stages: If true, include every stage segment, short awakening and out-of-bed segment. Without it each session carries only how many there are, since a night runs to dozens.
Returns one entry per session with session_id, date (the local day it ended), start_time, end_time, provider, record (the session as Google sent it, less the segment arrays unless include_stages) and segment_counts (how many of each; absent where the stored record cannot be read).
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No | ||
| include_stages | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and largely succeeds: it discloses the caching layer ('re-fetch this window from the API before reading the cache'), that include_stages materially changes payload size ('a night runs to dozens'), and that segment_counts can be absent when a stored record is unreadable. It could be slightly more explicit about failure/empty-window behavior, but the safety-relevant behavior is well surfaced.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the key distinction before any detail, and the Args/Returns blocks are efficient. It is somewhat long, and the Returns section partially duplicates what the output schema already conveys, but every sentence remains substantive rather than filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 4-parameter read tool with zero schema description coverage and a complex nested return, the description supplies exactly what's missing: parameter formats, defaulting, cache behavior, and the shape/optionality of the result. An agent has everything needed to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must do all the work — and it does. It documents all four parameters: start_date accepted formats ('YYYY-MM-DD', 'YYYY-MM', '30d') with its default, end_date with default, live's cache-bypass semantics, and include_stages' effect on the returned segment arrays. This adds meaning far beyond the bare schema property names.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (get) and resource (each sleep session) and explicitly contrasts the scope with sibling health_get_sleep ('sums them per night, while this returns each one whole'). An agent can distinguish the two tools immediately without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the alternative tool (health_get_sleep) and the exact condition that selects this one over it — wanting per-session granularity rather than a nightly total. It also clarifies when a night yields multiple sessions (wake-and-resume, nap), giving concrete selection context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_spo2A
Get nightly SpO2 (blood oxygen saturation) data.
Returns data from the local cache by default. Run health_sync first to populate it.
SpO2 data is sparse: only nights with on-wrist sleep tracking produce readings.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night: avg SpO2 percentage and up to two pairs of bounds. avg_ci_low/avg_ci_high come from this API, which Google describes as the lower and upper bound of the confidence interval of oxygen saturation samples during sleep. min/max hold whatever an import carried; on the history checked, they matched avg_ci_low/avg_ci_high on every night carrying both. std_dev is Google's standard deviation of the daily SpO2 averages over the past 7-30 days, not of this night's samples, and data_source the device and platform Google says recorded it. Normal range: 95-100%. Below 90% may indicate sleep apnea.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral burden and does so well: it discloses the default cached read path, the need to sync first, the sparse nature of SpO2 data, live refetch semantics, return field interpretation, data provenance, and normal/abnormal ranges.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured with logical sections for usage, args, and returns, and the key cache/live behavior is front-loaded. It is longer than strictly necessary for tool selection because it includes detailed return-field interpretation, but most sentences remain useful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists, the description need not explain return structure, but it still provides essential context: cache/live mechanics, sync prerequisite, sparsity caveat, parameter formats, and clinical interpretation. An agent has enough context to call and interpret the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It documents all three parameters: start_date accepted formats and default, end_date format and default, and live behavior. This fully compensates for the schema's lack of parameter descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Get nightly SpO2 (blood oxygen saturation) data.' It clearly identifies the metric and distinguishes it from sibling health metric tools such as health_get_heart_rate or health_get_sleep.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear prerequisites and cache-vs-live behavior: data comes from the local cache by default, health_sync should run first, and live=true re-fetches from the API. It does not explicitly name alternative tools or when not to use this one, but the metric-specific scope makes that largely unnecessary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_weightA
Get weight log entries (weight, BMI, body fat percentage).
Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
Weight data is sparse: only days with weigh-in entries are present.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per day with weight_kg, bmi, fat_pct. Every individual weigh-in is in health_get_weight_readings.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does so well: it discloses the caching model, that live=True re-fetches the window before reading, the sync prerequisite, and that the data is sparse (only weigh-in days present). These are exactly the behavioral traits an agent needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads purpose and cache semantics before the args, with zero filler sentences. Minor redundancy: the fields weight_kg, bmi, fat_pct are restated in the Returns block after already being named in the opening line.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Although an output schema exists (so return-value documentation is optional), the description still completes the picture with cache/live behavior, sparse-data caveat, sync prerequisite, and full parameter formats. Nothing needed to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must fully compensate, and it does: it documents all three params, including accepted start_date formats (YYYY-MM-DD, YYYY-MM, relative '30d') and defaults for start_date, end_date, and live that the schema does not express.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource (get weight log entries) with the exact fields returned (weight, BMI, body fat percentage). It explicitly distinguishes itself from the sibling health_get_weight_readings by noting that individual weigh-ins live there while this tool returns one entry per day.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states the default path (local cache), the alternative (live=True fetches from the API), and a prerequisite (run health_sync first to populate the cache). It also routes the agent to health_get_weight_readings for per-weigh-in granularity.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_get_weight_readingsA
Get every weigh-in and body-fat reading, as Google recorded each one.
health_get_weight keeps one row a day; this returns every reading: its value in Google's own unit (weightGrams, percentage), when it was taken, and the device or app that recorded it.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns weight_readings and body_fat_readings, each entry with reading_id, datetime (local), date, provider and record (the reading as Google sent it), and count, the number of readings of both kinds.
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden and does well: it discloses cache-vs-live behavior ('re-fetch this window from the API before reading the cache') and that values are returned in Google's native units (weightGrams, percentage). It does not cover auth requirements or rate limits, but for a read-only getter this is solid disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the key differentiator in the first sentence, then structured Args/Returns sections. The Returns block restates what the output schema already provides, making it slightly redundant, but no sentence is wasteful for comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
All three parameters are explained, behavior (cache/live) is covered, and return shape is described even though an output schema exists. Complete enough for an agent to invoke correctly; the returns restatement is the only redundancy.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does: it documents accepted date formats ('YYYY-MM-DD', 'YYYY-MM', or '30d'), the default windows, and the live flag's effect. This adds real meaning beyond the bare schema types.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get every weigh-in and body-fat reading') and immediately distinguishes itself from the sibling health_get_weight by scope: 'health_get_weight keeps one row a day; this returns every reading.' An agent can route between the two without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the alternative (health_get_weight) and the condition that selects the other tool (daily rows vs every reading), and documents default windows and the live/cache tradeoff. It does not explicitly say when to prefer this tool, but the contrast makes the use case clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_syncA
Sync health data to the local cache.
Fetches data from the Google Health API and stores it in SQLite for fast offline queries. Run this before using other health_get_* tools.
Syncs incrementally: only fetches data newer than the most recent entry in each table. First sync fetches the specified number of days.
Args: data_types: What to sync. Options: "all", "heart_rate", "activity", "exercises", "sleep", "weight", "spo2", "hrv", "azm", "breathing_rate", "skin_temperature", "core_temperature", "cardio_fitness", "food_log", "ecg", "irn", "account", "height", "exercise_routes", "sleep_sessions", "weight_readings", "body_fat_readings". Comma-separated for multiple, e.g. "sleep,hrv". Default: "all". days: Days of history for first sync (default: 30). Ignored on subsequent syncs (uses last synced date). since: Optional "YYYY-MM-DD" backfill date. When set, fetches from this date regardless of what is already cached - use to pull history older than the current cache. Overrides incremental resume and days. until: Optional "YYYY-MM-DD" inclusive end date; requires since. Together they re-fetch and upsert exactly the since..until window - use to repair a gap in the middle of the cache without re-pulling everything from the gap to today.
Returns summary of records synced per data type. Not for querying data - use health_get_heart_rate, health_get_activity, health_get_sleep, etc. instead.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| since | No | ||
| until | No | ||
| data_types | No | all |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden and does well: it discloses incremental-only fetching, first-sync semantics, that 'days' is ignored on subsequent syncs, that 'since' overrides both incremental resume and 'days', and that since..until performs an upsert over exactly that window. It does not mention authentication requirements, rate limits, or error/timeout behavior, which leaves a modest gap for a network-bound mutation of the local cache.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose, then behavior, then parameters, then exclusions. The only bulk is the enumerated data_types list, which is necessary because the schema has no enum, so it earns its place. Slightly verbose but nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 4-parameter write-to-cache tool with no annotations, the description covers purpose, sequencing relative to siblings, incremental semantics, override precedence, and the full option set for data_types. An output schema exists, so not detailing the per-type return payload is appropriate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate entirely, and it does: all four parameters are documented with formats (YYYY-MM-DD), defaults, comma-separated syntax, the full list of 23 data_types options, and the precedence rules between days/since/until. This adds far more meaning than the bare-typed schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Sync health data to the local cache') and immediately clarifies the mechanism ('Fetches data from the Google Health API and stores it in SQLite'). It clearly distinguishes itself from the health_get_* siblings by declaring it is a precondition rather than a query tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit sequencing guidance ('Run this before using other health_get_* tools') and an explicit exclusion ('Not for querying data - use health_get_heart_rate, health_get_activity, health_get_sleep, etc. instead'). It also explains when to use the since/until parameters (backfill, gap repair) vs. the default incremental path.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
health_trendsA
Analyse trends in cached health data.
Computes averages and totals over time from the local cache, auto-syncing if stale.
Args: data_type: What to analyse. Options: "heart_rate", "activity", "exercises", "sleep", "weight", "spo2", "hrv", "azm", "breathing_rate", "skin_temperature", "core_temperature", "cardio_fitness", "food_log". Default: "activity". period: Aggregation period. Options: "weekly", "monthly", "quarterly". Default: "monthly". start_date: Start date as "YYYY-MM-DD" or "365d". Default: last 12 months. end_date: End date as "YYYY-MM-DD". Default: today. compare: Compare two periods. Format: "last_30d vs previous_30d", "2026-03 vs 2026-02", "2026-Q1 vs 2025-Q4". When set, period/start_date/end_date are ignored.
Returns aggregated averages per period. For activity: steps, distance, active minutes. For exercises: sessions, duration, calories. For sleep: duration, efficiency, stage breakdown. For heart_rate: resting HR min/avg/max. For weight: weight, fat%, BMI. For hrv: daily and deep RMSSD.
For cardio_fitness, avg_vo2_max_low/high average a reported band while avg_vo2_max averages a single value: two definitions, each with the count of readings behind it, never one series.
For spo2, min_spo2/max_spo2 are the lowest and highest bound among imported nights (counted by nights_observed_extremes), and avg_nightly_ci_low/avg_nightly_ci_high the mean of the nightly bounds this API reports (counted by nights_confidence_interval).
These fields and their counts appear in the period form only.
compare= reports spo2 as avg_spo2 alone, and carries both cardio_fitness
definitions.
For core_temperature, a reading whose value was changed in the app is counted as well as its earlier value, in both forms: check a high max_temp_celsius or readings_ge_38c with health_get_core_temperature.
Not for raw data - use health_get_* tools instead.
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | monthly | |
| compare | No | ||
| end_date | No | ||
| data_type | No | activity | |
| start_date | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and delivers: it discloses cache-backed reads, auto-sync-if-stale behavior, the compare-mode override semantics, spo2/cardio_fitness dual-definition quirks, and that edited core_temperature readings are double-counted. It does not state read-only/destructive posture explicitly, but 'analyse' strongly implies a read.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The Args block is well front-loaded and cleanly organized, but roughly half the text explains return-field semantics for spo2, cardio_fitness, and core_temperature even though an output schema exists, which is verbose for a description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 undocumented params, no annotations, and the analytical complexity, the description covers inputs, caching/sync behavior, comparison mode, per-datatype return semantics, and edge cases, leaving nothing an agent needs to call it correctly unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must compensate and does so fully: it enumerates each param, lists the allowed enum values for data_type and period, gives defaults, date formats ('YYYY-MM-DD' or '365d'), and worked compare examples with the override rule.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Analyse trends in cached health data', computing averages/totals over time) and explicitly distinguishes itself from the health_get_* raw-data siblings. An agent can identify the tool's scope without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly routes raw-data needs to health_get_* tools and explains that compare overrides period/start_date/end_date. It gives clear usage context but does not name a specific alternative sibling (e.g. health_get_lifetime_stats) for cases where trends is wrong.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
v1.7.0- Added
health_get_exercise_route - Changed
health_get_exercises1 field changed- added
Input schema / properties / include_detailAdded value: +{ + "default": false, + "title": "Include Detail", + "type": "boolean" +}
- Added
health_get_height - Added
health_get_profile - Added
health_get_sleep_sessions - Added
health_get_weight_readings - Changed
health_trends2 fields changed- added
Input schema / properties / data_type / enumAdded value: +[ + "heart_rate", + "activity", + "exercises", + "sleep", + "weight", + "spo2", + "hrv", + "azm", + "breathing_rate", + "skin_temperature", + "core_temperature", + "cardio_fitness", + "food_log" +] - added
Input schema / properties / period / enumAdded value: +[ + "weekly", + "monthly", + "quarterly" +]
19 tool updates
v1.0.0- First observed
health_get_activity - First observed
health_get_azm - First observed
health_get_breathing_rate - First observed
health_get_cardio_fitness - First observed
health_get_core_temperature - First observed
health_get_devices - First observed
health_get_ecg - First observed
health_get_exercises - First observed
health_get_food_log - First observed
health_get_heart_rate - First observed
health_get_hrv - First observed
health_get_irregular_rhythm - First observed
health_get_lifetime_stats - First observed
health_get_skin_temperature - First observed
health_get_sleep - First observed
health_get_spo2 - First observed
health_get_weight - First observed
health_sync - First observed
health_trends
TDQS
Scored across 24 tools
Most tools target clearly distinct metrics or actions, and descriptions explicitly separate overlapping granularities like sleep vs sleep_sessions, weight vs weight_readings, and skin vs core temperature. A few zone-related (heart_rate vs AZM) or aggregate-vs-raw (trends vs getters) pairs could cause brief hesitation, but the descriptions resolve them.
All names use snake_case with a consistent health_ prefix, and getters follow the health_get_<metric> pattern. Minor deviations are health_sync and health_trends, which are readable and conventional for their distinct actions.
At 24 tools, the surface is in the heavy 16-25 range and creates a large selection space for an agent. The breadth of distinct Google Health metrics means few tools are truly redundant, but some consolidation (e.g., weight vs weight_readings, sleep vs sleep_sessions) could reduce the load.
The set covers a wide range of health data types—activity, heart, sleep, body composition, temperature, food, ECG, devices, profile—plus sync, trends, and all-time stats. For a read-only health API, there are no obvious dead ends; every major metric appears accessible.
Maintenance
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Multi-tenant hosted MCP server for Oura Ring — 21 read-only tools, OAuth per user.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Related MCP Servers
- AlicenseBqualityAmaintenanceA local-first MCP server that enables AI agents to read user-authorized Google Health API v4 data from Fitbit, Pixel Watch, and partners via OAuth, with tokens never leaving the machine.26345 npm66MIT
- AlicenseAqualityDmaintenanceMCP server to read daily activity, sleep, heart rate, and body metrics from Google Health API, allowing AI assistants like Claude to access your health data. Optionally syncs health metrics to an Obsidian vault.5MIT
- AlicenseNot gradedqualityDmaintenanceSelf-hosted MCP server that aggregates personal health data from Google Health, Oura, and Withings into a single, provider-attributed interface with configurable source of truth preferences.MIT
- AlicenseAqualityDmaintenanceAn MCP server that locally authenticates with Google Health API v4 and provides read-only access to Fitbit, Pixel Watch, and other health data for AI agents.29117 npm18MIT