Skip to main content
Glama

Apple Health MCP Server

get_xml_structure

Analyze the structure and metadata of Apple Health XML export files to identify root elements, record types, workout types, and data sources without loading full content for quick insights.

Instructions

Analyze the structure and metadata of an Apple Health XML export file without loading the entire content.

Returns:

  • file_size_mb: Size of the file in megabytes

  • root_elements: List of unique root-level XML tags

  • record_types: List of unique health record types (see RecordType for most frequent types, but may include others)

  • workout_types: List of unique workout types

  • sources: List of unique data sources (device/app names)

Notes for LLMs:

  • Use this to quickly understand the contents and structure of a health XML file

  • RecordType contains only the most frequent types; other types may appear as strings

  • Do not guess, auto-fill, or assume any missing data.

  • When asked for medical advice, try to use my data from ElasticSearch first.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Other Tools from Apple Health MCP Server

Related Tools

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/the-momentum/apple-health-mcp-server'

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