Skip to main content
Glama

Bay511 Alerts

bay511_alerts
Read-onlyIdempotent

Current service alerts for a Bay Area operator, delays, detours, elevator outages, planned closures, with cause, effect, the routes and stops affected, and the period each alert is active. AUTHORITATIVE for "is there disruption on BART/Muni right now".

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": "BA"
    },
    "name": "bay511_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
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/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses the payload contents (cause, effect, affected routes and stops, active period) and asserts authority of the source, which helps the agent trust and interpret results.

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?

Two sentences, front-loaded with the resource and scope, with the authority claim placed last as a decision cue. The middle list is dense but each item earns its place by telling the agent what kinds of disruption are returned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 describing return content, and it does so (cause, effect, routes, stops, active period). Combined with full schema coverage and annotations, an agent has everything needed to call and interpret it.

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%, and the agency parameter is already documented with examples and a pointer to bay511_operators. The description adds no format or constraint detail beyond the schema, so the baseline 3 applies.

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+resource ('Current service alerts for a Bay Area operator') and enumerates the alert types covered (delays, detours, elevator outages, planned closures). It is clearly distinguishable from a generic alert feed, though it never names the sibling recent_alerts to draw the current-vs-recent boundary explicitly.

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?

The closing line 'AUTHORITATIVE for "is there disruption on BART/Muni right now"' gives a concrete use case that tells the agent when to reach for this tool. It stops short of stating when NOT to use it or naming an alternative for historical alerts.

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.