Skip to main content
Glama

Get full trail details

get_route_details

Retrieve comprehensive route details by OSM relation ID, including name, length, geometry, operator, and tags. Supports hiking, cycling, and other activities with configurable geometry detail and language.

Instructions

Get full information about a single route by its OSM relation id: name, reference, network, total length, operator, description, website, Wikipedia, bounding box (lon/lat), raw OSM tags, and any sub-/super-routes. Geometry is summarised by default to keep the response small — set geometry_detail to 'full' for every coordinate or 'none' to omit it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOSM relation id of the route.
geometry_detailNoHow much path geometry to include: 'none' (counts only), 'summary' (~30 lon/lat points, default), or 'full' (every coordinate).summary
flavourNoWhich activity map to query: hiking, cycling, mtb (mountain biking), riding (horse), skating (inline), or slopes (ski/winter). Defaults to hiking.hiking
languageNoPreferred language for names (BCP-47 code, e.g. 'en', 'de', 'fr').en
Behavior4/5

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

No annotations are present, so the description bears full burden. It discloses that geometry is summarized by default and explains options. It lists all returned fields, but does not mention error handling, rate limits, or auth requirements.

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, no wasted words. The first sentence front-loads the core purpose and outputs; the second clarifies geometry behavior. Excellent structure.

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?

Covers main functionality with 4 parameters and full schema. Mentions key outputs but omits error scenarios and response size. For a single-route detail tool, it is adequately complete.

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?

With 100% schema description coverage, baseline is 3. The description adds value by explaining the implications of geometry_detail levels and the purpose of flavour and language parameters, going beyond the schema.

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?

The description clearly states the tool's purpose: 'Get full information about a single route by its OSM relation id.' It lists specific fields returned (name, reference, etc.), distinguishing it from sibling tools that handle multiple routes or search.

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?

The description implies usage for retrieving details of a specific route by ID. It provides guidance on geometry options but lacks explicit when-not-to-use or alternatives like searching by name first.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chiraggahujaa/trails-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server