Skip to main content
Glama

get_workout

Read-onlyIdempotent

Full detail of one workout session: exercises, sets, reps, weights, superset groupings, heart points, notes, NSI scoring at every grain. use: detailed questions about a past workout, reviewing training before recommendations, confirming what was logged, comparing a session to population strength standards.

NSI: header = session NSI/rating. per exercise = NSI (max set NSI), rating, est. 1RM, and the population_1rm_lb/population_reps benchmark it was measured against. per set = NSI and est. 1RM, showing which set drove the exercise score. EQUIPMENT: per exercise when every set shares a tag, else per set; missing = untagged. wrong or missing tag on a dumbbell exercise silently halves or doubles its NSI: fix it with update_workout's set_updates or add_exercises equipment field. session_id: reuse an ID returned by a workout tool; unknown: list_workouts. Never guess.

SAVED WORKOUTS: saved_workout_id reads a reusable Saved Workout prescription. Never combine it with session_id/session_date.

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

Input Schema

NameRequiredDescriptionDefault
session_idYesSession ID returned by a workout tool.
saved_workout_idNoSaved Workout ID from list_workouts(saved_workouts=true); returns that prescription instead of a completed session.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / saved_workout_id / description
      Previous value: -"Saved Workout ID from list_workouts(saved_workouts=true). When present, returns the reusable prescription instead of a completed workout session."New value: +"Saved Workout ID from list_workouts(saved_workouts=true); returns that prescription instead of a completed session."
  2. Changed1 schema field changed
    • changedInput schema / properties / session_id / description
      Previous value: -"Session ID from list_workouts. Required."New value: +"Session ID returned by a workout tool."
  3. Changed1 schema field changed
    • addedInput schema / properties / saved_workout_id
      Added value: +{
      +  "description": "Saved Workout ID from list_workouts(saved_workouts=true). When present, returns the reusable prescription instead of a completed workout session.",
      +  "type": "integer"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, covering the safety profile. The description adds genuinely useful behavior beyond that: the equipment-tag gotcha that silently halves or doubles an exercise's NSI (with the fix path via update_workout set_updates or add_exercises equipment), and the rule that saved_workout_id must never be combined with session_id/session_date. It does not describe output format or size/pagination behavior.

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?

Front-loads purpose in the first line, then uses labeled blocks (use, NSI, EQUIPMENT, session_id, SAVED WORKOUTS) so an agent can scan to the relevant section. Dense but nearly every clause carries operational information; the per-grain NSI recap is the one portion that borders on output documentation already covered by the output schema.

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?

An output schema exists, so return shape need not be explained, yet the description still tells the agent how to interpret the NSI/rating/1RM fields at each grain. Combined with the ID-resolution routing and the saved-workout exclusivity rule, nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 is the floor, but the description goes further: session_id must be reused from a prior workout tool and never guessed, and saved_workout_id reads a reusable prescription and is mutually exclusive with session_id/session_date. Those are usage constraints the schema does not encode.

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?

States a specific verb+resource ('Full detail of one workout session') and enumerates what's included: exercises, sets, reps, weights, superset groupings, heart points, notes, NSI. 'Full detail' implicitly distinguishes it from lighter-weight siblings, but no sibling such as show_workout is named to make the contrast explicit.

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?

Gives an explicit 'use:' list of four concrete situations (detailed questions, pre-recommendation review, confirming what was logged, population-standards comparison). Also routes the agent when session_id is unknown ('let list_workouts resolve it; never guess') and states the saved_workout_id exclusivity rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.