Skip to main content
Glama

Ozon WB Helper - HS Code

HS Code 详情与关联 / Code detail

get_hs_code_detail
Read-onlyIdempotent

Get one active node, its breadcrumb and available CN10↔INT6 relations. CN nodes link to the international six-digit code; an INT six-digit node links to matching China ten-digit codes.

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": {
      "region": "<region>",
      "code": "<code>"
    },
    "name": "get_hs_code_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesExisting 2–10 digit code.
regionYesDataset containing the supplied code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine domain context beyond them: the return payload includes a breadcrumb, and relations are directional (CN ten-digit nodes link up to the INT six-digit code, INT nodes link down to matching CN codes). It does not say what happens for an inactive or unknown code, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with the primary capability front-loaded and the relation semantics as supporting detail. Nothing is redundant, though the second sentence is dense shorthand ("CN10↔INT6") that assumes familiarity with the code formats.

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 carries the burden of describing returns, and it names the three things returned: the node, its breadcrumb, and the cross-region relations. For a two-parameter read lookup with full annotation coverage this is nearly sufficient; only error/not-found behavior and node field shape are left unstated.

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?

Schema coverage is 100%, so both parameters are already documented, and the description adds only the semantic framing that region selects which dataset the code lives in and determines the direction of the returned relations. That is a modest but real addition over the schema's bare enum, consistent with the baseline 3.

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?

States a specific verb and resource: retrieves "one active node, its breadcrumb and available CN10↔INT6 relations." That is clearly a single-code detail lookup, distinguishable in intent from list_hs_code_children and search_hs_code, though no sibling is named 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: an agent infers this is the tool for expanding a known code into details and cross-region links. There is no explicit when-to-use, no exclusion such as 'use search_hs_code when you don't already have a code', and no guidance on what to do when the node is not active.

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