Skip to main content
Glama

Exercise history

exercise_history
Read-onlyIdempotent

How one exercise has gone over time, as the app's exercise screen shows it: every workout it was in, newest first, with the sets (weight kg, reps, RPE, time s, distance m, and reps_left — how many more reps the set had in it, which is how the app asks effort), the best set (the heaviest, then most reps) and its weight in kg (top_weight_kg), volume, mean RPE, hard sets (within three reps of failure) and whether it was a PR (heavier, or the same weight for more reps). Nothing is estimated. For "how is my bench press improving", read top_weight_kg and best_set over time. Needs the sets category.

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": "exercise_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, inclusive.
fromNoFirst day, inclusive. Omitted: all history.
clientNoFor a coach: a client id from list_clients, to read that client. Omitted: your own account.
exerciseYesAn id or name from list_exercises.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial context beyond them: newest-first ordering, the exact composition of each set field, definitions of best_set, hard sets, and PR, plus the assurance that "Nothing is estimated." It also discloses a dependency on the sets category, which is real operational information not present in structured fields.

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?

It is a single dense paragraph, front-loaded with the core purpose before the field-level detail, and nearly every clause carries information an agent needs given there is no output schema. It reads as one long run-on sentence, which costs some scannability.

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 output schema, the description properly takes on the burden of explaining return fields and their computation rules, which it does thoroughly. Minor gaps remain around behavior when no sets exist for the exercise and whether results are truncated, but nothing essential to a correct call is missing.

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 description coverage is 100%, so from/to, client, and exercise are already documented in the schema, including the 'Omitted: all history' default. The description adds no parameter-level meaning of its own beyond the implied exercise focus; baseline 3 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 states a specific resource and scope: 'How one exercise has gone over time... every workout it was in, newest first,' with the exact per-set and per-workout aggregates returned. It is clearly distinguishable from catalog/list tools, but it never names a sibling such as get_workout to disambiguate a single-workout read from a longitudinal history read.

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?

It gives a concrete use case ("For 'how is my bench press improving', read top_weight_kg and best_set over time") and a prerequisite ("Needs the sets category"). It offers no explicit exclusions or alternatives, so an agent must infer that per-workout detail belongs in get_workout rather than here.

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