Skip to main content
Glama

SeoulMarkets: Korea, Japan and Taiwan market data

hs code lookup

hs_code_lookup
Read-only

Resolve an HS code (2, 4, 6 or 10 digits) to its English description.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "hs_code_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesHS code digits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint=false annotations already establish a safe, closed-domain read. Beyond that, the description discloses the accepted input forms (2, 4, 6 or 10 digits) and the return value (an English description), which is meaningful because there is no output schema. It stops short of saying what happens with an unknown or malformed code, such as an 8-digit value or a retired code.

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?

A single front-loaded sentence with no filler; every clause (verb, input shape, accepted lengths, output) earns its place.

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 one-parameter, non-destructive lookup, the definition covers input constraints and the return value, which is what an agent needs given no output schema. Only the error/not-found behavior is left unstated, a minor gap at this complexity level.

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?

Schema coverage is 100% but the schema only says "HS code digits." The description adds the valid lengths (2, 4, 6 or 10), which is real constraint information absent from the schema and prevents an agent from passing arbitrary digit strings. The remaining gap, the format for 10-digit codes that use dots, is not addressed.

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 pairs a specific verb ("resolve") with a specific resource ("HS code") and states what comes back ("its English description"), so an agent knows exactly what the tool produces. It is separable from the sibling hs_code_search by implication, but never names or contrasts that sibling explicitly.

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?

Usage is only implied: the accepted digit lengths signal this is for codes you already hold, which indirectly distinguishes it from hs_code_search, but the description never says when to prefer one over the other. No prerequisites, no exclusions, and no guidance for unknown or partial codes.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources