Skip to main content
Glama

List arrival cities

list_arrival_cities
Read-onlyIdempotent

List city codes supported by the city bus arrival service, then use each returned code with get_bus_arrivals or get_route_arrivals_at_stop to query arrivals.

Instructions

List city codes supported by the city bus arrival service. Use returned cityCode values with get_bus_arrivals and get_route_arrivals_at_stop.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
pageSizeNoMaximum items per page (1-100); defaults to 10

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety behavior is covered. The description adds one behavioral fact beyond them: the payload's cityCode values are the identifiers expected by downstream arrival tools. It says nothing about result volume or pagination behavior, which the schema only partially covers.

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 short sentences: the first states what is returned, the second states how to use it. Nothing is repeated from the name or annotations and nothing 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?

For a simple read-only reference-list tool with full annotation coverage, a complete output schema, and fully described parameters, the description supplies the one non-obvious fact (the cityCode hand-off). The only gap is disambiguation from other city-listing siblings.

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% with two optional paging parameters fully documented in the schema, so the baseline applies. The description adds no paging or result-count guidance beyond what the schema already states.

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 ('List city codes supported by the city bus arrival service'), scoping the result to the bus-arrival domain rather than cities in general. It does not explicitly distinguish itself from the similarly named sibling list_bus_cities, leaving some ambiguity about which city list an agent should pick.

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 states a downstream use — feed the returned cityCode into get_bus_arrivals and get_route_arrivals_at_stop — which is genuinely useful routing guidance. However, it never says when to choose this list over the other city-listing siblings (list_bus_cities, list_route_cities, etc.), so the when-to-use decision is only implied.

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