Skip to main content
Glama

Get running trends

garmin_get_running_trends
Read-onlyIdempotent

Summarise running performance over a selected 28–90-day window, including available totals and trends. Use for a longer-period running review; identify incomplete results. Before the first read, visibly explain this disclosure: Geekist forwards requested records without saving them to its application database; your assistant may retain them. Show the privacy policy: https://garmin.geekist.co/privacy/ Check every response for serviceAnnouncements from Geekist, the independent service operator, and display each message distinctly to the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "endDate": "<endDate>"
    },
    "name": "garmin_get_running_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days in the period, 28–90; defaults to 28.
endDateYesLast calendar date in the trend period, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault
okNoTrue for a successful operation; false for a rejected, failed or uncertain result. Some administrative results use status or result instead.
codeNo
daysNo
weeksNo
issuesNo
endDateNo
messageNo
outcomeNo
completeNo
startDateNo
retryAfterNo
excludedCountNo
privacyNoticeNo
geekistMessageDeliveryNo
geekistOwnerMessageDeliveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "__schema0": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "items": {
      +            "$ref": "#/$defs/__schema0"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/__schema0"
      +          },
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "description": "Operation-specific response envelope. Failure fields replace success fields; privacy and service-notice envelopes may accompany either.",
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "complete": {
      +      "type": "boolean"
      +    },
      +    "days": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "endDate": {
      +      "type": "string"
      +    },
      +    "excludedCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "geekistMessageDelivery": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "message": {
      +          "type": "string"
      +        },
      +        "noticeAvailability": {
      +          "const": "unavailable",
      +          "type": "string"
      +        },
      +        "noticeInstruction": {
      +          "type": "string"
      +        },
      +        "serviceAnnouncements": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "actionRequired": {
      +                "type": "boolean"
      +              },
      +              "expiresAt": {
      +                "type": "number"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "publisher": {
      +                "const": "Geekist",
      +                "type": "string"
      +              },
      +              "sequence": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "text": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "sequence",
      +              "text",
      +              "expiresAt",
      +              "publisher"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "noticeInstruction"
      +      ],
      +      "type": "object"
      +    },
      +    "geekistOwnerMessageDelivery": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "message": {
      +          "type": "string"
      +        },
      +        "noticeAvailability": {
      +          "enum": [
      +            "available",
      +            "unavailable"
      +          ],
      +          "type": "string"
      +        },
      +        "noticeInstruction": {
      +          "type": "string"
      +        },
      +        "ownerNotices": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "actionRequired": {
      +                "type": "boolean"
      +              },
      +              "createdAt": {
      +                "type": "number"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "payload": {
      +                "$ref": "#/$defs/__schema0"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "kind",
      +              "payload",
      +              "createdAt"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "noticeInstruction",
      +        "noticeAvailability"
      +      ],
      +      "type": "object"
      +    },
      +    "issues": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "path": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "path",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "True for a successful operation; false for a rejected, failed or uncertain result. Some administrative results use status or result instead.",
      +      "type": "boolean"
      +    },
      +    "outcome": {
      +      "enum": [
      +        "rejected",
      +        "uncertain",
      +        "confirmed"
      +      ],
      +      "type": "string"
      +    },
      +    "privacyNotice": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "policyUrl": {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "text": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "text",
      +        "policyUrl"
      +      ],
      +      "type": "object"
      +    },
      +    "retryAfter": {
      +      "type": "number"
      +    },
      +    "startDate": {
      +      "type": "string"
      +    },
      +    "weeks": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "activityCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "distanceMetres": {
      +            "type": "number"
      +          },
      +          "durationSeconds": {
      +            "type": "number"
      +          },
      +          "endDate": {
      +            "type": "string"
      +          },
      +          "missingDistanceCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missingDurationCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "startDate": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "startDate",
      +          "endDate",
      +          "activityCount",
      +          "distanceMetres",
      +          "durationSeconds",
      +          "missingDistanceCount",
      +          "missingDurationCount"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"Number of days in the period, 28–90; defaults to 28."
    • addedInput schema / properties / endDate / description
      Added value: +"Last calendar date in the trend period, YYYY-MM-DD."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context: results may be incomplete, the service operator forwards records without persisting them, and responses may carry serviceAnnouncements that must be surfaced. That is substantive disclosure beyond the structured fields, though it says nothing about rate limits or response shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good. However, roughly two-thirds of the text is compliance boilerplate about disclosures, privacy policy URLs, and announcement handling, which is dense and dilutes the actionable tool guidance rather than being tightly organized.

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?

With an output schema present, the description needn't explain return values, and it does cover scope, data-completeness caveats, and required user-facing disclosures. What remains thin is the relationship to sibling tools for shorter windows, which the agent must infer from naming alone.

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%, so both parameters (days, endDate) are already fully documented with ranges and format. The description only restates the 28–90-day window already implied by the schema's minimum/maximum, adding no new semantics such as how endDate anchors the window. Baseline 3 is appropriate when the schema carries the load.

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 and resource ('Summarise running performance') with an explicit scope (28–90-day window) and content ('available totals and trends'). It implicitly contrasts with the sibling per-activity and per-day tools by calling this a 'longer-period running review', but never names an alternative, so it stops short of full differentiation.

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

Usage Guidelines4/5

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

Gives clear when-to-use context: a longer-period running review rather than a single activity or a single day. It also adds an operational instruction to 'identify incomplete results'. There is no explicit when-not guidance or named alternative tool, which keeps it out of the top band.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources