Skip to main content
Glama

get_sleep

Retrieve Garmin-recorded sleep score, stages, timing, respiration, and SpO2 for a given date to analyze nightly sleep quality.

Instructions

Get Garmin-recorded sleep score, stages, timing, respiration, and SpO2 when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It adds the 'when available' qualifier for SpO2 and names the source as Garmin, but does not mention permissions, failure behavior, or how the optional date affects results.

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 a single, front-loaded sentence with no filler. Every word adds value, and the metric list is packed into a compact, readable format.

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

Completeness3/5

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

With a low-optionality schema and an output schema present, the tool doesn't need extensive documentation, but the total absence of parameter semantics and any usage caveats leaves minor gaps. The core purpose is clear, yet an agent is not told how to specify the date.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema coverage is 0% and the sole parameter `date` has no description. The tool description does not explain the expected date format, meaning, or default behavior, so an agent gets no semantic guidance beyond the parameter's name.

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 uses the specific verb 'Get' and enumerates the exact sleep metrics included (score, stages, timing, respiration, SpO2), making it clearly distinct from sibling tools like get_hrv or get_stress. The qualifier 'when available' also sets accurate expectations for data availability.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is for retrieving sleep data but does not explicitly state when to prefer it over alternatives or any exclusion conditions. It relies on the tool name and metric list to signal usage, so guidance is only implicit.

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

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/xichen-de/garmin-owl'

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