Skip to main content
Glama

Next exercise

next_exercise
Idempotent

Return the next exercise of a practice run, worked out from the cards' memory and the run's answers so far, or the run's summary when it is over.

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": {
      "practice": "<practice>"
    },
    "name": "next_exercise"
  }
}

Input Schema

NameRequiredDescriptionDefault
practiceYesThe run's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Beyond the annotations, it explains that exercise selection depends on card memory and prior answers and reveals the terminal summary behavior. It does not clarify the stateful behavior suggested by readOnlyHint=false, such as whether fetching an exercise advances or otherwise changes the run, or describe error behavior.

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?

A single front-loaded sentence covers the purpose, selection inputs, and end-of-run behavior without repetition or filler. Although 'worked out from the cards' memory' is slightly opaque, every part of the sentence contributes useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter operation, the description supplies enough context for a basic call and covers both ongoing and completed runs. With no output schema, however, the limited detail about exercise or summary results, invalid or inactive runs, and possible state changes leaves moderate gaps.

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?

The sole practice parameter is already fully described in the schema as the run's id. The description provides useful run context but adds no identifier format, source, or validity constraints, so the high schema-coverage baseline applies.

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 clearly identifies the operation (returning the next exercise), the resource (a practice run), the adaptive selection basis, and the completed-run fallback. It does not explicitly distinguish the tool from siblings such as answer_exercise or next_step.

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 during an existing practice run is implied, and the description explicitly says a summary is returned when the run is over. It lacks sequencing guidance, prerequisites, and direction on when to use this tool rather than answering an exercise or using another run-navigation tool.

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.