Skip to main content
Glama

Roarer

Get next workout

get_next_workout
Read-onlyIdempotent

Returns the next workout of the active program with the planned sets, repetitions and weight for each exercise and the result from the last time the user did it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_next_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
nameNo
programNo
exercisesNo
has_programYes
in_progressNo
training_idNo
week_numberNo
weight_unitYes
training_numberNo
progress_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is fully covered. The description adds useful scope (it operates on the *active* program) and discloses that last-performance results are included. It omits behavioral edge cases — what happens with no active program, no upcoming workout, or no prior history — which matter for an agent interpreting the result.

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?

A single front-loaded sentence that leads with the return value and then details the payload; every clause carries information. It is dense but not padded, though it could be split for readability.

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?

With no parameters, full annotation coverage, and an output schema handling return values, the description only needs to convey purpose and scope — which it does. The main residual gap is the absence of any note on behavior when no active program or next workout exists.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4 and there is nothing the description needs to disambiguate. No parameter explanation is required or missing.

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 names a specific verb and resource ("Returns the next workout of the active program") and enumerates the payload (planned sets, reps, weight, plus last-time result), so the agent knows exactly what it gets. It stops short of explicitly distinguishing itself from the sibling get_workout, which likely fetches a specific workout by id.

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 only implied through the phrase "next workout of the active program" — an agent can infer this is the default 'what should I do now' call. There is no explicit when-to-use/when-not guidance and no routing to alternatives such as get_workout or get_exercise_history.

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