Skip to main content
Glama

Search activities

garmin_search_activities
Read-onlyIdempotent

Find Garmin activities using text, sport, date and supported performance filters. Use for a targeted search or complex filtering; use the simpler activity list for ordinary recent or date-bounded reviews. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "garmin_search_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of records to request in the Garmin result page.
startNoZero-based starting offset for the Garmin result page.
searchNoText to search in Garmin activities.
sortByNoGarmin field used to sort results.
endDateNoLast calendar date in YYYY-MM-DD format.
decoDiveNoGarmin decompression-dive filter.
favoriteNoGarmin favourite-status filter as an integer.
eventTypeNoGarmin event type filter.
sortOrderNoGarmin sort direction, such as asc or desc.
startDateNoFirst calendar date in YYYY-MM-DD format.
maxDistanceNoMaximum activity distance filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
maxDurationNoMaximum activity duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minAvgPowerNoMinimum average-power filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minDistanceNoMinimum activity distance filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minDurationNoMinimum activity duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
activityTypeNoGarmin activity type filter, such as running.
maxElevationNoMaximum activity elevation filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minElevationNoMinimum activity elevation filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
lowerMaxDepthNoLower bound of Garmin’s maximum-depth filter. Use a decimal string when the integer exceeds the safe JSON range.
maxBottomTimeNoMaximum dive bottom-time filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minBottomTimeNoMinimum dive bottom-time filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
requiredFieldNoGarmin fields required by the activity search.
upperMaxDepthNoUpper bound of Garmin’s maximum-depth filter. Use a decimal string when the integer exceeds the safe JSON range.
activitySubTypeNoGarmin activity subtype filter.
excludeChildrenNoWhether Garmin should exclude child activities.
maxElapsedDurationNoMaximum elapsed-duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
minElapsedDurationNoMinimum elapsed-duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range.
excludedActivitySubTypeNoGarmin activity subtypes to exclude.

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
dataNoRequested Garmin record data, with credential, contact and internal-account fields removed; fields depend on the endpoint and device.
issuesNo
messageNo
outcomeNo
retryAfterNo
privacyNoticeNo
geekistMessageDeliveryNo
geekistOwnerMessageDeliveryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / leftLongitude
      Removed value: -{
      -  "description": "Left longitude of the geographic search bounds.",
      -  "type": "number"
      -}
    • removedInput schema / properties / lowerLatitude
      Removed value: -{
      -  "description": "Lower latitude of the geographic search bounds.",
      -  "type": "number"
      -}
    • removedInput schema / properties / rightLongitude
      Removed value: -{
      -  "description": "Right longitude of the geographic search bounds.",
      -  "type": "number"
      -}
    • removedInput schema / properties / upperLatitude
      Removed value: -{
      -  "description": "Upper latitude of the geographic search bounds.",
      -  "type": "number"
      -}
    • 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"
      +        }
      +      ]
      +    },
      +    "__schema1": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        },
      +        {
      +          "items": {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          "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"
      +    },
      +    "data": {
      +      "$ref": "#/$defs/__schema1",
      +      "description": "Requested Garmin record data, with credential, contact and internal-account fields removed; fields depend on the endpoint and device."
      +    },
      +    "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"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed32 schema fields changed
    • addedInput schema / properties / activitySubType / description
      Added value: +"Garmin activity subtype filter."
    • addedInput schema / properties / activityType / description
      Added value: +"Garmin activity type filter, such as running."
    • addedInput schema / properties / decoDive / description
      Added value: +"Garmin decompression-dive filter."
    • changedInput schema / properties / endDate / description
      Previous value: -"Garmin calendar date in YYYY-MM-DD format."New value: +"Last calendar date in YYYY-MM-DD format."
    • addedInput schema / properties / eventType / description
      Added value: +"Garmin event type filter."
    • addedInput schema / properties / excludeChildren / description
      Added value: +"Whether Garmin should exclude child activities."
    • addedInput schema / properties / excludedActivitySubType / description
      Added value: +"Garmin activity subtypes to exclude."
    • addedInput schema / properties / favorite / description
      Added value: +"Garmin favourite-status filter as an integer."
    • addedInput schema / properties / leftLongitude / description
      Added value: +"Left longitude of the geographic search bounds."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of records to request in the Garmin result page."
    • addedInput schema / properties / lowerLatitude / description
      Added value: +"Lower latitude of the geographic search bounds."
    • changedInput schema / properties / lowerMaxDepth / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Lower bound of Garmin’s maximum-depth filter. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / maxBottomTime / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Maximum dive bottom-time filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / maxDistance / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Maximum activity distance filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / maxDuration / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Maximum activity duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / maxElapsedDuration / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Maximum elapsed-duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / maxElevation / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Maximum activity elevation filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minAvgPower / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum average-power filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minBottomTime / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum dive bottom-time filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minDistance / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum activity distance filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minDuration / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum activity duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minElapsedDuration / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum elapsed-duration filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • changedInput schema / properties / minElevation / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Minimum activity elevation filter passed to Garmin. Use a decimal string when the integer exceeds the safe JSON range."
    • addedInput schema / properties / requiredField / description
      Added value: +"Garmin fields required by the activity search."
    • addedInput schema / properties / rightLongitude / description
      Added value: +"Right longitude of the geographic search bounds."
    • addedInput schema / properties / search / description
      Added value: +"Text to search in Garmin activities."
    • addedInput schema / properties / sortBy / description
      Added value: +"Garmin field used to sort results."
    • addedInput schema / properties / sortOrder / description
      Added value: +"Garmin sort direction, such as asc or desc."
    • addedInput schema / properties / start / description
      Added value: +"Zero-based starting offset for the Garmin result page."
    • changedInput schema / properties / startDate / description
      Previous value: -"Garmin calendar date in YYYY-MM-DD format."New value: +"First calendar date in YYYY-MM-DD format."
    • addedInput schema / properties / upperLatitude / description
      Added value: +"Upper latitude of the geographic search bounds."
    • changedInput schema / properties / upperMaxDepth / description
      Previous value: -"Integer. Use a decimal string when the value exceeds the safe JSON integer range."New value: +"Upper bound of Garmin’s maximum-depth filter. Use a decimal string when the integer exceeds the safe JSON range."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only annotations, it discloses third-party data handling (records forwarded, not persisted by Geekist), a privacy-policy obligation, and a per-response duty to surface serviceAnnouncements. These are operational behaviors an agent could not learn from the annotations or schema.

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?

Purpose and sibling routing are front-loaded in the first sentence, which is well structured. The trailing disclosure and announcement instructions are long but each carries a real obligation, so only minor trimming is possible.

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 and all 28 parameters are documented, so the description needn't explain returns. It covers selection guidance and disclosure duties; only units/semantics of the performance filters are left entirely to the schema, which is acceptable at this coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% across all 28 parameters, so the baseline is 3; the description adds a small amount by grouping filters into text/sport/date/performance families. It does not add units or format guidance beyond the schema, so it stays just above baseline.

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?

States a specific verb and resource ("Find Garmin activities") plus the filter families it accepts (text, sport, date, performance). It also implicitly distinguishes itself from garmin_list_activities by describing the latter as the simpler list for ordinary date-bounded reviews.

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

Usage Guidelines5/5

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

Explicitly names the alternative and the condition that selects it: targeted search or complex filtering here, ordinary recent/date-bounded reviews via the simpler activity list. No inference required.

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