Skip to main content
Glama

search_operation_patterns

Find train operation patterns by route code or name, with optional electric-only filtering. Returns route codes, names, and electric operation status.

Instructions

전국 철도 노선 정보를 검색합니다. (총 2,146개)

⚠️ 여기서 "노선"은 물리적 선로(경부선·호남선 등)가 아니라 열차 운행계통 코드입니다. 경부선 선로 하나에도 다양한 경유 패턴의 운행계통이 수백 개 존재합니다. "비전기 노선이 몇 개냐" 같은 인프라 기준 질문에는 수치가 과대 계산됩니다.

Args: query: 노선코드(ROUT_CD) 또는 노선명(ROUT_NM) 검색어 (부분 일치). 없으면 전체 반환. ※ 노선명에 "KTX" 문자열 없음. 고속선은 "고속", "경부고속" 등으로 표기됨. electric_only: True면 전기동력차 운행 노선만, False면 비전기 노선만. None이면 전체.

Returns: 노선코드(ROUT_CD), 노선명(ROUT_NM), 전기동력차운행여부(ELC_LCM_RUN_FLG) 목록.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
electric_onlyNo
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses the crucial semantic trap that routes are operation systems, not physical lines, and explains the meaning of the electric_only parameter. It also lists return fields, but does not mention pagination, response size, or any other runtime behavior; overall, this is strong disclosure for a simple search tool.

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?

The description is front-loaded with the search purpose and total count, immediately followed by the most important disambiguation warning. The Args/Returns sections are compact and every sentence adds useful information; there is no filler or repetition.

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 two-parameter optional search tool with no output schema, the description is quite complete: it defines both parameters, the return columns, and the key domain misinterpretation. It could be slightly more complete by providing a concrete example or clarifying whether results are paginated, but nothing essential is missing for selecting and invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates: it explains query as ROUT_CD/ROUT_NM partial match, notes that omitting query returns all results, and clarifies the KTX naming nuance ('고속', '경부고속' rather than 'KTX'). It also precisely documents the tri-state behavior of electric_only, exceeding what the bare schema provides.

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?

The description states a specific verb and resource: searching nationwide railway route information, with a total count. It goes further by distinguishing the domain meaning of '노선' as a train operation system code rather than a physical track, which separates it from sibling tools like search_route or get_station_track_info.

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?

The description gives clear context on how to use it: query can be partial and optional, electric_only has tri-state semantics, and an explicit warning says infrastructure-based questions like 'how many non-electrified lines are there' will produce inflated numbers. It stops short of naming alternative tools to use instead, so it does not fully meet the 'when-not-to-use with alternatives' bar.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lovelyquality/korail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server