Skip to main content
Glama

get_homepage_dept

Retrieve KORAIL department details (name, code, parent code) with optional keyword filter for partial name matches. Without a keyword, returns the first 200 records from the full set of about 500.

Instructions

KORAIL 홈페이지 부서 정보 조회 (전체 약 500건).

부서명(DEPT_NM), 부서코드(DEPT_CODE), 상위부서코드(UPPER_DEPT_CODE)를 제공한다.

keyword: 부서명 부분일치 필터 (예: "본부", "처", "단", "TF") ※ 전체 데이터가 크므로 keyword 없이 호출하면 처음 200건만 반환됨. 전체 조회가 필요하면 keyword를 여러 번 나눠 호출할 것.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the behavioral disclosure burden. It explicitly discloses that omitting keyword returns only the first 200 records and recommends splitting calls for full retrieval, which is non-obvious and valuable. It does not mention other behavioral aspects like auth or rate limits, but for a read-only lookup this is adequate.

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 compact and well-structured: the purpose statement comes first, followed by field details, then a clearly formatted keyword note with an important pagination warning. Every sentence earns its place with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a single optional parameter and an output schema, the description covers everything an agent needs: the returned fields, how the parameter behaves, and the limitation of unfiltered queries. No critical information is missing for correct invocation.

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

Parameters4/5

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

The schema has zero description coverage for the 'keyword' parameter, so the description must compensate. It does so by explaining it as a partial-match filter on department name, providing examples, and explaining the consequence of omission. This adds substantial meaning beyond the raw 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 clearly states it queries KORAIL homepage department information and lists the exact fields returned (DEPT_NM, DEPT_CODE, UPPER_DEPT_CODE). The verb and resource are specific, though it does not explicitly distinguish from sibling department-related tools like get_consultation_departments or get_info_disclosure_dept.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It only covers how to use the keyword parameter (partial-match filtering and the 200-record limit), but does not address tool selection or exclusion scenarios.

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