Skip to main content
Glama

get_workout_by_id

Retrieve full steps and target details for a specific saved Garmin workout by its workout ID, so you can inspect or use the workout plan.

Instructions

Get full steps and target details for a specific saved workout by workoutId.

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": {
      "workoutId": "<workoutId>"
    },
    "name": "get_workout_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
workoutIdYesGarmin workout ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that the response includes 'full steps and target details,' which is useful return-content context, but it does not mention error behavior when a workoutId is missing or whether permissions are required.

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 a single, front-loaded sentence with no wasted wording. It states the resource, lookup key, and return scope efficiently.

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?

For a simple single-parameter read tool with no output schema, the description sufficiently explains what is returned ('full steps and target details') and how the workout is identified. Minor behavioral details such as failure cases are absent but not critical for calling it correctly.

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?

The schema has 100% description coverage for the single workoutId parameter and identifies it as a Garmin workout ID. The description confirms the parameter's role but adds no syntax, format, or edge-case detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: get a saved workout by workoutId, including full steps and target details. This distinguishes it reasonably well from siblings like download_workout or push_workout_to_device, though it does not explicitly name an alternative retrieval tool.

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

Usage Guidelines3/5

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

The usage is implied by 'specific saved workout by workoutId' and the return scope, but there is no explicit guidance on when to choose this versus download_workout or other workout-related siblings. No exclusions or prerequisites are stated.

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

Deploy Server

Other Tools