Skip to main content
Glama

Look for reps in one run

ourpr_detect_reps
Read-onlyIdempotent

Whether one particular run was an interval session, and its reps.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "ourpr_detect_reps"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYesRun id from ourpr_list_runs.

Output Schema

NameRequiredDescriptionDefault
detectionYes

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 / detection / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered without the description. The description adds no behavioral context beyond the annotations — nothing about whether detection is heuristic, what happens for a non-interval run, or how confident the classification is. Since an output schema exists, return-value detail is not required, but the description still contributes essentially nothing beyond the annotations.

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?

One short sentence with no wasted words and the key concept (interval session detection) front-loaded. The phrasing is a noun clause rather than a verb phrase, which makes it slightly less crisp than it could be, but the size is appropriate.

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?

The tool is simple (one required parameter, output schema present, annotations rich), so the description does not need to explain return values or safety. However, it leaves the agent without routing guidance against the rep-related siblings, which is the main gap for a detection tool in this catalog.

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 coverage is 100% and the schema already documents activity_id as a run id from ourpr_list_runs. The description only reinforces the single-run scope ('one particular run'), adding no format, sourcing, or constraint detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 the specific resource (one particular run) and the specific outcome (whether it was an interval session, plus its reps), so an agent knows what it returns. It stops short of distinguishing this from sibling detection tools such as ourpr_rep_workouts or ourpr_run_laps, so it is clear but not differentiating.

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 or when-not-to-use guidance. The phrase 'one particular run' implies single-run scope, but nothing tells the agent why to choose this over ourpr_rep_workouts or ourpr_run_laps, and no prerequisites are stated.

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