Skip to main content
Glama

Switzerland OpenData Rail and Transit MCP

Get Swiss stationboard departures

get_swiss_stationboard_departures
Read-onlyIdempotent

Fetch upcoming live departures, platforms, operators, and real-time delays from a Swiss transit station.

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": {
      "station": "<station>"
    },
    "name": "get_swiss_stationboard_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum departures to return (default 10, max 30).
stationYesSwiss station name or ID (e.g. "Zurich HB", "Bern", "Geneva").
datetimeNoOptional departure date/time in YYYY-MM-DD hh:mm format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and idempotency profile is covered. The description adds that returned data is live with real-time delays, which is useful beyond the annotations, but says nothing about data freshness, upstream outages, or rate limits on a live feed.

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?

A single front-loaded sentence that names the resource, the recency of data, and the interesting return fields with no filler. Nothing is repeated from the title and nothing needs trimming.

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 three-parameter read tool with full schema coverage and strong annotations, this is nearly complete, and with no output schema the description usefully previews the returned fields (platforms, operators, delays). The only gap is the absence of any usage routing to the planning/delay siblings.

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%: station examples, the limit range/default (1-30, default 10), and the YYYY-MM-DD hh:mm datetime format are all documented in the schema itself. The description adds no additional meaning about station name vs. ID matching or date/time timezone handling, so 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?

The description uses a specific verb and resource ('Fetch upcoming live departures') and enumerates the payload ('platforms, operators, and real-time delays from a Swiss transit station'), which clearly separates it from planning or geocoding siblings. It stops short of naming a sibling, so the differentiation is inferred from the resource rather than stated.

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?

Usage is only implied by 'upcoming live departures' — an agent can infer this is for real-time departure boards rather than journey planning or station lookup. There is no explicit when-to-use/when-not-to-use statement and no pointer to the connection-planning or delay-check siblings for adjacent needs.

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.