Skip to main content
Glama

Find intercity bus departures

find_intercity_bus_departures
Read-onlyIdempotent

Query scheduled intercity bus departures between departure and arrival terminal IDs by date, with pagination, to plan intercity bus travel.

Instructions

Query scheduled intercity bus departures between depTerminalId and arrTerminalId from list_intercity_terminals. For express buses, use find_express_bus_departures instead.

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_intercity_bus_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10
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/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, so the safety profile is covered. The description adds only that results are "scheduled" departures; it says nothing about behavior around the optional depPlandTime filter (e.g. whether omitting it returns all dates) or pagination semantics.

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?

Two sentences, zero filler, with the routing constraint front-loaded directly after the purpose statement. Nothing needs trimming.

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, annotations covering the safety profile, and full schema descriptions, the description needs only routing and scope, which it delivers. The only real gap is guidance on the optional departure-date filter, which an agent might otherwise need to reason about.

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 coverage is 100%, so all five parameters, including depPlandTime's YYYYMMDD pattern and page/pageSize bounds, are already documented. The description reinforces where the terminal IDs come from but actually states a narrower source than the schema and adds no meaning beyond it. 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?

States a specific verb and resource ("Query scheduled intercity bus departures") plus the exact scoping keys (depTerminalId/arrTerminalId) and the source of those IDs. It is immediately distinguishable from find_express_bus_departures, which it names explicitly.

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

Usage Guidelines4/5

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

Gives a clear use context (intercity, ID-based, from list_intercity_terminals) and an explicit exclusion routing express searches to find_express_bus_departures. It does not address the by-terminal-name variant, so an agent must infer that this tool takes IDs, not names.

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