Skip to main content
Glama
openGym MCP Bridge

openGym MCP Bridge

by Nirvana-Z777

get_training_suggestion

Read-onlyIdempotent

Suggests the next routine target from measured work, RIR, and private recovery data without changing the plan.

Instructions

Suggest the next routine target using measured work, RIR and private recovery. This does not change the plan.

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": {
      "routine_id": "<routine_id>",
      "exercise_index": "<exercise_index>"
    },
    "name": "get_training_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
routine_idYes
exercise_indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description's 'does not change the plan' is consistent with those hints but largely restates them, and it adds little beyond naming the input signals — nothing on failure modes for an out-of-range exercise_index or how the suggestion is derived.

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?

Two short sentences, front-loaded with the action and followed by the non-mutation caveat; nothing is padded. It is arguably too terse for the amount of undocumented parameter and return behavior, but that is an omission issue rather than verbosity.

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?

There is no output schema, so the description should indicate what a 'suggestion' contains (target weight, reps, set count, rationale), and it does not. Combined with zero parameter documentation, the definition leaves the agent unable to predict either input semantics or response shape.

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?

Schema description coverage is 0% and both parameters are required, yet the description never explains routine_id or exercise_index, nor the 0-10000 index bound relative to a routine's exercise list. With no compensating text, an agent must guess what the index refers to.

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?

Names a specific verb and object ('Suggest the next routine target') plus the signals it draws on ('measured work, RIR and private recovery'), so the agent knows this is a recommendation read rather than a plan write. It does not, however, distinguish itself from the sibling 'preview_training_suggestion', whose name suggests an overlapping purpose.

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?

There is no explicit when-to-use statement, no prerequisites, and no routing to alternatives such as preview_training_suggestion or get_today_plan. The only guidance-like clause, 'This does not change the plan', tells the agent what the tool will not do, not when to pick it.

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