Skip to main content
Glama
PhilipAD

Health Export AI

by PhilipAD

list_events

Read-onlyIdempotent

Return logged health context events (medication, habits, visits, travel, shifts) filtered by type, tag, or date range. Sorted ascending; available:false when no file.

Instructions

Logged context events from health-events.json: medication starts, habit changes, doctor visits, life events, shift blocks, episodes, travel, and any type a newer app adds. Optional {type, tag, start, end} filters; a range event matches a window it overlaps. Sorted ascending by date. Returns available:false when the file was never exported; absence means nothing was exported, not that nothing happened.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoYYYY-MM-DD
tagNoMatch events carrying this tag.
typeNoEvent type, e.g. medication, habit, visit, life, shift, episode, travel, other. Unknown types pass through and can be filtered by their stored string.
startNoYYYY-MM-DD
Behavior5/5

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

Annotations already declare readOnly and idempotent hints; the description adds substantial beyond-schema detail: start/end range semantics, ascending sort order, how unknown types pass through, and the available:false semantics that distinguish an untouched dataset from an empty one. These are exactly the edge behaviors an agent needs to reason about correctly.

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 compact, information-dense, and front-loaded with the tool's core purpose before moving into filters and edge cases. Every sentence contributes unique, non-redundant information.

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

Completeness5/5

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

Despite having no output schema, the description covers source, filter behavior, ordering, overlap semantics, unknown types, and the absence of a meaningful available:false result. This is sufficient for an agent to confidently select and invoke the tool.

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?

The schema already documents all four parameters with 100% coverage, so the baseline is 3. The description adds meaningful extra context by explaining that range filters allow overlap matching and by reinforcing that the type parameter is open to new app-defined types.

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?

The description states a specific verb and resource: it lists logged context events from health-events.json, enumerates the event types, and covers future types. This makes the tool clearly distinguishable from the metric, workout, and sleep siblings 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?

It gives clear context for when to use it — whenever a list of context events is needed — and describes the optional filters. It does not explicitly call out sibling alternatives or exclusion conditions, but the context signals and type enumeration make the target use case obvious.

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/PhilipAD/health-export-mcp'

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