Skip to main content
Glama

Swaps for an exercise

list_alternatives
Read-onlyIdempotent

Use this when the person wants a different exercise in a session (a busy machine, a sore joint, missing kit). Lists the swaps that train the same movement in that slot and week, best first, by sessionId and slot. Nothing changes; swap with swap_exercise. Do not use to explain how an exercise is done; use show_exercise.

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": {
      "sessionId": "<sessionId>",
      "slot": "<slot>"
    },
    "name": "list_alternatives"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYesThe exercise's slot in that session, from get_today or get_session.
sessionIdYesThe session's id, from get_today or get_schedule.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sessionId / description
      Added value: +"The session's id, from get_today or get_schedule."
    • addedInput schema / properties / slot / description
      Added value: +"The exercise's slot in that session, from get_today or get_session."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description still adds useful behavior by stating "Nothing changes" and by pairing the read with its follow-up tool ("swap with swap_exercise") and the ordering of results. It does not describe result volume or whether the list can be empty, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the trigger and scope, then the non-mutation note, then the negative routing. No filler and no restatement of the title.

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?

For a two-parameter read tool with an output schema, full annotation coverage and fully described parameters, the description supplies what structured fields cannot: when to reach for it, when not to, and which sibling performs the mutation.

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 in-schema, making 3 the baseline. The description adds only light meaning — that slot is the exercise's position in that session and results are scoped to that slot and week — but no format or edge-case guidance beyond the schema.

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?

Names a specific verb and resource ("Lists the swaps that train the same movement in that slot and week") and states scope and ordering ("best first, by sessionId and slot"). It is clearly separable from swap_exercise (mutation) and show_exercise (how-to), so an agent can pick it without opening another schema.

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 trigger with concrete scenarios ("busy machine, sore joint, missing kit"), an explicit exclusion ("Do not use to explain how an exercise is done"), and names the correct alternative for that case ("use show_exercise"). It also routes the actual swap action to swap_exercise, leaving nothing to inference.

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.