Skip to main content
Glama

read_workout

Read-only

Fetch one workout by id or date, returning each exercise with sets, weights, reps, RIR/RPE, notes, supersets, and volume so you can review or edit a session.

Instructions

One workout set by set, by id or by date, in the format write_update_workout takes back: each exercise with exerciseId, sets (weight, reps, done, rir and/or rpe, warmup, failure for a set taken to failure, max for a pyramid's Max set, drops for a drop set, clusters for rest-pause where reps is the total, left/right for a per-side set with each side's own rir/rpe, drops or clusters, sec for timed with side L/R for a hold done per side, min and speed in km/h for cardio with incline in %), note, superset, routineId; plus name, volume, bestWeight and weightMeans (a dumbbell weight logged per dumbbell: each, or both together: total) for reading, and other for fields openGym keeps that leap leaves alone. A workout from before ids has the id "YYYY-MM-DD|". A date with several workouts returns their ids to choose from.

Input Schema

NameRequiredDescriptionDefault
idNoWorkout id as read_workouts shows it (a workout from before ids: its day and start, "YYYY-MM-DD|<start>")
dateNoDate YYYY-MM-DD (the profile’s local calendar day)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: the fallback id format for pre-id workouts ('YYYY-MM-DD|<start>') and the multi-workout-per-date behavior of returning a list of ids. It stops short of full transparency only in not discussing volume/size limits of the returned payload.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded (purpose first, edge cases last) and each sentence carries information that no output schema supplies. But the first sentence is an extremely long multi-parenthetical run-on whose nested set-field inventory overwhelms the reader; the density hurts rather than helps scannability.

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 no output schema, the description correctly assumes the burden of describing the returned shape, and it does so thoroughly: exercise structure, set fields, workout-level fields (name, volume, bestWeight, weightMeans), and the openGym 'other' passthrough. The main gap is the absence of guidance on which sibling to call when a date returns multiple ids.

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%, so the schema already documents both `id` and `date`, including the 'YYYY-MM-DD|<start>' fallback and the local-calendar-day meaning of date. The description restates those same facts rather than adding new syntax or constraints, so the baseline 3 applies.

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 opening clause states a specific verb and resource ('One workout set by set') and the two retrieval keys ('by `id` or by `date`'), which clearly separates it from the plural sibling read_workouts. However, the purpose statement is buried under a dense pile of return-shape detail, and the sibling is never named explicitly, so a 5 is not warranted.

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

Usage Guidelines2/5

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

There is no explicit when-to-use/when-not guidance and no named alternative (e.g. read_workouts or read_exercise_history). The only routing hint is the implicit 'A date with several workouts returns their ids to choose from', which gestures at a follow-up call but never states the decision rule directly.

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