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.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

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 readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered by structured data. The description adds genuinely new behavioral context by describing what comes back (real-time position, bearing, current line/trip, next stop) and by asserting authority over live position data. It does not mention update cadence, rate limits, or how the API key is handled, which are minor omissions given annotation coverage.

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 front-loads what the tool returns, the second front-loads the routing decision before naming the alternative. No filler or repeated title text.

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?

There is no output schema, so the description's enumeration of returned fields is doing real work and largely covers what an agent needs. Missing only secondary details such as result ordering, whether vehicles for multiple agencies can be returned, and freshness/polling expectations.

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 every parameter (agency, line, limit, _apiKey) is already documented in the schema. The description only reinforces the operator-scoping constraint implicit in the required 'agency' parameter; it adds no syntax or format detail beyond the schema. Baseline 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?

Description states a specific verb-like scope (live vehicle positions) plus the resource (one Bay Area operator's fleet) and even enumerates the payload: position, bearing, line, trip, next stop. It explicitly differentiates itself from the sibling bay511_stop_predictions, so an agent can separate the two 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?

Provides an explicit routing rule: this tool is AUTHORITATIVE for live fleet position, and bay511_stop_predictions should be used when the question concerns a specific stop. The condition that selects the alternative is named rather than inferred.

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.