Skip to main content
Glama

Get a workout

get_workout
Read-onlyIdempotent

One workout in full: the heart rate trace (average bpm and how many readings, minute by minute from the start) and zones, and the exercises and sets and the route when they were shared.

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
idYesThe workout id from list_workouts.
clientNoFor a coach: a client id from list_clients, to read that client. Omitted: your own account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent, closed-world read, so the bar is lower; the description adds genuinely new context by disclosing what data comes back and, crucially, that exercises and route appear only "when they were shared." That conditional-presence note is real behavioral information an agent could not get from the annotations alone.

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?

A single sentence with no wasted words, and the key framing ("One workout in full") is front-loaded before the payload inventory. It is dense to the point of being a run-on list, but every clause names actual returned data.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 handles it reasonably by naming the trace, zones, and conditional route/exercises. However, it says nothing about volume limits or truncation for a minute-by-minute heart rate trace, and no guidance ties it back to list_workouts for the id it requires.

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%, so both the required workout id and the optional coach client id are already documented, including the id's origin from list_workouts. The description adds no parameter meaning beyond the schema, which is the correct baseline-3 outcome for fully described parameters.

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 gives a specific verb-plus-resource framing ("One workout in full") and enumerates the returned contents: heart rate trace, zones, exercises, sets, and route. It implicitly contrasts with the list-level sibling via "in full," but never names list_workouts or any alternative outright.

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?

Usage is only implied: an agent can infer this is the detail view to call after list_workouts, but the description states no explicit when-to-use or when-not-to-use conditions. The pointer to list_workouts lives in the schema's id description rather than in the tool description itself.

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.

Resources