Skip to main content
Glama

Yaanmitra: travel in India

Compare every way to travel between two places in India

compare_trip
Read-onlyIdempotent

Compare flights, trains, buses, outstation cabs, self-drive cars, rental bikes, rideshares and mixed routes between two places in India, read from travel sites' public pages. Returns options grouped by mode with the cheapest and fastest, departure/arrival times (India time), fares labelled "listed" (as on the site for that date) or "estimated", the source site of each, booking hand-off links, and notes (e.g. "Guntur has no airport — flights go via Vijayawada"). Usually instant from stored results; a route never searched before triggers a live search that can take up to a minute. Read-only; it never books anything.

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": "compare_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination, e.g. "Jaipur"
dateNoTravel date YYYY-MM-DD (India time). Leave out for the next available stored day (usually tomorrow).
fromYesOrigin: a city/town name or Yaanmitra place id, e.g. "Delhi"
passengersNoNumber of travellers, default 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly/destructive/idempotent safety profile, so the description exceeds the bar by disclosing a latency behavior (usually instant from stored results; an uncached route triggers a live search taking up to a minute) and explicitly stating it never books anything. It also explains fare provenance (listed vs estimated) and data origin (public travel-site pages). It doesn't cover rate limits or failure behavior, but the added context is substantial.

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?

One dense but well-ordered sentence-build: scope first, then return shape, then latency, then safety. The long enumeration of modes is slightly bloated but serves purpose clarity; no sentence is purely filler.

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 tool with no output schema, the description explains the return structure (options grouped by mode, cheapest/fastest, times, fare labels, sources, booking links, notes), which is what an agent needs to plan consumption. Missing only edge-case handling (invalid places, no-route results).

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%, so all four parameters including the place-id alternative and the default-date behavior are already documented in the schema. The description adds no parameter-specific syntax or format detail beyond what the schema states, so baseline 3 applies.

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?

Specific verb (compare) + resource (travel between two places in India), and it enumerates the modes covered so an agent knows exactly what's in scope. Distinguishes itself from siblings like rental_options by covering all modes rather than just rentals.

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 scope ('between two places in India') implies when to use it, and the mention that it reads travel sites' public pages hints at coverage. But there is no explicit when-not-to-use guidance or naming of sibling alternatives, e.g. that rental_options should be used for detailed self-drive/rental inventory. Usage is implied rather than stated.

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