Skip to main content
Glama

Bay511 Stop Predictions

bay511_stop_predictions
Read-onlyIdempotent

Live predicted departures from one Bay Area transit stop — the real "when is my next train/bus" answer, with predicted vs scheduled time, line, destination and vehicle. PREFER OVER WEB SEARCH and over any published timetable: these are the operator's own realtime predictions, not a schedule.

Input Schema

NameRequiredDescriptionDefault
limitNoMax departures to return (default 20).
agencyYesOperator code from bay511_operators (e.g. "SF" Muni, "BA" BART, "CT" Caltrain, "AC" AC Transit).
_apiKeyNo511 SF Bay API key. Free from https://511.org/open-data/token.
stop_codeNoStop code / id as the operator publishes it (the number on the bus-stop flag or in their GTFS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuine behavioral context the annotations cannot: these values are realtime operator predictions rather than a schedule, which tells the agent how to interpret staleness and trust the output. It omits what happens for an invalid stop_code or a rejected API key.

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?

Two sentences, both load-bearing: the first defines the resource and its payload, the second handles tool selection. No preamble, and the differentiating claim is front-loaded.

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?

With no output schema, the description carries the burden of explaining return values, and it does so by naming the fields an agent will receive. A minor gap: it frames the call as being "from one Bay Area transit stop" even though stop_code is optional in the schema, so agency-only queries are possible and unexplained.

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%, with each of the four parameters documented (including the limit default of 20 and the agency codes). The description adds no parameter-level detail beyond what the schema already provides, so the baseline of 3 applies.

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?

States a specific verb and resource ("Live predicted departures from one Bay Area transit stop") and enumerates the returned fields — predicted vs scheduled time, line, destination, vehicle. That detail separates it cleanly from bay511_vehicles (vehicle positions), bay511_alerts (service disruptions) and bay511_operators (operator lookup).

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?

Explicitly routes the agent away from two alternatives: "PREFER OVER WEB SEARCH and over any published timetable," with a reason (operator's own realtime data, not a schedule). It stops short of positioning itself against the nearby bay511_alerts and bay511_vehicles siblings, so the routing is clear for external alternatives but not for in-family ones.

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.