Skip to main content
Glama

trade_hs

Query South Korea monthly export/import data by HS code to get USD value, weight, and trade balance for up to 12 months.

Instructions

South Korea monthly export/import by HS code (Korea Customs Service): USD value, weight, trade balance. ?hs=2-10 digit HS code&from=YYYYMM&to=YYYYMM (max 12 months) (paid via x402, USDC on Base)

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": {
      "hs": "<hs>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "trade_hs"
  }
}

Input Schema

NameRequiredDescriptionDefault
hsYeshs
toYesto
fromYesfrom

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 burden, and it delivers two important traits: the data originates from Korea Customs Service and the call is metered ('paid via x402, USDC on Base'). That payment disclosure is exactly the kind of behavior an agent must know before invoking. It stops short of stating the price, rate limits, or failure modes, which keeps it below a 5.

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 dense sentence plus a compact parameter clause, with the resource and scope front-loaded before the constraints and payment note. No filler, no restatement of the tool name, and every clause carries information the agent needs.

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?

With no output schema, the description correctly enumerates the returned measures (USD value, weight, trade balance) so the agent knows what to expect. It also covers the data source and payment requirement. The main residual gap is response granularity and size (e.g., per-month rows, record caps) for a multi-month range query.

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's own descriptions are placeholders ('hs', 'from', 'to') that add nothing, so the description does real work by specifying the HS code length (2-10 digits), the YYYYMM date format, and the 12-month maximum window. Those are the details that determine whether a call succeeds. It does not explain behavior for partial or ambiguous HS codes, so it is not a 5.

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?

States a specific verb and resource ('monthly export/import by HS code'), plus scope ('South Korea') and source ('Korea Customs Service'), and lists the returned measures (USD value, weight, trade balance). An agent can immediately tell this is a trade-statistics lookup and distinguish it from every sibling, which covers unrelated domains like real estate, air quality, and food.

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 implied by the input contract (2-10 digit HS code, YYYYMM range, max 12 months), which usefully bounds the request. However, there is no explicit 'use this when' statement, no mention of when not to use it, and no alternative named for related questions. The constraints are format rules rather than selection guidance.

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