Skip to main content
Glama

Bay511 Operators

bay511_operators
Read-onlyIdempotent

Every transit operator publishing through the Bay Area 511 regional feed, BART, Muni, Caltrain, AC Transit, VTA, SamTrans, Golden Gate and ~25 more, with the short agency code the other tools in this pack take. AUTHORITATIVE for "which Bay Area agency code do I use"; call this first.

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

Input Schema

NameRequiredDescriptionDefault
_apiKeyNo511 SF Bay API key. Free and instant from https://511.org/open-data/token. Omit if the operator has configured a platform key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/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 description does not need to restate safety. It adds real context beyond them: the data is a live regional feed spanning ~30 operators and the codes returned are the exact tokens other tools in the pack accept. It does not describe the shape of each entry (code vs. name vs. modes served), which is the one remaining behavioral gap.

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?

Front-loaded with the resource, then the representative operators, then the routing directive. The operator enumeration is longer than strictly necessary but aids recognition for an agent matching an agency name to a code. Two sentences, no filler.

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 zero-required-parameter read-only lookup with no output schema and rich annotations, the description covers what it is, why it matters, and when to call it. Only the returned fields per operator are unexplained, a minor omission for a reference tool the agent will simply read.

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?

The only parameter, _apiKey, has 100% schema description coverage including the acquisition URL and the omit-if-configured note, and the description adds nothing about it. Baseline 3 applies when the schema fully carries the parameter meaning.

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 resource (the operator/agency-code list for the Bay Area 511 feed) and enumerates representative members (BART, Muni, Caltrain, AC Transit, VTA, SamTrans, Golden Gate, ~25 more). It explicitly frames itself as the source of the short agency code that the sibling tools consume, so it is distinguishable from bay511_alerts and bay511_stop_predictions without opening any 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?

Gives an explicit routing instruction: 'AUTHORITATIVE for "which Bay Area agency code do I use"; call this first.' That tells the agent both the condition (needs an agency code before using other 511 tools) and the ordering relative to siblings. No when-not-to-use clause is present, but for a reference-list tool this is essentially complete.

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.