Skip to main content
Glama

list_workouts

Fetch recent Suunto workouts in reverse chronological order, with metrics such as distance, ascent, energy, and heart rate. Use date filters or a limit to narrow results.

Instructions

Returns the user's recent Suunto workouts ordered newest-first (Workout API v3). Each item: workoutKey (string id), activityId (numeric activity code — there is no separate plain-language 'sport' field; use get_workout_fit for the parsed FIT file's session.sport if a sport name is needed), startTime (epoch ms), totalTime (s), totalDistance (m), totalAscent (m), totalDescent (m), energyConsumption (joules, not 'totalCalories'), hrdata: { avg, max } (workout heart rate — hrdata.max is the account's overall max HR, use hrdata.workoutMaxHR for this specific workout's peak). Auto-paginates with offset-based pagination until limit is reached or no more workouts exist. Use get_workout for full detail (laps, HR zones, sport-specific metrics) on a single result. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of workouts to return (1–1000). Defaults to 25. Pagination is automatic across API pages; set to 1 for the single most-recent workout.
sinceNoISO 8601 lower bound on startTime (inclusive). Filters on workout start time; omit for all time. Pagination is automatic so since does not affect page size.
untilNoISO 8601 upper bound on startTime (inclusive). Omit to include workouts up to the present. Combine with since to target a specific window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.9.2
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of workouts to return (1–1000). Defaults to 25."New value: +"Maximum number of workouts to return (1–1000). Defaults to 25. Pagination is automatic across API pages; set to 1 for the single most-recent workout."
    • changedInput schema / properties / since / description
      Previous value: -"ISO 8601 lower bound on startTime (inclusive). Example: 2026-04-01T00:00:00Z."New value: +"ISO 8601 lower bound on startTime (inclusive). Filters on workout start time; omit for all time. Pagination is automatic so since does not affect page size."
    • changedInput schema / properties / until / description
      Previous value: -"ISO 8601 upper bound on startTime (inclusive)."New value: +"ISO 8601 upper bound on startTime (inclusive). Omit to include workouts up to the present. Combine with since to target a specific window."
  2. Changed2 schema fields changedv0.9.1
    • addedInput schema / properties / since / examples
      Added value: +[
      +  "2026-04-01T00:00:00Z"
      +]
    • addedInput schema / properties / until / examples
      Added value: +[
      +  "2026-04-30T23:59:59Z"
      +]
  3. Changed8 schema fields changedv0.9.0
    • changedInput schema / properties / limit / description
      Previous value: -"Max workouts to return."New value: +"Maximum number of workouts to return (1–1000). Defaults to 25."
    • addedInput schema / properties / limit / maximum
      Added value: +1000
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / since / description
      Previous value: -"ISO 8601 datetime — only workouts on/after this time."New value: +"ISO 8601 lower bound on startTime (inclusive). Example: 2026-04-01T00:00:00Z."
    • addedInput schema / properties / since / format
      Added value: +"date-time"
    • changedInput schema / properties / until / description
      Previous value: -"ISO 8601 datetime — only workouts on/before this time."New value: +"ISO 8601 upper bound on startTime (inclusive)."
    • addedInput schema / properties / until / format
      Added value: +"date-time"
  4. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden — and it delivers. It declares read-only status, documents newest-first ordering, discloses automatic offset-based pagination, and adds critical field-level caveats: activityId is numeric with no plain-language sport field, energyConsumption is in joules not 'totalCalories', and hrdata.max is the account overall max HR rather than the workout peak (hrdata.workoutMaxHR). These are exactly the behaviors that would cause silent data misinterpretation if omitted.

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?

The description is long (~130 words) but every clause earns its place: field enumeration with units, three disambiguation caveats that prevent wrong data interpretation, sibling routing, pagination semantics, and a read-only declaration. The core purpose is front-loaded in the first sentence, and the density is justified because each caveat prevents a distinct class of agent error. Nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description must document the return contract itself — and it does, listing all response fields with units (workoutKey, activityId, startTime, totalTime, totalDistance, totalAscent, totalDescent, energyConsumption, hrdata avg/max/workoutMaxHR). It covers pagination, ordering, read-only safety, and directs to siblings for missing detail. The only minor blemish is listing hrdata as '{ avg, max }' before referencing workoutMaxHR, but the caveat text resolves it; nothing critical is missing for correct invocation.

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%, so the baseline is 3 and the schema already documents limit/since/until thoroughly. The description adds marginal but real value by explaining the offset-based pagination mechanism and its termination condition ('until limit is reached or no more workouts exist'), which clarifies how limit interacts with paging beyond the schema's 'Pagination is automatic' note. This nudges it above baseline without the description carrying the parameter documentation burden.

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?

The opening sentence names a specific verb, resource, and scope: 'Returns the user's recent Suunto workouts ordered newest-first (Workout API v3).' It goes further than most by enumerating the exact response fields, which makes the tool unmistakable, and it explicitly distinguishes itself from get_workout (full detail on a single result) and get_workout_fit (sport name lookup). An agent could not confuse this with a sibling.

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?

The description routes the agent to alternatives under specific conditions: 'use get_workout_fit for the parsed FIT file's session.sport if a sport name is needed' and 'Use get_workout for full detail (laps, HR zones, sport-specific metrics) on a single result.' It also explains when pagination stops ('until limit is reached or no more workouts exist'), giving the agent a clear decision procedure for list vs. detail calls.

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