Skip to main content
Glama

Find alternatives and progressions

get_exercise_relations
Read-only

For one of Splot's exercises, find what can stand in for it and where it sits in a progression. alternatives move the same way through the same main muscles, best first; with place, those the place has the kit for come first, atPlace says whether it does and lacks what is missing, a list inside being any one of those. comesAfter are its easier steps and leadsTo its harder ones; reps or seconds are what this exercise asks over three working sets before moving on, and null means 12 reps or 30 seconds. Use this to plan around a taken machine or a place's kit, and to pass alternatives in create_workout. Suggest a harder step only when the person asks or did what it asks.

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": {
      "exercise": "<exercise>"
    },
    "name": "get_exercise_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
placeNoA place id from list_places, so alternatives it has the kit for come first
exerciseYesAn exercise id exactly as list_exercises returned it

Output Schema

NameRequiredDescriptionDefault
leadsToYes
exerciseYes
comesAfterYes
alternativesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish a safe read-only, closed-world call. On top of that the description discloses ordering rules (best first, place-compatible first), the meaning of atPlace and its lacks list, and the default of 12 reps / 30 seconds when the target is null — all behavior not visible in the annotations.

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?

Purpose is front-loaded, but the middle is a dense run-on packing ordering, atPlace, comesAfter/leadsTo and rep defaults into one overloaded sentence. The content earns its place; the packaging makes it harder to parse than necessary.

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?

There is an output schema, so return values need not be spelled out, yet the description helpfully interprets the key fields. Combined with annotations covering safety, an agent has everything needed to call and interpret this correctly.

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 parameters are already documented. The description only echoes the place parameter's effect on ordering and gives no extra detail on the exercise id beyond what the schema says. Baseline 3 is appropriate.

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

Purpose5/5

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

States a concrete verb and resource: find substitutes and progression position for a given exercise. It is clearly distinct from list_exercises (which returns ids) and from create_workout (which consumes the output).

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

Usage Guidelines4/5

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

Gives explicit triggers: planning around a taken machine or a place's kit, and feeding alternatives into create_workout. It also adds a caution about when not to propose a harder step, though it never states a clean 'do not use this when...' boundary.

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