Skip to main content
Glama

Errance

๐Ÿš โ†’ ๐Ÿš

route_details
Read-only

Shows a route (line) on a map with all its stops and its shape. 'routeIdx' comes from explore_area.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "routeIdx": "<routeIdx>"
    },
    "name": "route_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoPreferred language of the names, as ISO 639-1 code (e.g. fr, de). The names of the stations are translated in fr, es, en, nl, de and it ("Gรฉrone" for Girona in fr).
routeIdxYesRoute index returned by explore_area.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds that the result is a route rendered on a map with all stops and its geometry, which is useful behavioral context, but it leaves ambiguous whether the payload is a map image, coordinates, or structured stop data โ€” a material question with no output schema and openWorldHint set.

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?

Two sentences, zero filler, with the core purpose stated first and the parameter provenance second. Nothing is buried or duplicated at length.

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 low-complexity lookup tool with only two parameters, the description covers what the tool takes, where the index comes from, and what is surfaced. The remaining gap is the return format, which matters more here because there is no output schema.

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 100%, so both parameters are already documented, including the language translation set. The description reinforces routeIdx provenance from explore_area, which matches the schema text rather than extending it; with the schema doing the heavy lifting, this lands just above baseline.

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 names a specific verb and resource โ€” shows a route (line) โ€” and disambiguates the term by equating 'route' with 'line' and enumerating its content (stops, shape). This separates it from trip_details or departures, though it does not explicitly name a sibling it is contrasted with.

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

Usage Guidelines4/5

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

It gives a concrete workflow prerequisite: 'routeIdx' comes from explore_area, telling the agent this tool is a second step after area exploration. It stops short of exclusions (e.g. 'use trip_details for a multi-leg journey'), so usage is clear but not fully routed.

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.