Skip to main content
Glama

trails.search

Read-only

Search public, verified trails with filters (supports map bounds and near-me style geo filtering).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNo
dirNoasc
latNo
lngNo
pageNo
sortNoname
boundsNo
regionNo
per_pageNo
difficultyNo
radius_metersNo
max_length_milesNo
min_length_milesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true; the description adds 'verified' but does not disclose other behavioral traits like pagination, result format, or rate limits. The value added beyond annotations is modest.

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 a single, front-loaded sentence with 14 words, efficiently conveying the core purpose and key capability without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite 13 parameters and no output schema, the description omits pagination, sorting, difficulty, length filters, and other common parameters, leaving significant gaps for an agent to understand usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description provides minimal parameter guidance, only hinting at geo-filtering via bounds and near-me. It does not explain other parameters like q, sort, difficulty, etc.

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 action (Search), resource (public, verified trails), and scope (with filters). It distinguishes from siblings like trails.get and other resource-specific searches.

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?

The description mentions supported filter types (map bounds, near-me) implying some context but does not explicitly state when to use this tool versus alternatives like trails.get or campgrounds.search.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources