Skip to main content
Glama

Get bus route status

get_bus_route_status
Read-onlyIdempotent

Resolve a city and bus route number to retrieve route metadata, ordered stops, and current vehicle locations in one call; duplicate route numbers return candidate matches.

Instructions

Resolve a city and route number, then return route metadata, ordered stops, and current vehicle locations in one call. Duplicate route numbers return candidates. Vehicles may be empty when none are currently reported. Optionally returns a static map of vehicle locations.

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

Input Schema

NameRequiredDescriptionDefault
cityNameYesKorean city or region name, e.g. 대구광역시
includeMapNoInclude a static vehicle map when Maps credentials are configured
routeNumberYesBus route number as displayed, e.g. 401

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

A3.7/5.0
Behavior4/5

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

Annotations already declare it read-only, idempotent, non-destructive and open-world, so the safety bar is low. The description still adds real behavioral context: duplicate route numbers yield candidate results rather than an error, vehicles can legitimately be empty, and the map is conditional on credentials. That is genuine value beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the core action, then edge cases. Every sentence carries information the agent would otherwise have to learn from a failed call. Slightly clipped phrasing ('Duplicate route numbers return candidates') but nothing wasted.

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 so return shapes need not be described, and the annotations cover the safety profile. The description fills the remaining gaps an agent needs — aggregate scope, candidate-result behavior, empty-vehicle case, optional map — leaving only sibling routing unaddressed.

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 cityName, routeNumber and includeMap are already documented with examples and the credentials caveat. The description only restates the two required inputs and the optional map, adding no format or syntax detail beyond the schema — baseline 3 applies.

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 action chain (resolve city + route number) and a concrete payload (route metadata, ordered stops, vehicle locations) in one call. That clearly distinguishes it from a pure metadata lookup like get_bus_route, though it never names the siblings it aggregates (get_route_bus_locations, list_route_stops) so the differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

The phrase 'in one call' hints that this is a convenience aggregate for agents that would otherwise chain several lookups, which is implicit usage guidance. However, it never states when to prefer this over the narrower sibling tools, nor any prerequisites beyond city/route resolution.

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