get_sleep_range

Get sleep data for a date range. Returns sleep tracking data including sleep stages, sleep scores, duration, and quality metrics for each night in the range.

Server Polar MCP Server nelsonnew/polar-mcp-server
Category Read
Risk class Low
Parameters 00 required

What get_sleep_range does on Polar MCP Server

AI agents call get_sleep_range to retrieve information from Polar MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_sleep_range needs a policy

This tool retrieves and queries sleep data for a specified date range. It performs no create, modify, delete, or execute operations. The worst-case misuse would be unauthorized access to personal sleep metrics, a privacy concern but not a high-severity risk since the data cannot be modified or deleted, and the tool does not trigger external operations or financial transactions. Classified as Read with low severity.

From the tool's definition Tool description uses 'Get' and 'Returns' language with no modification or deletion capabilities. Returns sleep tracking data only, which is historical personal health information retrieved from the Polar AccessLink API with no side effects.

Questions about get_sleep_range

What does the get_sleep_range tool do? +

Get sleep data for a date range. Returns sleep tracking data including sleep stages, sleep scores, duration, and quality metrics for each night in the range. It is categorised as a Read tool in the Polar MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_sleep_range? +

Register the Polar MCP Server MCP server in PolicyLayer and add a rule for get_sleep_range: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Polar MCP Server. Nothing to install.

What risk level is get_sleep_range? +

get_sleep_range is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_sleep_range? +

Yes. Add a rate_limit block to the get_sleep_range rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_sleep_range completely? +

Set action: deny in the PolicyLayer policy for get_sleep_range. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_sleep_range? +

get_sleep_range is provided by the Polar MCP Server MCP server (nelsonnew/polar-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.