Skip to main content
Glama

Find runs over comparable ground

ourpr_similar_terrain
Read-onlyIdempotent

Stretches of past runs matching a distance and climb — what the runner has already done that resembles a race they are training for.

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": {
      "miles": "<miles>",
      "gain_ft": "<gain_ft>"
    },
    "name": "ourpr_similar_terrain"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return.
milesYesTarget distance in miles.
gain_ftYesTarget climb in feet.
tolerance_ftNoClimb tolerance, feet.

Output Schema

NameRequiredDescriptionDefault
matchesYes
scannedYes

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

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds one genuinely useful behavioral hint — results are 'stretches' of runs rather than whole runs — but says nothing about how matching tolerance is applied, how results are ranked, or how the default limit bounds the output.

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?

A single tight sentence with the resource and criteria up front and the use case trailing. No filler, though the phrasing 'Stretches of past runs' delays the core action slightly.

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?

An output schema exists, so return shape need not be explained, and annotations cover safety. For a filtering/matching tool with a tolerance parameter and a 25-item cap, the description is adequate but leaves the matching semantics (how close is close enough) unaddressed.

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% with all four parameters documented, including units and ranges, so the baseline is 3. The description reinforces the two required parameters (distance and climb) but adds no meaning for tolerance_ft or limit beyond what the schema already states.

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 the resource (stretches of past runs) and the matching criteria (distance and climb), plus the intent (comparing against a target race). It stops short of a crisp verb and never names a sibling such as ourpr_list_runs or ourpr_get_course_terrain, so differentiation is left to the reader.

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 is only implied through the framing 'what the runner has already done that resembles a race they are training for,' which does convey a race-prep scenario. There is no explicit when-to-use versus ourpr_list_runs, no stated exclusions, and no prerequisites.

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