Skip to main content
Glama

Abfahrtstafel (DB OpenBoards)

getDepartureBoard

Get live departure times, lines, destinations, platforms, delays, cancellations, and notes for a German train station by name; filter by destination, line, train type, or time window.

Instructions

Liefert die Abfahrtstafel einer deutschen Bahnstation (Zeit, Linie, Ziel, Gleis, Verspaetung, Ausfall, Hinweise) ueber die DB OpenBoards API. Bahnhofsname wird automatisch aufgeloest - keine EVA-Nummer noetig. Bei mehreren Treffern (z. B. 'Frankfurt') kommen stattdessen Auswahl-Optionen zurueck.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "getDepartureBoard"
  }
}

Input Schema

NameRequiredDescriptionDefault
zielNoFilter: Ziel/Richtung, z. B. the destination city name
linieNoFilter: Linie/Zugnummer, z. B. 'ICE', 'RE5'
zugartNoFilter: Zugart (Fernverkehr/Regio/S-Bahn)
stationNoBahnhofsname (wird automatisch ueber OpenStation aufgeloest, Tippfehler/Umlaute tolerant) ODER EVA-Nummer. Default: 'Frankfurt Hbf'.
timeStartNoISO-8601 Startzeit, Default: jetzt
windowMinutesNoFensterlaenge in Minuten, Default 60, Maximum 240

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a key non-obvious behavior: ambiguous station names (e.g. 'Frankfurt') return selection options instead of a board. It also lists the returned fields and the tolerant auto-resolution. It does not cover permissions, rate limits, or error/failure responses of the API itself.

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?

Three compact sentences: purpose and payload first, then the resolution behavior, then the multi-match fallback. No filler, and the most surprising behavior is placed where an agent will see it.

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 six-parameter, all-optional tool with no output schema and no annotations, the description does well by enumerating the returned fields and explaining the ambiguous-station fallback. Remaining gaps are minor: no statement of what happens on unknown stations, no auth or failure-mode context.

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%, so all six filters (ziel, linie, zugart, station, timeStart, windowMinutes) are already documented in the schema. The description's remark that no EVA number is needed mostly restates the schema's station description rather than adding new meaning, so the baseline 3 applies.

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?

States a specific verb and resource: it returns the departure board (Zeit, Linie, Ziel, Gleis, Verspaetung, Ausfall, Hinweise) for a German station via the DB OpenBoards API. Scope is unmistakable against an arrival board, but the description never names getArrivalBoard or findStation, so differentiation rests on the resource wording alone.

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 note that 'Bahnhofsname wird automatisch aufgeloest - keine EVA-Nummer noetig' implicitly tells the agent it need not call findStation first, which is useful routing context. However, there is no explicit when-to-use/when-not guidance and no named alternative for arrivals or station lookup.

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

Deploy Server

Other Tools