Skip to main content
Glama
NelsonNew

Polar MCP Server

by NelsonNew

get_sleep

Retrieve sleep tracking data for a specified date, including sleep stages (deep, light, REM), sleep score, duration, interruptions, and quality metrics.

Instructions

Get sleep tracking data including sleep stages (deep, light, REM), sleep score, sleep duration, interruptions, and sleep quality metrics. Provides comprehensive sleep analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoSpecific date to get sleep data for (YYYY-MM-DD format). If not provided, returns available sleep data.
Behavior3/5

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

With no annotations provided, the description bears the full burden. It lists returned metrics but does not disclose if the tool is read-only, requires permissions, or has data freshness constraints. The safe, expected behavior is implied but not explicitly stated.

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?

Two sentences efficiently convey the tool's purpose and key metrics. The most critical information is front-loaded, and every sentence adds value without extraneous detail.

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?

Despite lacking an output schema, the description lists key returned fields (stages, score, duration, interruptions, quality), giving the agent reasonable expectations. Missing details on response format or aggregation, but sufficient for typical use.

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?

The single parameter 'date' has 100% schema coverage with format specification. The description adds 'specific date to get sleep data for' which reinforces but does not extend beyond the schema. Baseline score due to high coverage.

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 sleep tracking data and lists specific metrics (stages, score, duration, interruptions, quality). It distinguishes itself from sibling tools like get_sleep_range (which returns range data) and get_nightly_recharge (different metric).

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?

No explicit guidance on when to use this tool versus alternatives like get_sleep_range or get_nightly_recharge. The description implies single-day data retrieval with the optional 'date' parameter but lacks context for batch queries or prerequisites.

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/NelsonNew/polar-mcp-server'

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