Skip to main content
Glama

Get subway station information

get_subway_station_info
Read-onlyIdempotent

Look up a Korean subway station by name to get exit-linked bus routes and nearby facilities. Add day type and direction for the station timetable; ambiguous names return candidate stations.

Instructions

Resolve a station name, then return exit-linked bus routes and nearby facilities. Supply both dayType and direction to include the station timetable; timetable data is not live arrivals. Ambiguous station names return candidates.

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": {
      "stationName": "<stationName>"
    },
    "name": "get_subway_station_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayTypeNoSchedule day type: 01 weekday, 02 Saturday, 03 Sunday
directionNoSchedule direction: U upbound, D downbound; supply with dayType
stationNameYesKorean subway station 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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds two genuinely useful behavioral facts beyond that: the timetable is schedule data rather than live arrivals, and ambiguous station names return candidates rather than failing. It does not describe result shape, but an output schema exists, so this is a solid 3 bordering on 4.

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 sentences, each carrying a distinct fact: what is returned, how to trigger the timetable branch, and how ambiguity is handled. Nothing is repeated from the schema and there is no filler.

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 read-only lookup with a fully documented three-parameter schema and an output schema, the description covers the decisions an agent must make: whether to request the timetable and what to expect when the name is ambiguous. Return values need no explanation because the output schema handles them, leaving only minor gaps such as whether candidate resolution requires a follow-up call.

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% and both enums are documented inline, so the baseline is 3. The description adds one piece of semantics the schema only hints at: dayType and direction must be supplied together for the timetable to be included, making the coupling of the two optional parameters explicit. That is a modest but real addition beyond the schema.

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 gives specific verbs and resources: resolve a station name, then return exit-linked bus routes and nearby facilities, plus an optional timetable. That is far more concrete than the title alone and implies a bundling role relative to the narrower sibling listers (list_subway_exit_bus_routes, list_subway_exit_facilities). It stops short of naming a sibling to differentiate against, so a 4 rather than a 5.

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?

It states an explicit conditional: supply both dayType and direction to include the station timetable, which tells the agent exactly when the optional branch activates. It also warns that timetable data is not live arrivals, implicitly steering live-arrival needs elsewhere, and explains what happens with ambiguous names. There is no explicit 'use X instead' routing, so 4.

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