Skip to main content
Glama

Search trails by name

search_routes_by_name

Find recreational routes by name or reference code. Returns summary entries with id, name, ref, and network group for further details.

Instructions

Fuzzy-search recreational routes by name or reference code (e.g. 'GR20', 'E5', 'Pennine Way'). Returns summary route entries (id, name, ref, network group, symbol). Use get_route_details with a returned id for full information. To search by location instead of name, use find_routes_near_place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesRoute name or reference code to search for.
limitNoMax results per page (1-100).
pageNoResult page (1-10).
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?

Despite no annotations, the description discloses fuzzy-search behavior, return fields (id, name, ref, network group, symbol), and advises using another tool for details. It omits pagination details and rate limits but provides solid transparency for a search tool.

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?

Three concise sentences: purpose, output summary, and guidance. No unnecessary text, front-loaded with the key action.

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?

Given no output schema, the description adequately covers return fields, search behavior, and next steps. For a search tool with 5 parameters, it is fully self-contained.

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 coverage is 100% with descriptions for all 5 parameters. The description adds no extra semantic detail beyond examples, meeting the baseline of 3.

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 does fuzzy-search by name or reference code, with specific examples like 'GR20', 'E5'. It distinguishes from siblings by explicitly mentioning the alternative find_routes_near_place for location searches.

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

Usage Guidelines5/5

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

Explicit guidance: use get_route_details for full info, and use find_routes_near_place for location-based searches. This clearly tells the agent when to use this tool vs alternatives.

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