Skip to main content
Glama

US MBTA Boston Real-Time Transit and Rail MCP

List MBTA transit routes

list_mbta_transit_routes
Read-onlyIdempotent

List Boston MBTA transit routes across light rail (0), heavy rail subway (1), commuter rail (2), bus (3), and ferry (4).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum routes to return (default 15, max 50).
route_typeNoOptional GTFS route type: 0 Light Rail, 1 Heavy Rail, 2 Commuter Rail, 3 Bus, 4 Ferry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety and side-effect profile is fully covered without the description. The description adds the taxonomy of route types but nothing further — no mention of pagination behavior, default page size, or that results come from a live external MBTA feed, which is the main thing an agent would want to know beyond the annotations.

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 the resource first and the mode taxonomy as a compact parenthetical. It is well sized for a simple list tool, though restating the numeric enum mapping already present in the schema is slightly redundant.

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-optional-parameter read-only list tool with rich annotations and a fully documented schema, the definition supplies what an agent needs to select and invoke it. The only gap is that it does not characterize the returned records (e.g., that each carries a route id, name, and type) despite there being no output schema.

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 both limit and route_type are already fully documented, including the same GTFS code-to-mode mapping repeated in the description. The description therefore adds no meaning beyond the schema; the baseline of 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 states a specific verb and resource ('List Boston MBTA transit routes') and enumerates the five GTFS route categories covered, so an agent can see exactly what domain of object is returned. It does not explicitly differentiate itself from siblings like list_mbta_stops_by_route or get_mbta_live_predictions, though the nouns are distinct enough that confusion is unlikely.

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 only implied: an agent infers this is the tool for discovering routes (e.g., to obtain route identifiers before calling stop or prediction tools), but the description never says when to use it, when not to, or which sibling to prefer. There are no prerequisites or exclusions stated.

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.