Skip to main content
Glama
gh33k

Apple Health Chat MCP

by gh33k

health_export_query

Run SQL-like queries on Apple Health CSV exports to filter, group, and analyze metrics like steps, heart rate, and sleep.

Instructions

Execute SQL-like queries on health data from Health Export CSV files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSQL-like query to execute on health data. Supports SELECT, WHERE, GROUP BY, ORDER BY, LIMIT clauses.
formatNoOutput format for the query resultsjson
Behavior2/5

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 does not disclose whether the tool is read-only, what side effects exist, or any limitations. The schema mentions SELECT clauses, but the description itself adds no behavioral context.

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?

The description is a single, front-loaded sentence that directly conveys the tool's purpose. It is appropriately concise with no wasted words.

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?

The tool is simple with 2 well-documented parameters, so the description plus schema is mostly sufficient. However, there is no output schema, and the description does not mention output formats or any constraints, leaving some ambiguity for an agent deciding whether this tool fits the task.

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 description coverage is 100%, so the schema already fully documents both parameters. The description adds no extra meaning beyond 'SQL-like queries', which is already captured in the query parameter description.

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 verb 'Execute' and the resource 'health data from Health Export CSV files', which is specific. It distinguishes from sibling tools like health_export_report and health_export_metrics by emphasizing SQL-like queries, though it could be more precise about being SELECT-only.

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

Usage Guidelines3/5

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

Usage is implied: if you need to run custom SQL-like queries, use this tool. However, it does not explicitly mention when to prefer this over alternatives like health_export_ask or health_export_metrics, nor does it provide exclusions.

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/gh33k/apple-health-chat-mcp'

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