Skip to main content
Glama

List workouts

list_workouts
Read-only

Retrieve recent Suunto workouts newest-first with date-range filters and auto-pagination, returning distance, duration, heart rate, and ascent data for training analysis.

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 (kilocalories, 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. Each item also embeds SummaryExtension (including apps[]: the SuuntoPlus guide that ran, if any) and IntensityExtension (HR-zone times). Use get_workout_laps for the lap table of a single workout. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
toNoPreferred name of `until`: ISO 8601 upper bound on startTime (inclusive). Same meaning; both given and different is an error.
fromNoPreferred name of `since`: ISO 8601 lower bound on startTime (inclusive). Same meaning; both given and different is an error.
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. Same as `from` (preferred); both given and different is an error.
untilNoISO 8601 upper bound on startTime (inclusive). Omit to include workouts up to the present. Combine with since to target a specific window. Same as `to` (preferred); both given and different is an error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.3.0
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Preferred name of `since`: ISO 8601 lower bound on startTime (inclusive). Same meaning; both given and different is an error.",
      +  "examples": [
      +    "2026-04-01T00:00:00Z"
      +  ],
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedInput schema / properties / since / description
      Previous 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."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. Same as `from` (preferred); both given and different is an error."
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Preferred name of `until`: ISO 8601 upper bound on startTime (inclusive). Same meaning; both given and different is an error.",
      +  "examples": [
      +    "2026-04-30T23:59:59Z"
      +  ],
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedInput schema / properties / until / description
      Previous value: -"ISO 8601 upper bound on startTime (inclusive). Omit to include workouts up to the present. Combine with since to target a specific window."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. Same as `to` (preferred); both given and different is an error."
  2. 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."
  3. 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"
      +]
  4. 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"
  5. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely new behavior: newest-first ordering and automatic offset-based pagination that continues until limit is reached or workouts are exhausted. It does not describe failure modes or rate limits, but it goes well beyond restating the safety profile.

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 ordering are front-loaded, and every clause carries concrete information (field units, alias pitfalls, sibling routing) with no filler. It is a dense run-on paragraph, however, and the field-by-field enumeration could be easier to scan if structured.

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, the description carries the return-value burden and does so thoroughly: workoutKey, activityId, startTime, time/distance/ascent/descent units, energyConsumption, hrdata nuances, plus SummaryExtension and IntensityExtension. Combined with pagination and sibling routing, an agent has everything needed to call and interpret it.

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% and the schema already explains from/to as preferred aliases of since/until and the 1–1000 limit range, so the description adds little on that front. The one useful addition is the note that pagination is automatic and since/until do not affect page size, which clarifies how limit interacts with the date bounds.

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?

Opens with a specific verb+resource+scope: returns the user's recent Suunto workouts, newest-first, via Workout API v3. It immediately distinguishes itself from get_workout_fit (sport name) and get_workout_laps (lap table), so an agent can route without opening another schema.

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 explicit conditional routing to two siblings: use get_workout_fit when a plain-language sport name is needed, and get_workout_laps for a single workout's lap table. It lacks any explicit 'when not to use this' or guidance versus list-style siblings such as list_daily_activity, so it stops short of full when/when-not coverage.

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