Skip to main content
Glama

Find express bus departures

find_express_bus_departures
Read-onlyIdempotent

Retrieve scheduled express bus departure times, grades, and availability between two terminal IDs for a chosen date. Use terminal IDs from the express terminal list; for intercity buses, use the intercity tool instead.

Instructions

Query scheduled express bus departures, times, and grades between depTerminalId and arrTerminalId. Obtain terminal IDs from list_express_terminals. Not for intercity buses (use find_intercity_bus_departures).

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": {
      "depTerminalId": "<depTerminalId>",
      "arrTerminalId": "<arrTerminalId>"
    },
    "name": "find_express_bus_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10
busGradeIdNoExpress bus grade ID from list_express_bus_grades
depPlandTimeNoPlanned departure date in YYYYMMDD format (e.g. 20261125)
arrTerminalIdYesArrival terminal ID (terminalId) from list_express_terminals or list_intercity_terminals
depTerminalIdYesDeparture terminal ID (terminalId) from list_express_terminals or list_intercity_terminals

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds a useful dependency chain (terminal IDs come from list_express_terminals), but says nothing about empty-result behavior, pagination limits, or how far in advance schedules are published, which matters for an openWorld schedule lookup.

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?

Three short sentences with no filler: what it queries and over which keys first, then the ID source, then the exclusion. Each sentence carries distinct information.

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?

With an output schema present and full schema coverage, the description need not explain return values, and it handles the main agent stumbling block (where terminal IDs come from). The only unaddressed point is that depPlandTime is optional, leaving unclear what date the results default to when it is omitted.

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 every parameter is already documented, including formats and bounds. The description only restates the two required IDs and gestures at time/grades, adding no syntax or constraint meaning beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (Query) and resource (scheduled express bus departures, times, and grades) and scopes it to the depTerminalId/arrTerminalId pair. It explicitly separates itself from find_intercity_bus_departures, so an agent can disambiguate without opening either schema.

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

Usage Guidelines5/5

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

It gives the prerequisite for obtaining IDs ("Obtain terminal IDs from list_express_terminals") and an explicit exclusion with a named alternative ("Not for intercity buses (use find_intercity_bus_departures)"). Both when-to-use and when-not-to-use are covered.

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