Skip to main content
Glama

Polar Daily Activity

polar_list_activity
Read-onlyIdempotent

Fetch Polar daily activity records for a date range, with pagination, privacy modes, and Markdown or JSON output; requires activity:read.

Instructions

List Polar daily activity records. Requires activity:read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPolar page number.
afterNoInclusive start date. Serialized as a Polar date or date-time according to the endpoint contract.
limitNoLocal page-size hint used for pagination safety.
beforeNoExclusive end date. Serialized as a Polar date or date-time according to the endpoint contract.
featuresNoOptional Polar v4 feature flags. Values are validated per endpoint; feature ranges that require one day are hydrated safely.
all_pagesNoFetch multiple pages up to max_pages.
max_pagesNoMaximum pages to fetch when all_pages is true.
privacy_modeNoOptional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary removes GPS/map details.
response_formatNomarkdown
explicit_user_intentNoRequired true when privacy_mode=raw or include_gps=true (agent escalation of redaction).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
recordsYes
endpointYes
has_moreYes
next_pageNo
privacy_modeYes
pages_fetchedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.5.4
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / after / description
      Previous value: -"Only return Polar records after this time. Converted to Polar's inclusive from query parameter."New value: +"Inclusive start date. Serialized as a Polar date or date-time according to the endpoint contract."
    • changedInput schema / properties / before / description
      Previous value: -"Only return Polar records before this time. Converted to Polar's exclusive to query parameter."New value: +"Exclusive end date. Serialized as a Polar date or date-time according to the endpoint contract."
    • addedInput schema / properties / explicit_user_intent
      Added value: +{
      +  "description": "Required true when privacy_mode=raw or include_gps=true (agent escalation of redaction).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / features
      Added value: +{
      +  "description": "Optional Polar v4 feature flags. Values are validated per endpoint; feature ranges that require one day are hydrated safely.",
      +  "items": {
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / privacy_mode / description
      Previous value: -"Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary minimizes sensitive health and profile details."New value: +"Optional per-call privacy override. Defaults to POLAR_PRIVACY_MODE or structured. raw returns upstream Polar JSON. summary removes GPS/map details."
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.6

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the safety profile is covered structurally. The description adds the required OAuth scope ('activity:read'), which is genuinely useful context not present in annotations. It says nothing about pagination behavior, the privacy_mode override, or the raw-mode escalation requirement.

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?

Two short sentences with the core action front-loaded and no filler. It is efficient, though bordering on under-specified rather than concise for a 10-parameter tool.

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?

This is a 10-parameter tool with pagination (all_pages/max_pages), feature flags, and a privacy_mode override that can require explicit_user_intent=true for raw. None of that complexity is acknowledged in the description. An output schema exists, so return values needn't be explained, but the invocation-time caveats are missing.

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 description coverage is 90%, so the schema already documents the page/after/before/limit/features/privacy_mode parameters, including enum values. The description adds no parameter-level meaning beyond that, which is acceptable given the high coverage baseline.

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?

States a specific verb+resource ('List Polar daily activity records'), which is clear on its own. However, with many similarly named siblings (polar_list_sports, polar_list_training_sessions, polar_daily_summary, polar_list_continuous_samples), the description does not distinguish what 'activity' covers versus those adjacent datasets.

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

Usage Guidelines2/5

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

'Requires activity:read' is a prerequisite, not usage guidance. Nothing tells the agent when to pick this over polar_daily_summary or polar_list_sports, and no exclusions or alternatives are named.

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