Skip to main content
Glama

Yaanmitra: travel in India

Find a place in India

search_places
Read-onlyIdempotent

Resolve a city, town or station/airport code in India to Yaanmitra place ids, with its state and whether it has an airport and a railway station. Use it when a name is ambiguous or misspelt, or to check whether a town has an airport or station. compare_trip and rental_options also accept plain names, so this is optional.

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": {
      "query": "<query>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPlace name, alias or code, e.g. "vizag", "Bengaluru", "NDLS"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, and the description correctly does not repeat them. Instead it adds real value beyond annotations: the tool tolerates misspellings and aliases, and the response carries state plus airport/railway presence flags. It stops short of saying what happens with zero or multiple matches, or how many candidates are returned, which is the remaining behavioral gap.

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 with no filler. The capability and the shape of the return value are front-loaded, and the routing/alternative note is deferred to the end where it belongs. Nothing is repeated from the schema or annotations.

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 single-parameter lookup with no output schema, the description carries the necessary weight by describing what comes back (place ids, state, airport and railway availability) and when to reach for it instead of siblings. The only omission is the ambiguous-result behavior — whether multiple matches are returned as a list and how they are ordered — which matters for a fuzzy name matcher.

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 the schema already documents the single `query` parameter as "Place name, alias or code" with examples including the station code "NDLS". The description's contribution is limited to affirming that ambiguous or misspelt inputs are acceptable and that inputs span cities, towns and codes, which is marginal beyond the schema. Baseline 3 is appropriate here.

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 precise verb-plus-resource ("Resolve a city, town or station/airport code ... to Yaanmitra place ids") and immediately names the payload of the result (state, airport flag, railway flag). It also scopes the tool geographically to India, so an agent knows exactly which entity space it operates in.

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 two concrete triggering conditions (ambiguous or misspelt names; checking whether a town has an airport or station) and then names the alternatives by name: "compare_trip and rental_options also accept plain names, so this is optional." That is explicit when-to-use plus an honest statement that this call can be skipped, which is unusually good routing guidance.

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