Skip to main content
Glama

Get a trail's Wikipedia link

get_route_wikilink

Retrieve the Wikipedia article URL for an outdoor route using its OSM relation ID. Returns the URL if a Wikipedia link exists, otherwise indicates not found.

Instructions

Resolve the Wikipedia article URL for a route by its OSM relation id (if the route is tagged with one). Returns the URL; returns a not_found result if the route has no Wikipedia link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOSM relation id of the route.
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
Behavior3/5

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

The description explicitly states the tool returns a URL or a not_found result, which covers the key behavioral outcomes. However, since there are no annotations, it would benefit from explicitly stating that the operation is read-only or has no side effects. The clarity is adequate but not thorough.

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?

The description is concise with two sentences, no redundant information, and the key points are front-loaded. Every sentence adds value without being verbose.

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?

Given the simplicity of the tool (no output schema, few parameters), the description covers the main purpose and behavior adequately. It mentions the condition and the two possible return types. It could be improved by noting any error cases or the format of the not_found result, but overall it is sufficient.

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?

The input schema already provides comprehensive descriptions for all three parameters (100% coverage). The description does not add extra meaning beyond what is in the schema, so a baseline score of 3 is appropriate.

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 clearly states the tool resolves a Wikipedia article URL for a route by OSM relation id. It specifies the condition (if tagged) and the outcome (URL or not_found). The purpose is well-defined but could be slightly more specific about when to use this tool versus siblings.

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

Usage Guidelines2/5

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

The description implies the tool only works if the route is tagged with a Wikipedia link, but it doesn't explicitly explain when to prefer this over related tools like get_route_details or search_routes_by_name. No alternative guidance or context for usage is provided.

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