Skip to main content
Glama

Polar Training Target Favorites

polar_list_training_target_favorites
Read-onlyIdempotent

List a user's favorite Polar training targets with date, pagination, and privacy options; requires training_targets:read.

Instructions

List user training target favorites. Requires training_targets: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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered without the description. The description does add one non-obvious behavioral fact, the training_targets:read scope requirement, which is genuine added value, but it omits pagination behavior and how favorites are ordered or filtered.

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 short sentences, purpose front-loaded, with the prerequisite stated second. No filler, no repetition of the title, and nothing that could be cut without losing information.

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?

An output schema exists so return values need not be explained, and annotations fully cover the safety profile; the auth scope requirement is a useful addition. The only meaningful gap is the lack of differentiation from the sibling polar_list_training_targets, which matters for a tool whose name hinges on 'favorites'.

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% across 10 parameters, so the schema already documents page, limit, before, after, all_pages, privacy_mode, and explicit_user_intent in detail. The description adds nothing about parameter semantics, and the baseline of 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource: lists the user's training target favorites. The purpose is unambiguous on its own, but it does not distinguish itself from the sibling polar_list_training_targets, so an agent must infer the favorites-vs-all distinction from the name alone.

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?

The description implies when the tool is applicable (when you want favorites) and states the required scope, but gives no explicit when-to-use guidance, exclusions, or naming of the alternative polar_list_training_targets for the full list.

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