Skip to main content
Glama
NelsonNew

Polar MCP Server

by NelsonNew

get_activity_samples_range

Fetch activity samples for a specified date range, supporting up to 28 consecutive days within the past year.

Instructions

Get activity samples for a date range. Maximum range is 28 days, and from date cannot be older than 365 days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd date (YYYY-MM-DD format). Required.
fromYesStart date (YYYY-MM-DD format). Required.
Behavior4/5

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

With no annotations, the description discloses two key behavioral traits: maximum range of 28 days and that from date cannot be older than 365 days. This goes beyond the schema to help the agent avoid errors.

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: first states purpose, second states constraints. No fluff, front-loaded, every sentence earns its place.

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?

No output schema, and the description does not explain what activity samples are returned or their format. For a data retrieval tool, more context about return values would improve completeness.

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 descriptions for from and to. The description adds overall date constraint context but does not elaborate on parameter formats or values beyond what the schema already provides.

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 'Get activity samples for a date range' with specific constraints (28-day max range, 365-day max age). It distinguishes from sibling 'get_activity_samples' by adding the range concept.

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?

Provides constraints on range and date age, which implicitly guide usage, but lacks explicit when-to-use or when-not-to-use compared to sibling tools like 'get_activity_samples'.

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