Skip to main content
Glama

get_sleep

Retrieve sleep score, stages, heart rate, stress, respiration, SpO2, and skin-temperature deviation for a chosen date from Garmin data.

Instructions

Get sleep score/need, stages, HR/stress, respiration, SpO2, and skin-temp deviation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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. The verb 'Get' implies a read-only operation, but the description does not explain date semantics (e.g., what passing null means), timezone behavior, or how missing sleep data is handled. It only lists metric categories.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that efficiently lists the tool's key outputs with no filler. It is appropriately compact, though the brevity contributes to the omission of parameter and usage context captured in other dimensions.

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

Completeness2/5

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

An output schema exists, so the return shape is covered, but the date parameter's format and behavior are undocumented, no sibling differentiation or usage conditions are given, and there are no annotations to fill gaps. These omissions make confident invocation harder than necessary for a tool with one critical parameter.

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 description does not mention the sole 'date' parameter, which has 0% schema description coverage. The input schema only indicates a string/null with a default of null, leaving the expected date format and meaning of null undocumented; the description fails to compensate for this gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and names the resource ('sleep') while enumerating the returned metrics: sleep score/need, stages, HR/stress, respiration, SpO2, and skin-temp deviation. This makes the tool's function clear, though it does not explicitly differentiate it from overlapping siblings like get_recovery, get_hrv, and get_stress.

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?

There is no explicit statement about when to use this tool versus alternatives. The name and metric list imply it is for sleep-related data, but no exclusions or alternate tool mentions are provided, leaving the selection to inference.

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