Skip to main content
Glama

bus_arrivals

Read-onlyIdempotent

Retrieve predicted bus arrival times for up to 10 CTA stop IDs, including route, direction, destination, and delay status so you can plan trips.

Instructions

Predicted bus arrivals at stops, with minutes, direction, destination and delay flags.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stop_ids": "<stop_ids>"
    },
    "name": "bus_arrivals"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
routesNoOnly these routes.
stop_idsYesUp to 10 CTA bus stop ids (find them with find_bus_stops or bus_route_info).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld and idempotent, so the safety profile is covered. The description adds the useful facts that values are predictions (not schedules) and include delay flags, but says nothing about freshness, caching, or what happens when a stop has no upcoming arrivals. Modest added value, no contradiction.

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 redundancy. It is efficient, though its brevity is partly the cause of the missing usage and parameter guidance rather than a sign of completeness.

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?

Because an output schema exists, the description need not explain return values, and the annotations cover safety. For a three-parameter tool, though, the definition is thin: it omits any usage context, any explanation of 'top'/'routes', and any relationship to the many sibling lookup tools. Adequate but clearly gapped.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description mentions no parameters whatsoever. Schema coverage is 67%, leaving 'top' entirely undocumented and 'routes' with only a terse 'Only these routes.' The description does not compensate for those gaps or explain the 10-stop limit, so it adds nothing beyond the input 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 names a specific verb+resource: predicted bus arrivals at stops, and enumerates the returned fields (minutes, direction, destination, delay flags). The word 'bus' implicitly distinguishes it from train_arrivals, but the description never names or contrasts any sibling, so it falls short of a 5.

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, when-not-to-use, or alternative guidance at all. An agent must infer from the name that this is the bus (not train) arrival tool and that bus_vehicles or bus_route_info play different roles. The only routing hint in the whole definition lives in the stop_ids schema field, not the description.

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