Skip to main content
Glama

Bus arrivals by stop name

bus_arrivals_by_stop_name
Read-onlyIdempotent

Look up live bus arrival predictions by Korean city and stop name, resolving stop IDs in one call; ambiguous names return candidate stops for selection.

Instructions

Answer a city bus arrival question using Korean city and stop names. Resolves IDs and returns live predictions in one call. Ambiguous names return candidates without selecting a stop.

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": {
      "cityName": "<cityName>",
      "stopName": "<stopName>"
    },
    "name": "bus_arrivals_by_stop_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNameYesKorean city name, e.g. 대구광역시
stopNameYesBus stop name as displayed, e.g. 동대구역
stopNumberNoPublic stop number to distinguish stops with the same name

Output Schema

NameRequiredDescriptionDefault
dataYes
stageYes
statusYes
detailsNo
messageYes
summaryYes
resolvedYes
candidatesYes
observedAtNo
sourceServicesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: ID resolution happens internally in one call, and ambiguous names return candidates instead of silently selecting a stop — a meaningful edge case. It does not mention no-result behavior or rate limits.

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 compact sentences with zero filler, front-loading what the tool does before the resolution and ambiguity notes. Nothing could be cut 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?

With annotations and an output schema already covering safety and return shape, the description only needs to explain the resolution flow and the ambiguous-name case, which it does. The remaining gap is that it doesn't say how to act on returned candidates (e.g., retry with stopNumber) or what an empty result means.

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 cityName, stopName, and stopNumber are already documented with examples in the schema. The description reinforces that names must be Korean and displayed-form, but never mentions stopNumber or that it is the way to resolve the ambiguity it warns about, so it adds only marginal meaning.

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 states a specific verb and resource: answering a bus arrival question by city and stop name, resolving IDs and returning live predictions in a single call. This clearly distinguishes it from ID-based or route-based siblings like get_bus_arrivals and get_route_arrivals_at_stop, though it never names them explicitly.

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?

Usage context is clear: call it when you have a Korean city name and a displayed stop name rather than pre-resolved IDs. It even documents the ambiguous-name path, but it stops short of explicit exclusions such as directing the agent to an ID-based tool when a stop ID is already known.

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