Skip to main content
Glama

get_service_alerts

Retrieve real-time transit alerts, disruptions, construction advisories, and delays for any city, with optional route filtering to pinpoint relevant service issues.

Instructions

Retrieves real-time transit service alerts, disruptions, construction advisories, and delays.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYesCity identifier or alias (e.g. 'msp', 'boston', 'sf_bart', 'chicago', 'portland')
route_idNoOptional route or line to filter alerts (e.g. '901', 'Red', 'Blue')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only says the data is 'real-time.' It does not mention authentication needs, rate limits, response shape, or any side effects. This leaves important operational behavior undisclosed.

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?

A single 11-word sentence that is front-loaded with the action and resource. There is no filler or redundancy, and it earns its place.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with full parameter schema coverage, this is mostly adequate. However, without annotations or an output schema, the description does not disclose output format, pagination, or filtering behavior, so there are clear gaps an agent would need to infer.

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 baseline is 3. The description adds no parameter-specific meaning beyond what the schema already documents, such as how route_id filters alerts or how city aliases are resolved.

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?

The description uses the specific verb 'Retrieves' and names a clear resource: real-time transit service alerts, disruptions, construction advisories, and delays. This is distinct from sibling tools like get_departures or list_routes, though it does not explicitly call out those alternatives.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives such as get_departures or get_route_stops. The description states only what the tool retrieves, not the conditions or context that should lead an agent to choose it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.