Skip to main content
Glama

Get a workout

trainrec_get_workout
Read-only

One workout with every set, in the person's unit, and its version.

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": "trainrec_get_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
unitNoUnit for every weight in this call. Defaults to the person's own unit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/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 that the response includes every set and a version value, which is genuinely useful return-shape context. It does not say what happens for an unknown or inaccessible id, nor what the version represents, so gaps remain for a read tool with no output schema.

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 a single sentence fragment with no filler, but the terseness costs clarity: "and its version" is ambiguous (a version number in the payload? a concurrency token?). Slight expansion would earn its place here.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool the bar is low, but with no output schema the description should convey the return shape more concretely than "every set" and the unexplained "version." It also leaves the required id parameter entirely undefined.

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 50%: the unit enum is documented in the schema, while id is not. The description partially compensates by noting results come back "in the person's unit," implying the unit parameter governs all returned weights and defaults to the person's preference, but it adds nothing about id format or the version field's meaning.

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

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase "One workout with every set" does identify the resource and its scope (single workout, all sets included), which separates it from a list operation. But there is no verb and no explicit contrast with siblings like trainrec_list_workouts or trainrec_exercise_history, leaving the agent to infer retrieval semantics from the tool name alone.

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?

No when-to-use or when-not-to-use guidance is offered. An agent gets no instruction about choosing this over trainrec_list_workouts when it already has an id, or over trainrec_exercise_history when it wants cross-workout data; the singular noun is the only hint.

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