Skip to main content
Glama

Google Health Physical-Time Rollup

google_health_rollup
Read-onlyIdempotent

Aggregate Google Health data types like steps or heart rate over custom time intervals. Specify start and end times to retrieve summarized health metrics.

Instructions

Aggregate a data type over physical time intervals using Google Health rollUp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_timeYesISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z
data_typeNoGoogle Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity-level, altitude, blood-glucose, body-fat, calories-in-heart-rate-zone, core-body-temperature, daily-heart-rate-variability, daily-heart-rate-zones, daily-oxygen-saturation, daily-respiratory-rate, daily-resting-heart-rate, daily-sleep-temperature-derivations, daily-vo2-max, distance, electrocardiogram, exercise, floors, food, food-measurement-unit, heart-rate, heart-rate-variability, height, hydration-log, irregular-rhythm-notification, nutrition-log, oxygen-saturation, respiratory-rate-sleep-summary, run-vo2-max, sedentary-period, sleep, steps, swim-lengths-data, time-in-heart-rate-zone, total-calories, vo2-max, weight. Other valid v4 kebab-case slugs are also accepted.steps
page_sizeNo
page_tokenNo
start_timeYesISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z
window_sizeNoDuration in protobuf seconds format, e.g. 3600s.3600s
privacy_modeNoOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatNomarkdown
data_source_familyNo
explicit_user_intentNoRequired true when privacy_mode=raw (agent escalation of redaction).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
endpointYes
privacy_modeYes
Behavior2/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is clear. The description adds no new behavioral context—no mention of pagination, timezone handling, supported data types, or return format. It essentially restates the tool's title.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is a single, brief sentence with no fluff. It is front-loaded with the action verb. However, it is so terse that it borders on under-specification, though for conciseness it earns high marks.

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

Completeness2/5

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

Despite having an output schema and 10 parameters, the description is far too minimal. It fails to explain the meaning of 'physical time intervals', the relationship to daily rollup, or any behavioral nuances. An agent would be under-informed for correct selection and invocation.

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

Parameters2/5

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

Schema description coverage is 60%, meaning 4 of 10 parameters lack descriptions. The tool description offers no parameter explanations at all, leaving gaps for page_size, page_token, response_format, and data_source_family. Since coverage is moderate, the description should have compensated but did not.

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

Purpose4/5

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

The description states a specific verb 'aggregate' and resource 'data type over physical time intervals', which distinguishes it from the sibling 'google_health_daily_rollup' by the 'physical time' qualifier. However, it does not explicitly name the alternative or contrast with daily rollup, so it stops short of full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention physical vs. daily intervals, prerequisites, or contexts where one should be preferred. Given the sibling 'google_health_daily_rollup', a clear opportunity for usage guidance is missed.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/google-health-mcp'

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