Skip to main content
Glama

List intercity terminals

list_intercity_terminals
Read-onlyIdempotent

Search intercity bus terminals and retrieve terminal IDs filtered by terminal name or city code to support departure lookups.

Instructions

List or search intercity bus terminals (terminalId), optionally filtered by terminalNm or cityCode, for find_intercity_bus_departures.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_intercity_terminals"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
cityCodeNoTAGO city code from a city-list tool, including list_pm_providers for personal mobility
pageSizeNoMaximum items per page (1-100); defaults to 10
terminalNmNoPartial terminal name to search

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile needs no restatement. The description adds only the downstream-consumption context and says nothing about pagination totals, empty-result behavior, or result volume limits. That is acceptable given the annotation coverage but not rich.

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 covering purpose, filters and downstream use. Slightly dense with parentheticals, but no sentence is wasted.

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?

An output schema exists and annotations are complete, so the description does not need to explain return values. With four optional parameters fully documented in the schema, what remains is only a minor gap around pagination or result-count behavior.

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%, with page, pageSize, cityCode and terminalNm each documented, including the note that terminalNm is a partial match. The description restates the two filters but adds no syntax or precedence detail beyond the schema, so the baseline 3 applies.

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 (List or search) and resource (intercity bus terminals) and identifies the key returned identifier (terminalId), which lets an agent distinguish this from the express/ship terminal siblings. It stops short of explicitly contrasting itself with those siblings, but the mode qualifier 'intercity bus' does most of that work.

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?

The trailing 'for find_intercity_bus_departures' tells the agent this is a lookup step in a chained workflow, which is genuinely useful routing guidance. It does not state when not to use it or when one filter should be preferred over another, so it falls short of full when/when-not coverage.

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