Skip to main content
Glama
google-health-mcp

google-health-mcp

by gokulkrishh

Raw data points

get_data_points
Read-only

Retrieves raw health data records for a specified type, newest first, with optional date filters and pagination; use rollup tools for high-volume heart-rate or step data.

Instructions

Raw records for a data type, newest first: sleep sessions with stages, exercise sessions, weight entries, daily resting heart rate, HRV, SpO2, ECG and so on. Heart-rate and steps produce many points per day, so prefer the rollup tools for those. Pass nextPageToken back as pageToken to read more. For electrocardiogram the API only filters by start, treated as UTC, and end is ignored.

Input Schema

NameRequiredDescriptionDefault
endNoLocal end. A date-only value includes that whole day. Defaults to start.
startNoLocal start, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss. Omit start and end to get the most recent records.
filterNoAdvanced: raw AIP-160 filter that overrides start/end.
dataTypeYes
pageSizeNoDefault 50 (sleep and exercise are capped at 25).
pageTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint and openWorldHint, so the description carries the behavioral load and does so well: result ordering (newest first), the pagination contract ('Pass nextPageToken back as pageToken' — an output field documented nowhere else), and an API quirk that filtering for electrocardiogram treats start as UTC and ignores end. Those are exactly the non-obvious traits 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences, front-loaded with what the tool returns before caveats and pagination mechanics. Every sentence carries distinct information — examples, alternative routing, pagination, and the ECG exception — with no restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter read tool with no output schema, the description covers return ordering, result volume, pagination tokens, and a filtering edge case, which is most of what's needed. Minor gaps remain: no mention of how the advanced 'filter' parameter supersedes start/end, and no guidance on pageSize tradeoffs beyond what the schema states.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description fills the most consequential gaps: it explains pageToken's real source (nextPageToken from a prior response, which the schema leaves undocumented) and overrides the schema's 'end defaults to start' with the ECG-specific rule that end is ignored. It does not mention the filter parameter's override of start/end, which remains schema-only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Raw records for a data type, newest first') and enumerates the record families it returns (sleep sessions with stages, exercise sessions, weight entries, resting heart rate, HRV, SpO2, ECG). It also positions itself against siblings by naming the rollup tools as the alternative for high-frequency types, so an agent can distinguish it 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.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit conditional exclusion: for heart-rate and steps, prefer the rollup tools because they produce many points per day. That is real routing guidance, not implied usage. It stops short of covering the other siblings (get_daily_summary, list_data_types) or when raw-vs-summary is otherwise preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.