Skip to main content
Glama

Ozon WB Helper - HS Code

搜索 HS Code / Search HS codes

search_hs_code
Read-onlyIdempotent

Search active HS records by exact digits, code prefix, or official Chinese/English commodity name. Numeric queries prioritize exact then prefix matches; longer, more specific codes rank first within the same match class.

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": {
      "q": "<q>"
    },
    "name": "search_hs_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesDigits or an official Chinese/English commodity name; arbitrary product descriptions may return no match.
limitNoMaximum records to return. The total field reports all matches.
scopeNoall=both datasets; int=international HS2022; cn=China 2026 records.all

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?

Annotations already cover readOnly, idempotent, closed-world, and non-destructive traits, so the bar is lower. The description adds genuinely new behavioral information: results are prioritized by exact-then-prefix match and, within a match class, longer more specific codes rank first, plus that only 'active' records are searched.

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?

Two tightly written sentences with zero filler; the accepted query forms come first and the ranking behavior follows. Nothing is repeated from the title or schema.

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?

Three parameters with full schema documentation, annotations, and no output schema mean the description need not explain return values. Scope and limit behavior are left entirely to the schema, which is acceptable, though a note on the default 'all' scope spanning two datasets would have been a useful addition.

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%, so the baseline is 3. The description still adds value by clarifying that q supports prefix matching on code digits (the schema only mentions 'Digits or an official Chinese/English commodity name') and by explaining how query form affects result ordering.

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 plus the three accepted query forms: exact digits, code prefix, and official Chinese/English name. It does not explicitly contrast itself with get_hs_code_detail or list_hs_code_children, so sibling differentiation is left to the reader, but the search-vs-detail distinction is implied by 'Search active HS records'.

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?

Provides query-form guidance (exact digits, prefix, or official name) and ranking expectations, which helps an agent construct a call. However, it never says when to prefer this tool over get_hs_code_detail or list_hs_code_children, and there are no explicit exclusions beyond the ranking note.

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