Skip to main content
Glama
B3r3z

Intervals.icu MCP Server

by B3r3z

get_wellness_data

Retrieve raw wellness records for a date range, including HRV and custom fields, to analyze athlete recovery and readiness.

Instructions

Return raw wellness records using a half-open local-date range.

start_date is inclusive and end_date_exclusive is exclusive; end_date remains the deprecated inclusive alias. The upstream API may return an array of records or a date-keyed object whose keys are ISO-local dates. Empty arrays/maps are valid empty data, while null, scalar, mixed-member, and meaningless date-map shapes are errors. All native and custom fields, including null and zero, are preserved and source completeness remains unknown. Consult get_metric_definitions before interpreting fields: native hrv is rMSSD and hrvSDNN is a separate millisecond field; generic VO2max method and custom-field units remain unknown unless explicitly declared by the source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
end_dateNo
timezoneNoEurope/Warsaw
athlete_idNo
start_dateNo
end_date_exclusiveNo
include_all_fieldsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
errorNo
queryNo
sourceYes
statusYes
coverageYes
warningsNo
paginationNo
request_idNo
schema_versionNo1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly: it explains inclusive/exclusive date semantics, the possible response shapes, valid empty results, error shapes, field preservation including null/zero values, unknown source completeness, and specific metric interpretation caveats like hrv being rMSSD.

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 dense but every sentence carries meaningful information, from core behavior to edge-case shapes to field-interpretation guidance. It is front-loaded with the main purpose and date semantics before diving into detailed return-shape nuances.

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

Completeness4/5

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

Given the tool's complexity, the description covers return shapes, error conditions, field semantics, and a pointer to get_metric_definitions. It is missing explicit documentation for several parameters and does not discuss prerequisites or authentication, but the presence of an output schema reduces the need to explain return values. Overall, it is well above minimum viability but has clear gaps.

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?

Parameter schema coverage is 0%, so the description must compensate. It explains start_date, end_date_exclusive, and end_date as a deprecated alias, and touches on field preservation relevant to include_all_fields. However, it leaves athlete_id, timezone, api_key, and the exact meaning of include_all_fields undocumented, which is a notable gap given seven parameters.

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: 'Return raw wellness records' with a half-open local-date range. It clearly distinguishes itself from the many activity, event, and custom-item siblings by targeting wellness data.

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?

The description clearly explains the date-range semantics and advises consulting get_metric_definitions before interpreting fields, giving practical usage context. However, it does not explicitly contrast this tool with siblings like get_activities or get_events, so the when-not-to-use guidance is implicit rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.