Skip to main content
Glama

get_dormitory_longterm_codes

Retrieve dormitory long-term reservation reason codes with optional group filter (e.g., 'long-term' or 'other'). Returns group, value, and name for booking reasons.

Instructions

직원숙사 장기예약 사유 코드 조회 (15건).

장기숙박 예약 시 사용되는 사유코드(그룹·값·명칭)를 제공한다. '장기'(교육생·출장자·비연고지 발령 등)와 '기타'(2급이상·야간근무 등) 구분.

group: 코드그룹 필터 (예: "장기", "기타")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It discloses that the operation is an inquiry ('조회'), that there are 15 records, and that the codes are categorized with specific fields. This is sufficient for a simple read-only lookup, though it does not state behavior when group is empty.

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, front-loaded with the core purpose within the first line, and uses a clear bullet-style parameter explanation. There is no redundant or filler content.

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 single-optional-parameter code lookup, the description covers the essential context: purpose, result count, output semantics, and how to apply the filter. The output schema is present, so return format need not be re-explicated. A small gap is not clarifying what happens when group is omitted, but the schema default already suggests empty means unfiltered.

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 only a parameter title and no description (0% coverage). The description compensates by explaining 'group' as a code group filter with concrete examples ('장기', '기타'), adding meaning beyond the raw schema. It does not exhaustively list valid values, but enough information is provided.

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?

Description states a precise verb and resource: 조회 (retrieval) of employee dormitory long-term reservation reason codes. It goes beyond a simple label by specifying the output shape (group/value/name) and the distinction between '장기' and '기타', making the tool's function unmistakable.

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 clearly implies when to use this tool: when querying reason codes for long-term dormitory reservations. It provides a group filter with examples but does not explicitly mention alternatives or exclusions; however, the domain is specific enough that no ambiguity remains.

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