Skip to main content
Glama

Bay511 Vehicles

bay511_vehicles
Read-onlyIdempotent

Where one Bay Area operator's vehicles are right now — position, bearing, the line and trip each is running, and its next stop. AUTHORITATIVE for live fleet position; use bay511_stop_predictions instead when the question is about a specific stop.

Input Schema

NameRequiredDescriptionDefault
lineNoOptional: only vehicles on this line/route id.
limitNoMax vehicles to return (default 100).
agencyYesOperator code from bay511_operators (e.g. "SF", "BA", "CT").
_apiKeyNo511 SF Bay API key. Free from https://511.org/open-data/token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low. The description adds real value beyond them by disclosing the exact fields returned and asserting authority/recency ('right now', 'AUTHORITATIVE'), which is the key behavioral trait for a live-position feed. It does not discuss staleness windows or rate limits, keeping it short of a 5.

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: the first front-loads what the tool returns, the second front-loads the authority claim and the routing rule. There is no filler or restatement of the name.

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 usefully enumerates the returned fields, which is exactly what an agent needs to decide whether this answers the question. Only minor gaps remain (whether results are paginated or how fresh the positions are), and the agency/limit semantics are covered by the 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 the operator code, line filter, limit and API key are all already documented with examples. The description adds no syntax or format detail beyond the schema, so the baseline 3 applies; the phrase 'the line and trip' merely echoes the existing line parameter.

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?

Specific verb+resource framing ('Where one Bay Area operator's vehicles are right now') with the exact payload enumerated (position, bearing, line, trip, next stop). It explicitly sets itself apart from the sibling stop-level tool, so an agent can distinguish it without opening either schema.

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

Usage Guidelines5/5

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

States both sides of the routing decision: 'AUTHORITATIVE for live fleet position' versus 'use bay511_stop_predictions instead when the question is about a specific stop.' That names the alternative and the condition that selects it, leaving nothing to inference.

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.