Skip to main content
Glama

Taiwan Transit

Get bus arrival estimates

get_bus_arrivals
Read-onlyIdempotent

Estimated arrival times of a city or intercity bus route at each stop, or at one stop. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-transit/): each call names a method and passes its arguments in args.

Methods:

  • busArrivals (Taiwan bus arrival estimates): Estimated arrival minutes and status (arriving soon, not yet departed, last bus has passed and so on) at every stop of one city bus or intercity bus route in Taiwan, ordered by direction and stop sequence. Can be narrowed to one stop or direction. Refreshes every 30 seconds. Args: city (required): City or county in Chinese, English, Japanese, Korean or Vietnamese (for example Taipei, Kaohsiung), or intercity for intercity and highway buses.; route (required): Route name as posted in Chinese characters or digits, for example 307.; stop: Only stops whose name matches, in any supported language.; direction: 0 for outbound or 1 for return. Omit for both..

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": {
      "method": "<method>"
    },
    "name": "get_bus_arrivals"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments of the method, as listed in the tool description
langNoLanguage for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en
methodYesMethod from the list in the tool description
offsetNoPosition in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description earns credit for adding what they cannot: that this is a method-dispatch wrapper taking method plus args, that data is sourced from CubeLV's Taiwan open data service, and that estimates refresh every 30 seconds. Return contents are characterized (arrival minutes plus status values like 'arriving soon', 'last bus has passed'), which is useful given there is no output schema.

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?

The lead sentence comes first and the method list is separated cleanly with an explicit args annotation per parameter. It is dense but largely earned; the sentence about naming a method and passing args in args partly restates the schema, which is the only real slack.

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 wrapper tool with a nested free-form args object and no output schema, the description supplies the required argument contract, freshness interval, and data provenance. Pagination is handled by the schema's offset field, so its omission from prose is acceptable; a brief note on what a 'not yet departed' vs 'last bus has passed' status means for downstream logic would close the last gap.

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

Parameters5/5

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

Although schema coverage is nominally 100%, the args property is an untyped free-form object with additionalProperties, so the description is the only place the real arguments are defined: city (required, multilingual, or 'intercity'), route (required, posted Chinese/digit form), stop (name match in any supported language), and direction (0 outbound / 1 return, omit for both). This is meaning the schema cannot supply.

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 opening sentence gives a specific verb and resource ('Estimated arrival times') plus the scope ('at each stop, or at one stop'), and the mode (bus, city vs intercity) implicitly separates it from the metro/train/YouBike siblings. It stops short of naming an alternative tool directly, so the differentiation is inferential rather than explicit.

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 the description of what the method returns and by the 'Refreshes every 30 seconds' note, which hints at freshness-sensitive use. There is no explicit statement of when to prefer this over get_metro_trip or get_train_timetable, and no stated exclusions or prerequisites beyond the required city and route args.

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.

Resources