Skip to main content
Glama

Find bus stops

find_bus_stops
Read-onlyIdempotent

Locate city bus stops by stop name or public stop number using a city code, then use the returned node ID to check arrivals or routes.

Instructions

Find city bus stops in a city by stop name or public stop number. For GPS coordinate search, use find_nearby_bus_stops. Use returned nodeid with get_bus_arrivals or list_stop_routes.

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>"
    },
    "name": "find_bus_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-1000); defaults to 1
nodeNmNoBus stop name substring to search
nodeNoNoPublic bus stop number displayed on the stop sign
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

A4.4/5.0
Behavior4/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 needs no restating. The description adds behavior beyond that: results carry a nodeid that other tools consume, which tells the agent this is a lookup/chaining step rather than a terminal call. It does not discuss empty-result handling or pagination depth, keeping it just short of a 5.

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?

Three short clauses, front-loaded with the core purpose, then the alternative, then the next step. Zero filler and nothing repeated from the schema or annotations.

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 parameter descriptions, and complete annotations, the description only needs to supply routing and purpose, which it does. Minor gaps such as what happens on zero matches or how many pages are worth walking are not covered but are low-risk for a read-only search tool.

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%, so cityCode, nodeNm, nodeNo, page and pageSize are all documented structurally. The description only adds the mapping that name-or-number are the two alternative search keys; it does not explain the cityCode dependency or paging defaults, which remain solely in the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Find city bus stops in a city") plus the two search keys (stop name, public stop number). It also explicitly separates itself from the sibling find_nearby_bus_stops, so an agent can pick between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit exclusion (GPS coordinate search belongs to find_nearby_bus_stops) and a follow-on workflow: use the returned nodeid with get_bus_arrivals or list_stop_routes. This is when-to-use, when-not-to-use, and next-step guidance in two sentences.

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