Skip to main content
Glama

Bus arrival predictions

get_bus_predictions
Read-onlyIdempotent

Get real-time bus arrival predictions for a DC Metro bus stop.

Input Schema

NameRequiredDescriptionDefault
stopIdYesDC Metro 7-digit regional bus stop ID (e.g., "1001195")

Output Schema

NameRequiredDescriptionDefault
cityYes
stopIdYes
predictionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / stopId / pattern
      Added value: +"^\\d{7}$"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false. The description adds only that predictions are real-time; it does not discuss freshness, update cadence, or rate limits, though an output schema exists for return values.

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 clear sentence with the core purpose front-loaded and no wasted words.

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?

For a simple one-parameter read-only prediction tool, the description, rich schema, annotations, and output schema together provide enough context for an agent to call it correctly.

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 single stopId parameter is fully documented in the schema with format and example. The description adds no additional parameter meaning beyond the schema.

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 states a specific verb and resource: getting real-time bus arrival predictions for a DC Metro bus stop. It distinguishes bus predictions from train/station predictions through the word "bus," though it does not explicitly name sibling alternatives.

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

Usage Guidelines3/5

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

Usage is implied by "for a DC Metro bus stop," but the description does not state when to use this tool versus get_station_predictions, get_departures, or get_bus_positions. No exclusions or alternative-routing guidance are provided.

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.