Skip to main content
Glama

Buses arriving at a stop

bus_stop_arrivals
Read-only

Retrieves all bus arrivals for a stop and city by station UID or stop name, ordered by soonest arrival, showing minutes to arrival and each bus's destination.

Instructions

Every bus due at one stop, all routes at once, soonest first: minutes to arrival, where each bus is heading, and the buses after it. Give the stationUID from bus_stops_nearby, or the stop name. Example: city "Taipei", stationUID "TPE1895"; or city "Taipei", stop "臺北車站(鄭州)".

Input Schema

NameRequiredDescriptionDefault
cityYesCity: a TDX code (Taipei, NewTaipei, Taoyuan, Taichung, Tainan, Kaohsiung, Keelung, Hsinchu, HsinchuCounty, MiaoliCounty, ChanghuaCounty, NantouCounty, YunlinCounty, ChiayiCounty, Chiayi, PingtungCounty, YilanCounty, HualienCounty, TaitungCounty, KinmenCounty, PenghuCounty, LienchiangCounty) or its Chinese name (臺北市, 新北市, ...), or "InterCity" for 公路客運 / 國道客運 coaches between cities.
stopNoExact stop name in Chinese or English, e.g. "臺北車站(鄭州)"; matches the stops of that name on both sides of the street.
limitNoMaximum number of arrivals to return (default 30).
stationUIDNoStation ID from bus_stops_nearby, e.g. "TPE1895" (one side of the street).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the main behavioral burden is lighter. The description adds useful beyond-annotation context: results are ordered soonest first, include minutes to arrival, destination/heading, and subsequent buses, and cover all routes at one stop.

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?

The definition is front-loaded with the core behavior and then immediately gives the input pattern and examples. Both sentences earn their place, and there is no redundant or vague filler.

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

Completeness4/5

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

For a read-only, open-world live-arrival tool with no output schema, the description does a good job explaining the main return contents and ordering. It is not fully complete about edge cases such as empty results or ambiguity handling, but the schema covers all parameters thoroughly.

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 all four parameters already have clear schema-level documentation. The description reinforces the stationUID source and gives examples, but it does not add much beyond the schema and does not mention the limit parameter.

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 gives a specific verb-and-resource picture: it returns every bus due at one stop across all routes, ordered soonest first, with arrival minutes and destinations. It clearly separates itself from bus_stops_nearby by explaining that stationUID comes from that sibling, but it does not explicitly distinguish itself from other bus-related siblings such as bus_eta or bus_timetable.

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?

It tells the agent to supply either a stationUID from bus_stops_nearby or a stop name and provides concrete examples, which implies the likely workflow. However, it does not state when to use this tool instead of bus_eta, bus_timetable, bus_positions, or other bus siblings, nor does it give exclusions.

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