Skip to main content
Glama

get_departures_board

Retrieve upcoming scheduled bus departures for a stop, optionally filtered by day or start time, to build a departures board and plan trips.

Instructions

Get the next scheduled departures at a stop (a departures board).

Parameters: stop: Stop (NaPTAN code or name). day: Optional day filter: mon, tue, wed, thu, fri, sat, sun. Defaults to today. from_time: Optional start time HH:MM (24h). Defaults to now. limit: Max departures to return (1-50, default 20).

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": "get_departures_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo
stopYes
limitNo
from_timeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: results are timetable-based ('scheduled'), time defaults to now, day defaults to today. It says nothing about timezone, caching/staleness, or whether disruptions are reflected, but an output schema exists so return shape needn't be explained.

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?

Front-loaded purpose sentence followed by a compact per-parameter list; ~4 lines, no filler. The only minor redundancy is restating parameter names already visible in the schema, which is acceptable for a 0%-coverage schema.

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 4-parameter read tool with no annotations but a present output schema, the definition covers purpose, defaults, formats, and bounds well. The remaining gap is the absence of any guidance on when this is preferable to live-ETA or journey-planning siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description compensates fully: it gives stop's accepted formats (NaPTAN code or name), enumerates the day values (mon–sun), specifies from_time as HH:MM 24h, and states limit's bounds and default (1–50, default 20). This adds meaning the bare schema does not contain.

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 ('Get the next scheduled departures at a stop') and parenthetically frames the output as a departures board. The word 'scheduled' hints at static timetable data rather than live data, but it never names or contrasts with siblings like estimate_live_eta or get_disruptions.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. An agent must infer from the adjective 'scheduled' that a live-ETA sibling exists for real-time queries; nothing in the description states that trade-off.

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