Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HEALTHKIT_HELPER_PATHNoOverride binary locationhealthkit-helper/.build/release/HealthKitHelper

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_heart_rateA

Get the most recent heart rate reading from Apple Watch.

Returns: JSON object with fields: bpm - heart rate in beats per minute timestamp - ISO-8601 UTC time of the reading source - device/app that recorded the reading device - Apple Watch model (may be null)

stream_heart_rateA

Collect heart rate readings from Apple Watch over a time window.

Runs the HealthKit observer for the given duration and returns all samples received, including any buffered readings from the last 5 minutes that hadn't been reported yet.

Note: Apple Watch syncs data through iPhone to Mac via iCloud, so "real-time" updates have network-dependent latency (typically 10-60 s).

Args: duration_seconds: How long to collect readings (1–300 s). Default 30.

Returns: JSON array of heart rate samples, ordered by timestamp.

get_heart_rate_historyA

Retrieve heart rate history stored in macOS HealthKit.

Returns all samples recorded within the past N hours, sorted oldest-first. Data comes from Apple Watch and any other HealthKit sources (e.g. Workout app).

Args: hours: How many hours of history to fetch (default 24, max ~168 for a week).

Returns: JSON array of heart rate samples, each with bpm / timestamp / source / device.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
helper_statusReports whether the HealthKit helper binary is built and ready.

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/Edplayerone/iwatch-mcp'

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