Skip to main content
Glama
echocharlie

garmin-connect-mcp-server

by echocharlie

garmin_get_sleep

Read-only

Retrieve sleep data from Garmin Connect for one or multiple nights, including sleep score, sleep stages, heart rate variability, SpO2, and resting heart rate.

Instructions

Garmin sleep data per night as a compact table (max 31 days, default last 7).

Columns: date (wake-up morning), score (0-100), quality, duration, deep, light, rem, awake (H:MM), overnight_hrv (ms), spo2_avg (%), resting_hr (bpm). Note: if the user also wears an Oura ring, oura_* tools report the same nights and may differ slightly; say which source you're citing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoISO end date (inclusive). Default: today. Each date refers to the night ENDING that morning.
start_dateNoISO start date (inclusive). Default: 6 days before end_date.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations declare readOnlyHint=true, which the description implicitly supports. The description adds constraints (max 31 days, default 7 days) and a data-source transparency note about Oura ring discrepancies. No contradictions.

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?

Three sentences efficiently convey purpose, output columns, range, and usage note. No extraneous content; front-loaded with key information.

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?

With output schema present, the description covers the essential purpose, data shape (columns), and usage constraints. The only minor gap is lack of explicit return format (how rows are organized), but it is implied by 'per night'. Complete enough for a simple read tool.

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 coverage is 100% with clear definitions of start_date and end_date, including the night-ending interpretation. The description does not add significant meaning beyond the schema, only restating the range. Baseline score of 3 is appropriate.

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 clearly states the tool retrieves Garmin sleep data per night, specifies a table format with column details, and indicates a maximum 31-day range. This distinguishes it from sibling tools like garmin_get_daily_summary or garmin_get_activity_detail, which cover different data types.

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 explains the default range (last 7 days) and maximum (31 days), and includes a note about Oura ring as an alternative source for sleep data. However, it does not explicitly state when not to use this tool or recommend specific siblings for other purposes.

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/echocharlie/garmin-connect-mcp-server'

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