Skip to main content
Glama

get_departures

Read-onlyIdempotent

Read up to 20 eligible departures from a cached board, each with where it stops. Cold caches are unavailable; preserve freshness, coverage and attribution.

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_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
stationYesSupported station CRS, slug or catalogue name. Call list_stations for the finite catalogue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 behaviour, so the bar is lower, and the description adds real context beyond them: results come from a cache, are capped at 20, include stop information, cold caches are unavailable, and freshness/coverage/attribution must be preserved. It stops short of describing error behaviour when the cache is cold or what a response record contains.

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?

Two tight sentences with the capability front-loaded and the constraints trailing. The closing phrase 'preserve freshness, coverage and attribution' is terse and somewhat jargon-like, but it is short and carries licensing/attribution obligations rather than padding.

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?

Given no output schema and one well-documented parameter, the description covers the essentials (source, cap, contents, cache constraint). It leaves meaningful gaps: what 'eligible' means, what happens when the cache is cold, and whether attribution obligations affect how results must be presented.

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?

With a single parameter at 100% schema coverage, the schema already documents the station identifier and points to list_stations for the catalogue. The description adds nothing about accepted station formats or validity, 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 opens with a specific verb and resource ('Read ... departures from a cached board') and adds scope ('up to 20 eligible', 'each with where it stops'). It doesn't explicitly name the sibling alternatives like next_train or platform_for, but the resource and bounded nature make it distinguishable enough for an agent to recognise the departures-board role.

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 implied rather than stated: the tool retrieves a station departures board, and 'Cold caches are unavailable' hints at a precondition. There is no explicit when-to-use/when-not guidance, no pointer to next_train or platform_for for other needs, and no explanation of what 'eligible' filters out.

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.

Resources