Skip to main content
Glama

List intercity cities

list_intercity_cities
Read-onlyIdempotent

List city codes supported by the intercity bus service to filter intercity terminal searches by city.

Instructions

List city codes supported by the intercity bus service for filtering list_intercity_terminals.

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_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 the safety profile is fully covered. The description adds genuine value by telling the agent that the returned values are codes intended as filter keys for another tool, but says nothing about result volume, ordering, or whether pagination is typically needed in practice.

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?

A single front-loaded sentence with no filler; the purpose and the downstream use are both stated in one clause pair. Nothing could be removed without losing 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?

An output schema exists and annotations cover behavior, so the description only needs to convey intent and the shape of the values, which it does. The minor remaining gap is that it never hints at how large the returned code list is or whether agents should page through it routinely.

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% and both page/pageSize entries carry their own ranges and defaults, so the schema already does the parameter work. The description adds no paging or ordering detail beyond that, which is the expected baseline-3 case.

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?

States a specific verb and resource ('List city codes supported by the intercity bus service') plus the exact predicate the result feeds into. An agent can distinguish it from bus/express/train city listers by the 'intercity bus' scoping, though the sibling family of other city-list tools is not explicitly ruled in or out.

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 clear positive guidance: call this to obtain codes for filtering list_intercity_terminals, which is a concrete workflow cue. It does not state when not to use it (e.g. when you already know the city name and should use a name-based lookup like find_intercity_departures_by_terminal_name).

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