Skip to main content
Glama

Find stations

find_stations
Read-only

Search stops and stations by name to get ranked stop IDs for departures, arrivals, and trip planning. Use it first because other transport tools require an ID, not a station name.

Instructions

Search stops/stations by name (e.g. "Berlin Hbf", "Alexanderplatz", a town name). Returns a ranked list of stops only (no addresses or POIs). Call this first: every other tool takes an id, never a name. Ids are opaque; never guess, hardcode or reuse them across sessions. The same station can appear under several ids (one per data feed); any of them works. Results: JSON, then "Hints:" (situational advice; attribution, credit once).

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

Input Schema

NameRequiredDescriptionDefault
queryYesStation, stop or town name.
resultsNoMaximum number of results (1-20, default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint it discloses that ids are opaque, that duplicate ids per data feed are all valid, and that responses are JSON followed by a "Hints:" section including attribution. That is real operational context not captured by the annotations. It stops short of describing ranking criteria or failure behavior for zero matches.

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?

Front-loads what the tool does, then the ordering rule, then id caveats, then response shape — each sentence contributes a distinct constraint. Dense but no filler.

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

Completeness5/5

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

For a two-parameter lookup with no output schema, it covers input examples, result scope, response format, and the downstream id contract. Nothing an agent needs to call it correctly is missing.

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 the baseline is 3, but the description adds concrete query examples ("Berlin Hbf", "Alexanderplatz", a town name) that clarify what forms of input are acceptable. It says nothing about the results parameter, which is left entirely to the schema.

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 specific verb+resource ("Search stops/stations by name") and bounds the scope explicitly: "Returns a ranked list of stops only (no addresses or POIs)." That negative scoping cleanly separates it from id-based siblings like get_stop.

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 an explicit ordering rule — "Call this first: every other tool takes an id, never a name" — which tells the agent both when to use this tool and why the alternatives require it. It also warns against guessing, hardcoding, or reusing ids across sessions.

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