Skip to main content
Glama

generate_route

Generate an MTB or road cycling route on real trails/roads from a start point and distance, save it as GPX, and return summary and warnings.

Instructions

Generate an MTB or road cycling route on real trails/roads, save it as GPX and return the summary and warnings.

Takes 10 to 60 seconds (it evaluates several candidates and picks the best one).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd point if the route is not a loop
viaNoPlaces the route must pass through, in order (names or 'lat,lon')
loopNoReturn to the start point
nameNoRoute name (optional)
seedNoSeed to repeat the same route; change it for an alternative
startYesStart location: place name ('El Papiol, Barcelona') or 'lat,lon'
trail_typeNotracks = wide, non-technical dirt tracks; mixed = general MTB; singletrack = more singletrack; road = road bike, paved roads with little trafficmixed
distance_kmYesApproximate distance in km
max_climb_mNoMaximum desired climbing in metres

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses a file side effect (saves a GPX), the return payload (summary and warnings), a latency range, and non-determinism ('evaluates several candidates and picks the best one'). It omits auth/permission needs and whether an existing GPX is overwritten, but the disclosed behavior goes well beyond the name.

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?

Two sentences, zero filler. The core capability is front-loaded and the timing advisory is correctly placed as a secondary parenthetical so an agent can decide quickly whether to call 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?

An output schema exists, so return values needn't be enumerated, though the description helpfully notes summary and warnings. With all 9 parameters documented in the schema and latency plus side effects covered, an agent has what it needs; only auth/overwrite behavior is 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% across all 9 parameters, so the schema already documents start/end/via/seed/trail_type semantics fully. The description's mention of MTB vs road maps loosely onto the trail_type enum but adds no syntax or format detail beyond the schema, 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?

States a specific verb and resource plus the full action chain: generate a cycling route, save it as GPX, return summary and warnings. The generate-vs-list distinction against the sole sibling list_routes is implicit rather than named, so it falls just short of a 5.

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?

No explicit when-to-use or when-not-to-use guidance, and the sibling list_routes is never referenced as an alternative. The stated 10-60 second runtime implicitly signals this is an expensive operation to reserve for actual route creation, which is the only usage cue present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools