Skip to main content
Glama

decode_freight_code

Decode a KORAIL internal freight code to retrieve its Korean and English names, converting numeric or alphanumeric classification codes into readable labels.

Instructions

내적화물분류코드 → 한글명/영문명 단건 디코딩.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the single-record ('단건') nature and the code-to-names mapping, which is useful. However, it does not mention behavior for unknown/invalid codes, return format details, or any error conditions.

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 a single concise sentence with no filler. The core semantic (input → output) is front-loaded and every word contributes value.

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

Completeness3/5

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

For a simple single-parameter lookup, the description covers the basic input/output relationship. But without an output schema, it would benefit from stating the expected response shape or behavior for missing codes. It is adequate but not thorough.

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?

The schema only specifies a 'code' parameter with a generic title. The description adds meaning by clarifying that the code is a domestic freight classification code, which is important context. However, it does not specify the expected format or provide examples, leaving some ambiguity.

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 identifies the verb (decode), the resource (domestic freight classification code), and the output (Korean/English names). It is distinct from sibling tools like decode_station_code and search_freight_code because it targets freight classification codes specifically, though it does not explicitly name those alternatives.

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?

There is no guidance about when to use this tool versus alternatives. The description implies it is for decoding a single domestic freight code into names, but it does not state conditions for choosing it over search_freight_code or decode_station_code.

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