Skip to main content
Glama

Departures

departures
Read-only

Retrieve live public transport board data for a Budapest or Hungarian stop, including predicted times, delays and cancellations, with optional line, time and look-ahead filters.

Instructions

Departure board with live predictions, delays and cancellations.

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": {
      "stop": "<stop>"
    },
    "name": "departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNoOnly this line, e.g. 'M2', '4', '105', 'S70'
stopYesStop name (e.g. 'Deák Ferenc tér', 'Budapest-Keleti') or a stop id from find_stop
limitNo
startNoBudapest local time, ISO format. Default: now
minutesNoHow far ahead to look

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful behavioral signal that results are 'live' realtime predictions including delays and cancellations, but it says nothing about data freshness limits, coverage area, or what happens when a stop has no service.

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?

A single front-loaded sentence with zero filler; the resource and return content come first. It is efficient, though the terseness leaves no room for the routing guidance an agent would benefit from.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema covering return values and 80% parameter coverage, the remaining burden is usage context. The description omits the relationship to find_stop for resolving stop ids and to service_alerts for broader disruption queries, leaving the agent to reconstruct that routing from sibling names.

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 80%, so the schema already explains line examples, stop name/id, time window, limit and start time. The description adds no parameter meaning of its own, which is acceptable at this coverage level but earns only the baseline.

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 names a specific resource ('departure board') and enumerates what it returns ('live predictions, delays and cancellations'), which is more informative than the bare title. It does not explicitly differentiate itself from service_alerts, which also covers disruptions, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The closest competitor, service_alerts, is never mentioned, so an agent must infer from the resource noun alone whether to call this or the alerts tool.

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