Skip to main content
Glama

Get one trail system

ourpr_get_trail_system
Read-onlyIdempotent

Read one trail system: how many miles of path it holds, how many ways were mapped, where it sits, and where the measurement came from.

Args:

  • slug (string): From ourpr_list_trail_systems. Example: 'trinity-trails'.

  • response_format ('markdown' | 'json'): Default 'markdown'.

Returns: { "slug": string, "name": string, "region": string | null, "total_mi": number, // every branch summed "mapped_ways": number | null, // OpenStreetMap ways in the network "source": string | null, // how the network and its coverage were built "bbox": { "min_lat": number, "min_lng": number, "max_lat": number, "max_lng": number } | null, "page_url": string }

total_mi counts the whole network. It is not a distance anyone runs in one go.

Examples:

  • "How many miles of trail are in Fort Worth?" -> slug="trinity-trails"

  • "Where does the network reach?" -> read bbox

Error handling:

  • Returns the slug list suggestion when the slug is unknown.

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": {
      "slug": "<slug>"
    },
    "name": "ourpr_get_trail_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe trail system's slug. Example: 'trinity-trails'.
response_formatNoOutput format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation.markdown

Output Schema

NameRequiredDescriptionDefault
bboxYes
nameYes
slugYes
regionYes
sourceYes
page_urlYes
total_miYes
mapped_waysYes

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. First observed

TDQS

A4.5/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, openWorld), yet the description still adds real semantic context: total_mi is the summed network, explicitly "not a distance anyone runs in one go," and it documents the unknown-slug error path returning a slug list suggestion. The meaning of source, mapped_ways, and bbox as OpenStreetMap-derived fields is disclosed rather than left to guesswork.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, args, examples, and error handling are front-loaded and easy to scan, but the multi-line "Returns" block restates the entire response shape even though a full output schema is supplied. The Args section likewise re-lists fields already documented in the schema, so a meaningful share of the text is duplication rather than value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool this covers everything an agent needs: input provenance, output field meanings, a misuse warning about the mileage figure, worked examples, and the failure mode for an unknown slug. Nothing required to call it correctly or interpret the result is missing.

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 would be 3; the description goes beyond it by naming the upstream tool that supplies slug and flagging the default response_format. The value added is workflow provenance rather than new format or constraint detail.

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?

"Read one trail system" gives a specific verb and singular resource, and the following clause enumerates exactly what comes back (mileage, mapped ways, location, provenance). This clearly separates it from the sibling ourpr_list_trail_systems, which returns many, without the agent needing to open either schema.

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 routes the agent to the producer of the required input ("slug: From ourpr_list_trail_systems") and supplies two concrete question-to-slug mappings showing when this tool is the right call. It stops short of explicit exclusions such as when to prefer ourpr_get_course or ourpr_get_course_route instead of a trail system.

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