Skip to main content
Glama

Get route information

get_route_info
Read-onlyIdempotent

Road distance, drive time, typical trip length, places on the way and around, best months and indicative fares by vehicle between two places in India.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "get_route_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination, by name or slug
fromYesStarting city or town, by name or slug

Output Schema

NameRequiredDescriptionDefault
kmYes
toYes
fromYes
rowsYes
as_ofYes
aroundYes
methodYes
km_labelYes
route_urlYes
trip_daysYes
drive_timeYes
on_the_wayYes
best_monthsYes
estimate_urlYes
listed_routeYes
typical_daysYes
post_trip_urlYes
km_is_estimateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description does add two real behavioral facts: results are limited to India and fares are 'indicative' rather than quoted prices. It says nothing about failure modes (unrecognized place names) or data freshness, so it clears the lower annotated bar without much margin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that leads with the primary outputs (distance, drive time) before secondary ones. No filler or hedging boilerplate, though the comma-list is dense.

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

Completeness3/5

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

An output schema exists, so the description's long enumeration of return fields is largely redundant with structured data, and the space is not used for the missing pieces: sibling disambiguation and behavior on invalid place names. For a low-complexity two-parameter tool it is serviceable but leaves known gaps.

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% and both required parameters (from, to) carry their own descriptions including name-or-slug acceptance. The description adds only the geographic scope (India) and the notion of a per-vehicle breakdown, which no parameter actually exposes. Baseline 3 is appropriate.

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 enumerates the concrete data returned: road distance, drive time, typical trip length, en-route places, best months and indicative fares, scoped to two places in India. This clearly separates it from siblings such as estimate_group_trip_fare or suggest_destinations. It does not name an alternative explicitly, which keeps it at 4 rather than 5.

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

Usage Guidelines2/5

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

Usage is only implied by the 'between two places in India' framing; there is no explicit when-to-use, when-not-to-use, or pointer to the sibling fare/suggestion tools. An agent must infer that this is the general point-to-point lookup tool rather than the group-fare estimator.

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