Skip to main content
Glama

Entur Departures

entur_departures
Read-onlyIdempotent

Real-time departures board for any public-transport stop in Norway, train, tram, metro, bus, and ferry departures for Oslo, Bergen, Trondheim, Stavanger and every other Norwegian stop, from Entur (the national journey-planning authority covering Vy, Flytoget, Ruter, Skyss, AtB, formerly NSB). Returns line, destination, aimed vs expected time, delay in minutes, platform/quay, and realtime flag. Example: entur_departures({ stop: "Oslo S", mode: "rail" })

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": {
      "stop": "Oslo S"
    },
    "name": "entur_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoOptional transport-mode filter. "water" = ferry/boat, "rail" = train.
stopYesStop or station name, e.g. "Oslo S", "Bergen stasjon", "Trondheim S", "Jernbanetorget", or a raw NSR id like "NSR:StopPlace:59872"
limitNoMax departures to return, 1-50 (default 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / stop / description
      Previous value: -"Stop or station name, e.g. \"Oslo S\", \"Bergen stasjon\", \"Trondheim S\", \"Jernbanetorget\" — or a raw NSR id like \"NSR:StopPlace:59872\""New value: +"Stop or station name, e.g. \"Oslo S\", \"Bergen stasjon\", \"Trondheim S\", \"Jernbanetorget\", or a raw NSR id like \"NSR:StopPlace:59872\""
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "stop": "Oslo S"
      +  },
      +  {
      +    "limit": 15,
      +    "mode": "rail",
      +    "stop": "Bergen stasjon"
      +  }
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it enumerates the returned fields (line, destination, aimed vs expected time, delay, platform/quay, realtime flag), which matters because there is no output schema. It does not discuss rate limits, authentication, or what happens when realtime data is unavailable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, and the return-field sentence earns its place given no output schema. However, the opening sentence is a long run-on padded with operator brand names (Vy, Flytoget, Ruter, Skyss, AtB, formerly NSB) and a city enumeration that adds little selection value for an agent.

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 no output schema, the definition covers what is needed: purpose, coverage, returned fields, and a worked example. Remaining gaps are minor but real — no guidance on ambiguous stop names, on falling back when realtime is unavailable, or on pagination behavior for the limit parameter.

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 all three parameters (stop, mode, limit) are already documented, including the enum mapping of 'water' to ferry and 'rail' to train. The description reinforces that free-text stop names work and shows a concrete mode/stop combination, but adds no syntax or format detail beyond the schema. Baseline 3 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?

States a specific verb and resource ('real-time departures board for any public-transport stop in Norway') with explicit scope: all modes and all stops, sourced from Entur. This is clearly distinguishable from a journey planner or a stop-search tool without opening any schema.

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: the example call shows that a stop name plus an optional mode is the pattern, and the required 'stop' parameter signals a stop must be known. There is no explicit when-to-use guidance, no mention of using a stop-search sibling first when the stop name or NSR id is unknown, and no stated alternative for full journey planning.

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.