Skip to main content
Glama

BikeTheRail

Search trails

search_trails
Read-onlyIdempotent

Find U.S. rail-trails, canal towpaths and greenways by name, state, surface, kind and length. Returns each trail's page URL and slug (for get_trail). With no query, lists the longest trails that match the filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNorail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed.
limitNoHow many trails to return (1-50).
queryNoWords from the trail's name, for example "Great Allegheny Passage" or "Virginia Creeper". Small typos are tolerated.
stateNoTwo-letter state code (PA) or state name. Matches every trail that enters the state.
surfaceNoTrail surface. crushed_stone is packed stone dust, good for most bikes.
max_milesNoLongest length, in miles.
min_milesNoShortest length, in miles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources