Skip to main content
Glama

Get stop details

get_stop
Read-only

Retrieve stop or station details by ID, including name, coordinates, timezone, products, and serving lines. Use find_stations first to get the required station ID.

Instructions

Stop/station details by id: name, coordinates, IANA tz, products and the lines serving it by product, as named in the feeds (long-distance names mix line numbers, train numbers and bare products like ICE; the boards and plan_journey show the actual trains). Use find_stations first if you only have a name. 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": {
      "id": "<id>"
    },
    "name": "get_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStop/station id from find_stations - not a name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only and open-world nature, and the description adds real value on top: it warns that line names come from the feeds and mix line numbers, train numbers and bare products, so the agent knows not to trust that field for train identity. It also discloses the output shape ('JSON, then "Hints:"') and that hints carry attribution/credit usage context, beyond what the annotations declare.

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?

Front-loads what the tool returns, then usage routing, then output format. The long parenthetical about long-distance naming is dense but earns its place as a disambiguation warning; the 'Results: JSON, then "Hints:"' phrasing is slightly terse for the load it carries.

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 simple one-parameter read tool with no output schema, the description covers returned fields, id provenance, feed-quality caveats, and the trailing Hints section. Remaining gaps like error behavior or id format examples are minor.

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?

With a single parameter at 100% schema coverage, the schema already documents the id fully, including 'not a name'. The description restates the find_stations provenance rather than adding syntax, format or length constraints, so it is a baseline contribution.

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 ('Stop/station details by id') and enumerates the returned content: name, coordinates, IANA tz, products, and serving lines by product. That enumeration clearly separates it from the departure/arrival/trip siblings, which return time-based data rather than static station metadata.

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

Usage Guidelines4/5

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

Gives explicit routing advice: 'Use find_stations first if you only have a name', reinforced by the id parameter note 'not a name'. It also points to the boards and plan_journey for actual train times, but states no when-not conditions for get_trip or the departure/arrival siblings.

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