Skip to main content
Glama

get_urban_train_facility

Get safety and emergency facilities on a specific urban rail car using operator, car sequence, and composition type.

Instructions

도시철도 차량(호차)별 시설 조회 (역 무관).

facility_type: fire_extinguisher(소화기) / emergency_phone(비상콜폰) / crush_hammer(비상탈출망치) / door_manual(출입문 수동설정) / defibrillator(제세동기) / pregnant_seat(임산부 배려석) / priority_seat(노약자석) / wheelchair_board(휠체어 승차가능) / wheelchair_belt(휠체어 안전벨트) / all(전체) operator: 운영기관 코드/명. scar_seq: 호차일련번호(scarSqno, 예 '1'). composition_type: 편성유형코드(cpsTpCd). get_urban_train_composition으로 먼저 확인한다. 주의: 운영기관마다 보유 항목이 달라 일부 종류는 빈 결과일 수 있다.

[답변 지침] _meta의 '데이터수정일'(KRIC 데이터 최종수정 시점, 측정성 데이터는 '측정시점')을 근거로 데이터 시점을 알리되, 수정일에 따라 톤을 달리하라.

  • 최근(약 2년 이내, 예 2025~2026): 답변 끝에 '데이터는 OOOO년 기준'을 간결히 한 줄만. 경고 문구나 고객센터 전화번호를 따로 나열하지 마라.

  • 오래됨(2019~2021 등): 한 줄 고지에 더해 '최신 현황과 다를 수 있어 운영기관 확인 권장'을 딱 한 번만 덧붙여라. 전화번호는 사용자가 묻거나 응급·안전 관련일 때만. 여러 데이터셋을 함께 보여줄 땐 가장 오래된 수정일 기준으로 한 번만 고지하면 된다. 시점 고지·주의 문구를 답변 안에서 반복하지 마라. 결과가 비어 있으면 지어내지 말고 '해당 데이터 없음'을 분명히 알려라.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operatorYes
scar_seqYes
facility_typeNoall
composition_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and covers it well: it warns that some facility types may return empty results per operator, requires reporting data recency based on _meta's '데이터수정일' with tone varying by freshness, and explicitly forbids fabricating data when results are empty. Side-effect, auth, and error behavior are not addressed, keeping it below 5.

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

Conciseness3/5

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

The purpose is front-loaded and the parameter reference block is compact, but roughly half the description is a verbose answer-guidelines section covering response tone, phone-number policy, and deduplication rules — behavior that arguably belongs in a system prompt rather than a tool definition. It is well-organized but oversized for its tool-selection and invocation purpose.

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?

All four parameters are documented, the output schema covers return values, empty-result behavior is specified, and the prerequisite sibling get_urban_train_composition is named. Missing is an explicit distinction from get_urban_train_environment and operator-code formatting details, but the tool is invocable without them.

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%, and the description fully compensates: it expands facility_type into all 10 enum values with Korean labels, defines operator as '운영기관 코드/명', maps scar_seq to scarSqno with an example ('1'), and maps composition_type to cpsTpCd. Every parameter receives meaning the schema does not provide.

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 opening line '도시철도 차량(호차)별 시설 조회 (역 무관)' names a specific verb (조회/lookup) and resource (facilities by urban railway carriage), and the '(역 무관)' qualifier distinguishes it from the many station-based sibling tools. It stops short of a 5 because it does not explicitly differentiate itself from the similar-sounding get_urban_train_environment.

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?

One explicit routing instruction is present: 'get_urban_train_composition으로 먼저 확인한다' (verify composition type with get_urban_train_composition first), and the caution that operators differ so some facility types return empty results sets interpretation expectations. However, there is no explicit when-to-use versus alternatives, no exclusions, and no guidance on how to choose between this and get_urban_train_environment.

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