Skip to main content
Glama

List bus cities

list_bus_cities
Read-onlyIdempotent

Lists TAGO city codes for supported city bus stop APIs, so you can pass the returned cityCode to find_bus_stops or find_bus_routes.

Instructions

List TAGO city codes supported by the city bus stop APIs. Pass returned cityCode to find_bus_stops or find_bus_routes.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
itemsYes
sourceUrlYes
catalogUrlYes
observedAtYes
totalCountYes
sourceServiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world access, so the safety profile is covered. The description adds the essential behavioral fact that the output is a key (cityCode) consumed by other tools, which is the main thing an agent needs beyond the hints. It says nothing about how many cities are returned or ordering, but that is minor here.

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 tight sentences: what it returns first, what to do with it second. Zero filler and perfectly front-loaded.

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, full annotation coverage, and no inputs, the description covers everything needed to invoke the tool and use its result. The only missing piece is disambiguation from the many sibling city listers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there are no argument semantics to explain; the baseline applies. The description does clarify the meaning of the returned field (cityCode), which slightly exceeds the parameter-level obligation.

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 TAGO city codes supported by the city bus stop APIs.' The scope qualifier ('city bus stop APIs') hints at the boundary with the express/intercity/arrival city listers, but the description never names those siblings to make the distinction explicit.

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 downstream direction — 'Pass returned cityCode to find_bus_stops or find_bus_routes' — which tells the agent exactly where this tool sits in the workflow. It does not say when to pick this lister over the other *_cities listers, so the comparison gap remains.

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