Skip to main content
Glama

List activities

get_activities
Read-only

List and filter Garmin activities as dense summaries—date, type, duration, distance, pace, HR, power—to review recent training, find an activity ID, or compare sessions.

Instructions

List workouts/activities (runs, rides, swims, strength...) as dense summaries: id, date, type, name, duration, distance, pace or speed, GAP, HR, power, NP, cadence, training load and Training Effect, temperature (if weather downloaded), event_type when tagged (e.g. race). Use for "what did I do last week", finding an activity id, or comparing sessions. For one activity in depth use get_activity; for weekly/monthly totals use get_period_summary.

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": "get_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, inclusive; default today
fromNoFirst day, inclusive; default no lower bound
nameNoPart of the activity name, any case, e.g. a route
paceNoAverage pace range per km, e.g. "4:45-5:30"
sortNoBy start time: desc newest first, asc oldest firstdesc
typeNoGarmin type key, e.g. running, trail_running, cycling, lap_swimming, strength_training; partial match. All keys: resource garmin://activity-types
limitNoActivities per page
cursorNonext_cursor from the previous page
event_typeNoOnly activities tagged with this event type, e.g. race
max_duration_minNoAt most this many minutes long
min_duration_minNoAt least this many minutes long

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • addedOutput schema / properties / data / properties / activities / items / properties / avg_pace_100m
      Added value: +{
      +  "type": "string"
      +}
  2. Changed7 schema fields changedv0.6.2
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / from / description
      Added value: +"First day, inclusive; default no lower bound"
    • addedInput schema / properties / limit / description
      Added value: +"Activities per page"
    • addedInput schema / properties / max_duration_min / description
      Added value: +"At most this many minutes long"
    • addedInput schema / properties / min_duration_min / description
      Added value: +"At least this many minutes long"
    • addedInput schema / properties / sort / description
      Added value: +"By start time: desc newest first, asc oldest first"
    • addedInput schema / properties / to / description
      Added value: +"Last day, inclusive; default today"
  3. First observedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuine context beyond that, namely that fields like temperature are conditional on weather having been downloaded and event_type only appears when tagged. It does not mention pagination behavior or the default page size, but that detail is carried by the schema.

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?

Three tight sentences: identity plus return shape first, then use cases, then sibling disambiguation. The long field enumeration is dense but front-loaded and functional rather than padding.

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 11 optional params, full schema coverage, an output schema, and readOnly annotations, the definition supplies the routing and context an agent needs. Minor redundancy in restating output fields the output schema already covers, and no explicit note on paging defaults, but nothing essential is 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 100% and every parameter is documented inline (date ranges, pace range syntax, sort direction, type keys via garmin://activity-types, cursor, limit). The description only lightly echoes filtering concepts such as tagged event_type and adds no syntax beyond what the schema already provides, so baseline 3 applies.

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 ('List workouts/activities ... as dense summaries') and immediately enumerates the summary shape (id, date, type, duration, distance, GAP, HR, power, NP, training load, Training Effect), so an agent knows exactly what comes back and how it differs from get_activity.

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?

Gives concrete use cases ('what did I do last week', finding an activity id, comparing sessions) and explicitly routes to alternatives: get_activity for a single activity in depth, get_period_summary for weekly/monthly totals. The when/when-not decision is fully specified.

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