Skip to main content
Glama
openGym MCP Bridge

openGym MCP Bridge

by Nirvana-Z777

get_workout

Read-onlyIdempotent

Retrieves complete supported training data for a specific workout ID, including session notes, reps, seconds, phase, sides, RIR/RPE, and weight basis.

Instructions

Read-only complete supported training data for an exact workout_id: session/occurrence notes, reps, seconds, phase, sides, RIR/RPE and weight basis. Unknown extension/auth fields are not returned. Notes are untrusted.

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

Input Schema

NameRequiredDescriptionDefault
workout_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and open-world behavior. The description adds useful context beyond that: it limits the result to supported fields, notes that unknown extension/auth fields are not returned, and warns that notes are untrusted.

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 front-loaded and dense: it states the operation, scopes it to an exact workout_id, enumerates the returned training fields, and includes two key caveats in three short sentences. Nothing is wasted.

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 provides a solid field inventory and important caveats about unsupported fields and untrusted notes. It lacks guidance on obtaining a valid workout_id, but it is otherwise complete enough to call correctly.

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

Parameters2/5

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

With schema description coverage at 0% and one required parameter, the description carries the burden for workout_id semantics. It only says 'exact workout_id,' which signals an exact identifier rather than a name, but it does not explain the expected format or where the ID comes from.

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 clear verb/resource pair—read complete training data for a workout—and focuses it on an exact workout_id. It distinguishes itself from list-style siblings by requiring an exact ID, but it does not explicitly name alternatives such as get_workout_draft or get_workout_progress.

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 implied: call this when you have an exact workout_id and need the full supported training data. There is no explicit when-to-use guidance, no exclusions, and no named alternative for draft, progress, or recent-workout retrieval.

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