Skip to main content
Glama

get_departures

Retrieve real-time transit departures, including live countdowns, platform, delay, and status for any stop or station in supported US cities. Enter a city and stop ID to get current schedules instantly.

Instructions

Gets real-time departures, live countdown minutes, platform, delay, and status for a stop or station.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity identifier or alias (e.g. 'msp', 'boston', 'sf_bart', 'chicago', 'portland')
stop_idYesStop ID, place code, or station name (e.g. '51405' / 'MAAM' for MSP, 'place-sstat' / 'Alewife' for Boston, 'EMBR' / 'Embarcadero' for BART, '40380' / 'Clark/Lake' for CTA, '8334' / 'Pioneer Courthouse Square' for TriMet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that the data is real-time and enumerates the fields returned (countdown, platform, delay, status), which is useful. It does not cover side effects, data-source caveats, or failure behavior, but as a read-only getter this is a moderate gap, not a contradiction.

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?

Single sentence, front-loaded with the core purpose, with the result fields packed in without waste. Every part of the sentence earns its place.

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 two-parameter read-only lookup with no output schema, the description supplies enough shape of the response (countdown, platform, delay, status) and the object type (stop/station). It is slightly light on usage context, but the schema covers parameter formats, and nothing essential is missing for invoking the tool.

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 the schema already documents city and stop_id thoroughly. The description adds only the generic 'stop or station' framing and does not contribute new parameter semantics beyond the schema.

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?

The description names a precise verb+resource ('Gets real-time departures') and lists the key result fields (live countdown minutes, platform, delay, status). This makes it clearly a live-departure lookup for a stop/station and distinguishes it from sibling tools like list_routes, get_route_stops, and get_service_alerts.

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

Usage Guidelines4/5

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

The intended context is clear: use this tool when an agent needs live departure information for a specific stop or station. It does not explicitly state when not to use it or name alternatives, but no conflicting guidance is present.

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