Skip to main content
Glama

Dbrail Departures

dbrail_departures
Read-onlyIdempotent

Live departures board for a German / European station. Pass a station NAME ("Berlin Hbf") or a stop id from dbrail_locations. Returns upcoming departures with line/train number, destination, scheduled and real-time departure, delay in minutes, platform/track, and operator. Keyless, real-time where the operator publishes it.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
idYesStation name ("Berlin Hbf") or stop id from dbrail_locations.
modeNoFilter by transport mode. Pass "rail" for trains only (high-speed, long-distance, night, regional), recommended at big stations, where trams/buses otherwise dominate the board. Or pass explicit MOTIS modes, comma-separated: HIGHSPEED_RAIL, LONG_DISTANCE, REGIONAL_RAIL, SUBURBAN, SUBWAY, TRAM, BUS, COACH, FERRY.
whenNoISO date/time to start the board from (e.g. "2026-07-25T18:00:00Z"). Defaults to now.
resultsNoMax departures to return (default 15, max 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"Filter by transport mode. Pass \"rail\" for trains only (high-speed, long-distance, night, regional) — recommended at big stations, where trams/buses otherwise dominate the board. Or pass explicit MOTIS modes, comma-separated: HIGHSPEED_RAIL, LONG_DISTANCE, REGIONAL_RAIL, SUBURBAN, SUBWAY, TRAM, BUS, COACH, FERRY."New value: +"Filter by transport mode. Pass \"rail\" for trains only (high-speed, long-distance, night, regional), recommended at big stations, where trams/buses otherwise dominate the board. Or pass explicit MOTIS modes, comma-separated: HIGHSPEED_RAIL, LONG_DISTANCE, REGIONAL_RAIL, SUBURBAN, SUBWAY, TRAM, BUS, COACH, FERRY."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description's job is to add context — and it does: it discloses keyless access and that real-time data is available only 'where the operator publishes it', which sets a correct freshness expectation. It does not say what happens for an unknown station name or whether results can be empty, which keeps it below 5.

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?

Three sentences, front-loaded with purpose then inputs then data-freshness caveat, with zero filler. Every clause carries information an agent would otherwise have to infer.

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?

There is no output schema, and the description compensates by enumerating the returned fields and noting the real-time caveat. For a 4-parameter read tool with full schema coverage that is close to sufficient; only error/empty-result behavior is unstated.

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%, so the baseline is 3. The description restates what the schema already documents (station name or stop id, rail-mode recommendation, field meanings) and adds essentially no new syntax, format, or edge-case meaning beyond it.

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?

The description opens with a specific verb+resource ('Live departures board for a German / European station') and immediately enumerates the returned fields (line/train number, destination, scheduled/real-time departure, delay, platform, operator). The resource 'departures' cleanly separates it from dbrail_arrivals without needing to open either schema.

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?

It gives concrete input guidance — pass a station NAME or a stop id from dbrail_locations — and a situational recommendation to use mode="rail" at big stations where buses/trams dominate. It stops short of an explicit when-not or a named alternative (e.g., 'for inbound trains use dbrail_arrivals'), so it earns 4 rather than 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.