Skip to main content
Glama

Get a planned workout

get_workout
Read-only

Show the readable steps, targets, and estimated duration/distance of a saved Garmin workout so you can review a planned session before changing or scheduling it.

Instructions

Steps of one saved workout from the Garmin library in readable form: name, sport, description and one line per step (warm-up, repeats, duration or distance, target in pace/HR/power/cadence), plus estimated duration and distance. Use it to show what a planned session contains, or before changing it with create_workout; to find workouts or what is on the calendar use list_workouts. An id that no longer exists in Garmin Connect returns a NOT_FOUND error.

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": {
      "id": "<id>"
    },
    "name": "get_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWorkout id from list_workouts or workout_id from get_activity

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.2
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / id / description
      Added value: +"Workout id from list_workouts or workout_id from get_activity"
  2. First observedv0.6.0

TDQS

A4.5/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 genuinely useful behavior: the readable rendering of steps and targets, and the NOT_FOUND error for stale ids.

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: content first, usage second, error behavior last. Every sentence carries distinct information with no repetition of structured fields.

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 an output schema handling return values and annotations covering safety, the description supplies the remaining context an agent needs: rendered content shape, selection guidance, and failure mode.

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 single id parameter is fully documented in the schema, including where to obtain it. The description adds no further parameter semantics, so the baseline of 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?

The description states a specific verb and resource — reading the steps of one saved workout from the Garmin library — and explicitly distinguishes itself from list_workouts and create_workout.

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?

It names the two concrete use cases (displaying a planned session, reading before modifying with create_workout) and routes discovery/calendar queries to list_workouts.

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