Skip to main content
Glama

Find rep workouts across the history

ourpr_rep_workouts
Read-onlyIdempotent

Interval sessions found across the history, with reps and distances. Detection is conservative, so a session it misses is still in ourpr_list_runs.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many recent activities to read.

Output Schema

NameRequiredDescriptionDefault
scannedYes
workoutsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / workouts / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already carry the read-only, idempotent, non-destructive, open-world profile, so the description's job is to add nuance. It does: detection is conservative and can produce false negatives, so absence of a result is not evidence of absence — a genuinely useful caveat an agent would otherwise get wrong. Return content is covered by the output schema.

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?

One front-loaded sentence plus a short caveat sentence; nothing redundant and the fallback guidance is placed right where the agent needs it.

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 an output schema, rich annotations, and a fully described single parameter, the definition supplies the one non-obvious behavioral fact (conservative detection) and the escape hatch. Only a note on cost or scan window behaviour would improve it.

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?

There is a single parameter (limit) already fully documented in the schema at 100% coverage, including range and default. The description adds no meaning about how the window is applied or how it interacts with the history scan, so the baseline of 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 names a specific resource (interval/rep sessions) and states what comes back (reps and distances), which is more precise than the title's 'Find rep workouts'. It stops short of an explicit verb, but the object of the tool is unambiguous.

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 sets expectations for when this tool applies (structured rep/interval detection) and explicitly routes the agent to ourpr_list_runs when a session is missed, which is a real alternative. It does not state outright when not to call this tool, e.g. for non-interval runs.

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