Skip to main content
Glama

health.read_samples

Read raw Health samples from Apple Health for a date range, with filters for type, tags, and kinds, with pagination support.

Instructions

Read raw Health samples across one or more dates, filtered by type_keys/tags/kinds, with manifest-aware pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateYesStart date (YYYY-MM-DD).
end_dateNoEnd date (YYYY-MM-DD), inclusive. Defaults to start_date.
type_keysNoOptional canonical raw type keys such as workout, heart_rate, or blood_pressure.
tagsNoOptional logical tags. Matching is union-based across tags.
kindsNoOptional record kinds such as quantity, category, workout, or correlation.
cursorNoOpaque pagination cursor returned by a previous read_samples/read_daily_raw call.
max_recordsNoMaximum number of sample records to return.
manifest_onlyNoWhen true, return only filtered manifest views and no sample payloads.
include_manifestsNoInclude filtered manifest views alongside sample payloads.
storage_backendNoStorage backend to read from.auto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description mentions 'manifest-aware pagination' as a behavioral detail, but without annotations, it does not fully disclose behavior like whether it is read-only, rate limits, or authorization requirements. The description adds some value beyond the schema, but not comprehensive.

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, clear sentence that conveys the core functionality without extraneous details. It is efficiently front-loaded with the verb 'Read'.

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

Completeness3/5

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

Given the complexity (10 parameters) and presence of an output schema, the description covers the main purpose but omits details like union-based tag matching and the exact behavior of manifest-only. It is adequate but could be more complete.

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

Parameters3/5

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

Schema coverage is 100% with descriptions for all parameters. The description adds minimal extra meaning (filtering by type_keys/tags/kinds) beyond the schema. Baseline is 3 as schema does the heavy lifting.

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 clearly states the tool reads raw Health samples and mentions filtering by type_keys, tags, and kinds, as well as manifest-aware pagination. However, it does not explicitly differentiate from sibling tools like health.read_daily_raw or health.read_range_metrics, which may have overlapping functionality.

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?

No guidance is provided on when to use this tool versus alternatives (e.g., health.read_daily_raw for daily aggregates) or prerequisites such as having a source connected. The description simply states what it does without context.

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/zish-rob-crur/nucleus-apple-mcp'

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