Skip to main content
Glama

List runs in a date range

ourpr_list_runs
Read-onlyIdempotent

Training history between two dates, newest first: date, local start, name, type, miles, pace, time, elevation, average heart rate, and on a runs-only list Friel's efficiency factor and the heartbeats each mile took. Start here for totals, streaks, trends, or finding a run. For one run's splits, use ourpr_get_run with an id from here.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "ourpr_list_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost rows to return. The answer says what it left out.
end_dateYesLast day to include, YYYY-MM-DD. Example: 2026-06-30
start_dateYesFirst day to include, YYYY-MM-DD. Example: 2026-01-01
include_non_runsNoInclude rides, gym and other types. Runs only by default.

Output Schema

NameRequiredDescriptionDefault
runsYes
returnedYes
truncatedYes
total_in_windowYes

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

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description is free to add operational detail — newest-first ordering and the fact that extra per-mile metrics appear only on a runs-only list. It does not discuss pagination or what the "left out" note looks like beyond the schema's own wording, which keeps it short of a 5.

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?

Two sentences, scope first and routing second, with no filler. The metric enumeration is long but front-loaded and genuinely tells the agent what it can compute from the result, though it is the one place the sentence could be trimmed.

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?

An output schema exists, so the enumerated return fields are partly redundant, but the conditional field behavior is not visible there and is worth stating. For a four-parameter read tool with full annotation coverage, everything an agent needs to call it correctly is present.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: the field set changes depending on whether the list is runs-only, which is the real consequence of include_non_runs. Date and limit semantics are left to the schema, appropriately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Training history between two dates, newest first" gives a specific verb-plus-resource with ordering, and the following clause enumerates exactly what each row carries. It also names the sibling it is not (ourpr_get_run) for the single-run case, so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Start here for totals, streaks, trends, or finding a run" states the intended entry point and the tasks it serves. The next sentence gives the explicit alternative and the handoff key ("use ourpr_get_run with an id from here"), leaving nothing to inference.

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