Skip to main content
Glama

List route cities

list_route_cities
Read-onlyIdempotent

List supported city codes for the city bus route service, then use the returned cityCode values to find bus routes, retrieve route details, and list route stops.

Instructions

List city codes supported by the city bus route service. Use returned cityCode values with find_bus_routes, get_bus_route, and list_route_stops.

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_route_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.8/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 safety behavior is covered. The description adds only that the response carries cityCode values; it says nothing about result volume, whether the full set is returned, or how paging behaves across the live bus-route dataset.

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 with no filler: the purpose statement comes first, followed by the consumption hint. Nothing is redundant with the title or schema.

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, the description needn't explain return shape, and annotations plus schema cover safety and paging. What remains thin is any indication of expected result size or how this list relates to the other city lists, but for a simple two-parameter read tool this is close to complete.

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% and both page and pageSize are fully documented with ranges and defaults in the schema, so the baseline of 3 applies. The description contributes no additional semantics about paging, ordering, or how pageSize interacts with the city list.

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 and resource ('List city codes') and scopes it to 'the city bus route service', which separates it from the other city-list siblings (train, express, intercity, arrival). It stops short of explicitly contrasting those siblings, so an agent must infer the distinction from the scoping phrase alone.

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?

It gives concrete downstream guidance: the returned cityCode values feed find_bus_routes, get_bus_route, and list_route_stops, which is genuinely useful workflow context. It offers no exclusion or when-not-to-use rule relative to the many other list_*_cities tools, which keeps it below a 5.

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