Skip to main content
Glama

List routes at stop

list_stop_routes
Read-onlyIdempotent

Lists city bus routes serving a specific stop using cityCode and nodeid; obtain both identifiers from find_bus_stops first to retrieve the stop's route options.

Instructions

List city bus routes serving a specific stop. Obtain cityCode and nodeid from find_bus_stops first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cityCode": "<cityCode>",
      "nodeid": "<nodeid>"
    },
    "name": "list_stop_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
nodeidYesCity bus stop ID (nodeid) returned by find_bus_stops or find_nearby_bus_stops
cityCodeYesTAGO city code from a city-list tool, including list_pm_providers for personal mobility
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, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds only the upstream dependency on find_bus_stops; it says nothing about pagination behavior, result ordering, or what an empty stop returns, though the output schema may cover the return shape.

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 sentences, zero waste, with the core purpose front-loaded and the prerequisite immediately after. Every sentence carries necessary 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?

For a simple read-only list tool with full schema coverage and an output schema, the description covers purpose and the required input provenance. A brief note on paging through results or how this differs from sibling route/arrival tools would close the remaining gap.

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%, so all four parameters are documented in the schema itself (including page and pageSize defaults and bounds). The description reinforces the provenance of cityCode and nodeid, but adds no syntax or format meaning beyond that baseline.

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 bus routes') plus a scope qualifier ('serving a specific stop'), which separates it from route-oriented siblings like list_route_stops. It does not name a sibling explicitly, so differentiation still requires reading the name/title.

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 a clear prerequisite: obtain cityCode and nodeid from find_bus_stops first, which is actionable context not in the schema. It stops short of naming alternatives (e.g., get_route_arrivals_at_stop or list_subway_exit_bus_routes) or stating when this tool is the wrong choice.

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