Skip to main content
Glama

service_alerts

Read-onlyIdempotent

Retrieve active CTA alerts covering delays, planned work, reroutes, station closures and elevator outages, filtered by line, station or bus route.

Instructions

Active CTA alerts: delays, planned work, reroutes, station closures and elevator outages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
lineNo'L' line: Red, Blue, Brown, Green, Orange, Purple, Pink or Yellow.
stationNoStation name or map id.
bus_routeNoBus route, e.g. '22' or 'X9'.
elevatorsNotrue: only elevator outages; false: hide them.
include_busNoWith no other filter, include bus alerts too.
include_detailsNoAdd the full alert text.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, open-world behavior, so the description only needs to add operational nuance. It contributes the 'active only' scoping and the category list, but says nothing about how filters combine, what happens when line and station are both supplied, or how alerts are ordered.

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?

A single front-loaded sentence with no filler or repetition. It is lean, though its brevity is partly why other dimensions are thin.

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?

With an output schema and full annotation coverage, the safety and return-shape burden is off the description. What is missing for a six-parameter, zero-required filter tool is the default behavior (no filters = all alerts) and the elevator-only mode, which are the main things an agent must reason about.

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 coverage is 100% and each of the six optional parameters is documented in the schema, including the unusual include_bus interaction ('with no other filter'). The description adds no parameter meaning beyond that, 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?

Names the resource (CTA alerts) and enumerates the specific alert categories covered — delays, planned work, reroutes, closures, elevator outages — so the agent knows the content shape. It does not explicitly distinguish itself from line_status or loop_status, which likely also surface disruption information.

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?

There is no when-to-use guidance and no named alternative. The description never says whether to call this instead of line_status, nor that calling with no arguments returns all active alerts across the system.

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