Skip to main content
Glama

US MBTA Boston Real-Time Transit and Rail MCP

Get MBTA live predictions

get_mbta_live_predictions
Read-onlyIdempotent

Fetch real-time MBTA arrival and departure predictions filtered by route and/or stop ID.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_mbta_live_predictions"
  }
}

Input Schema

NameRequiredDescriptionDefault
stopNoOptional MBTA stop ID (e.g. "place-pktrm", "place-sstat").
limitNoMaximum predictions to return (default 10, max 50).
routeNoMBTA route ID (e.g. "Red", "Orange", "Green-C"). Defaults to "Red" if neither route nor stop is supplied.
direction_idNoOptional direction ID: 0 or 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered. The description contributes the meaningful qualifier "real-time," distinguishing live predictions from scheduled data. It says nothing about data freshness/latency, empty-result behavior, or upstream rate limits, which would be the remaining value-add for an open-world live-feed tool.

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?

A single front-loaded sentence that identifies the action, the data type, and the filtering dimension with no filler. Nothing could be removed without losing information.

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 zero-required-parameter read tool with no output schema, the description adequately conveys what is returned (arrival and departure predictions) and how it is scoped. The only shortfall is the absence of any note on response shape, freshness, or the default-route fallback, which the schema partially covers.

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 four parameters (stop, route, direction_id, limit) are already documented with examples, defaults, and bounds. The description only restates that filtering happens by route and/or stop, adding no syntax or semantic detail beyond the schema, so the 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 pairs a specific verb ("Fetch") with a specific resource ("real-time MBTA arrival and departure predictions") and states the filter scope (route and/or stop ID). It is clearly distinguishable from alerts and vehicle positions by naming predictions rather than incidents or vehicle locations, though it never explicitly contrasts with those siblings.

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 agent can infer that this tool answers "when is the next train" and that filtering by route or stop narrows results. There is no explicit when-not guidance, no pointer to get_mbta_vehicle_positions for current vehicle locations, and no mention of what happens if both filters are omitted (the schema says it defaults to "Red").

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.