Skip to main content
Glama

US MBTA Boston Real-Time Transit and Rail MCP

List MBTA stops by route

list_mbta_stops_by_route
Read-onlyIdempotent

List stations and stops served by a specific MBTA route with municipality, coordinates, and platform metadata.

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": {
      "route": "<route>"
    },
    "name": "list_mbta_stops_by_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum stops to return (default 20, max 50).
routeYesMBTA route ID (e.g. "Red", "Orange", "Blue", "Green-E", "CR-Lowell").
direction_idNoOptional direction ID: 0 (outbound/southbound) or 1 (inbound/northbound).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish a safe, idempotent, read-only, open-world query, so the safety profile is covered. The description adds the useful detail that results carry municipality, coordinates and platform metadata, but says nothing about ordering, pagination beyond the schema's limit, or behavior for an unknown route ID.

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 with no filler; every clause earns its place by naming the resource, the scoping key, and the returned fields.

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 simple, three-parameter read with full schema coverage and no output schema, the description is nearly sufficient; the summary of returned fields compensates for the missing output schema. It falls short only on ordering, result-set size expectations, and error behavior for invalid route IDs.

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

Parameters4/5

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

Schema coverage is 100%, so parameter documentation is already complete (route ID examples, direction_id 0/1 meaning, limit default 20 max 50). The description contributes the notion of 'a specific MBTA route', reinforcing that route is the required selector, but adds no format or edge-case meaning beyond the schema.

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 ('List stations and stops served by a specific MBTA route') and adds what the result contains (municipality, coordinates, platform metadata). It is clearly distinguishable from siblings like list_mbta_transit_routes (routes, not stops) and get_mbta_live_predictions, though it never names an alternative explicitly.

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: the agent must infer this is the tool for enumerating the stops of one route. There is no statement of when to prefer it over siblings, no prerequisites (e.g., needing a route ID first), and no exclusions such as 'use live predictions for real-time arrivals'.

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.