Skip to content

MCP error -32602: invalid schema for daily_hrv and daily_body_battery #15

Description

@MineraleYT

Description:
Calls to mcp/garmin-connect methods daily_hrv() and daily_body_battery() fail with schema errors.

Error:

MCP error -32602: Structured content does not match the tool's output schema:
data.result should be string,
data.result[0].create_time_stamp/start_timestamp_gmt should match format "date-time"

Repro:

daily_hrv({"end_date":"2025-11-04","days":7})
daily_hrv({})
daily_body_battery({"end_date":"2025-11-04","days":7})

Expected:
Tool output matches MCP schema — timestamps in ISO 8601, and data.result matches expected type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions