Skip to main content
Glama

get_train_departures

Read-onlyIdempotent

Get next train, S-Bahn, or ICE departures from any German station, including time, line, destination, platform, delay, and cancellations. Check real-time schedules to see if your train is late or what's leaving now.

Instructions

Return the next departures from a German railway station: time, line, destination, platform, delay and cancellations. Use when someone asks when their train, S-Bahn or ICE leaves, whether it is late, or what is leaving a station now — give the station name as the person said it ("Hamburg Hbf", "Munich Central"); an ambiguous name comes back as a list. Do NOT use for buses or trams (punctuality: check_transit_disruption), for tickets, fares or journey planning, or for motorway traffic — call check_autobahn_traffic. At most 15 departures, window 120 min. Results carry their attribution line.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whenNoStart of the window as an ISO-8601 instant with an offset ("2026-09-20T18:30:00+02:00"). Leave it out for "now", which is what almost every question means. Times in the answer are Europe/Berlin whatever you pass.
limitNoHow many departures to return, earliest first (1–15, default 10). More than 15 is refused — that is a board a person can read, not a dataset.
eva_noNoThe station's EVA number (6–8 digits, e.g. 8002549 for Hamburg Hbf), when a previous result gave you one. It skips the name lookup and is exact — use it to answer a follow-up about a station this tool has already named.
stationNoThe railway station, as the person says it: "Hamburg Hbf", "Köln Hbf", "Munich Central", "Frankfurt (Main) Hbf". Pass their words — English names and "central station" are understood. If the name fits several stations the result lists them and asks which; do not guess one yourself. Give either station OR eva_no, never both.
languageNoSet this on every call to the language the person is writing in: "en" if they wrote English, "de" if they wrote German. Do not leave it out because it has a default — the default is only the fallback when the language is genuinely unclear, and an English question answered in German is a wrong answer. Place names, station names and road numbers are never translated in either language; in English the German term is kept in parentheses so the person recognises it on signs and in local apps.de
duration_minNoHow far ahead to look, in minutes (5–120, default 60). Use a small window for "what leaves now" and a larger one for "this evening". Above 120 is refused: a departure board is not a timetable search.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.9

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), and the description adds genuinely non-obvious behaviors on top: ambiguous station names are returned as a list rather than guessed, results carry an attribution line, and hard caps of 15 departures / 120-minute window are stated in prose. There is no contradiction with the annotations.

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?

Four sentences, every one earning its place: purpose and payload fields, when-to-use triggers, exclusions with named alternative tools, then hard limits plus attribution. The core action is front-loaded in the first clauseheb about and the exclusions arrive before any parameter or schema detail.

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 read-only departure-board tool, the description covers selection triggers, exclusions, naming and ambiguity rules, limits)Skipick and attribution, while annotations and rich in-schema docs handle the safety profile and all 6 optional params. The one gap: there is no output schema and the description gives only a flat field list ('time, line, destination, platform, delay and cancellations') without stating edge-case behavior such as an empty result set or an unknown station name.

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 description coverage is 100% and the in-schema parameter descriptions are already rich (eva_no for follow-ups, language-set-on-every-call rationale, 'do not guess' for station). The tool description adds little new parameter meaning: 'At most 15 departures, window 120 min' merely restates the schema maximums)Skip and the station-naming rule paraphrases the station parameter's schema text. The baseline 3 for high coverage 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?

Opens with a specific verb and resource: 'Return the next departures from a German railway station', and itemizes the payload (time, line, destination, platform, delay and cancellations). It also carves out what it is not — not buses/trams and not motorway traffic — so an agent can tell it apart from check_transit_disruption and check_autobahn_traffic without opening their schemas.

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 explicit triggers ('when their train, S-Bahn or ICE leaves, whether it is late, or what is leaving a station now') followed by a hard Do-NOT list with named alternatives (check_transit_disruption for buses/trams, check_autobahn_traffic for motorway) and exclusions (tickets, fares, journey planning). It even states the station-input convention (pass the name as the person said it; ambiguous names come back as a list). Nothing is left to inference.

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