Skip to main content
Glama

Recommend a route

recommend_route
Read-onlyIdempotent

Recommend a UK running route that fits the runner. Use this when a user describes who they are and what they want — e.g. 'I'm a trail runner near Ambleside, 15k, avoid roads, something scenic and not too technical'. Returns a ranked shortlist with reasoning-friendly fields (surface, ascent, course shape, national park) and canonical Skamper URLs. Prefer this over search_routes whenever the request is about runner preference rather than exact numeric filters.

Input Schema

NameRequiredDescriptionDefault
limitNo
scenicNoPrefer national parks and named landscapes.
near_latNoLatitude near the runner (recommended).
near_lngNoLongitude near the runner (recommended).
loop_onlyNoOnly return circular routes (no point-to-point).
user_typeNoWho is running — biases surface and ascent preferences.mixed
avoid_roadsNoHeavily down-rank tarmac routes.
distance_kmNoTarget distance in km.
technicalityNoRough terrain difficulty — maps to hilliness and ascent bands.
distance_tolerance_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false), and the description adds what they cannot: results are a ranked shortlist carrying surface, ascent, course shape and national park fields, plus canonical Skamper URLs. It does not discuss result-set size behaviour or what happens when no route matches, which is the remaining gap for a recommendation engine.

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 sentences, each doing distinct work: purpose, usage trigger with example, return shape and disambiguation. The purpose and the routing decision are front-loaded, and there is no restatement of the title or filler wording.

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?

For a 10-parameter, zero-required recommendation tool with no output schema, the description covers purpose, invocation style, return fields and sibling routing, which is close to sufficient. The minor hole is that it never states all parameters are optional or what the defaults produce, leaving the agent to infer behaviour when the user gives minimal context.

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?

Schema coverage is 80%, so baseline is 3; the description earns a bump because the example sentence demonstrates how free-text runner intent maps onto specific fields (trail_runner, ~15k, avoid roads, scenic, low technicality). It still adds nothing for limit, distance_tolerance_km or the near_lat/near_lng pair, which remain schema-only.

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?

States a specific verb and resource ("Recommend a UK running route") plus the scope qualifier "that fits the runner", which distinguishes it from filter-based listing tools. The final sentence names the sibling it is not (search_routes), so an agent can separate the two without opening either schema.

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?

Gives an explicit when-to-use trigger ("when a user describes who they are and what they want") with a concrete worked example, and states the selection rule against the alternative: preference-based requests go here, exact numeric filters go to search_routes. Both the use case and the exclusion are spelled out.

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