Skip to main content
Glama

search_stations

Autocomplete Indian Railways station lookups from station codes or partial city names to identify matching stations for route and schedule queries.

Instructions

Autocomplete search Indian Railways stations by station code or partial city name (e.g. "NDLS", "delhi", "patna").

Input Schema

NameRequiredDescriptionDefault
queryYesSearch string for station code or city name (e.g. "delhi").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and "Autocomplete" does signal partial/fuzzy matching and that multiple results may come back. However, it says nothing about result limits, ranking, case sensitivity, or empty-result behavior for a lookup tool.

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?

One sentence, front-loaded with the verb and resource, with the examples placed where they clarify the input domain. Zero waste.

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?

For a simple one-parameter lookup with no output schema, the definition covers what the tool is and what input it takes. It omits what comes back (a list of station code/name pairs) and how partial matches are ranked, which would help an agent consume the result.

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 single parameter is fully documented, so the schema does the heavy lifting. The description's examples ("NDLS", "delhi", "patna") mostly repeat the schema's own example rather than adding format or matching semantics.

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 ("Autocomplete search Indian Railways stations") and scopes the input domain to station code or partial city name, which an agent can distinguish from general train search siblings. It doesn't explicitly name the near-neighbor get_station_by_code, so it stops short of a 5.

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 word "autocomplete" plus the partial-name examples imply the discovery/browse use case, but there is no explicit statement of when to prefer this over get_station_by_code or search_trains. Usage context is only inferable, not stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.