Skip to main content
Glama

China's applied import tariff for a 6-digit HS code

logistics_china_customs_tariffs
Read-only

China's applied import tariff for a 6-digit HS code from the World Bank WITS tariff database (UNCTAD TRAINS, as reported by China): MFN simple average, minimum and maximum duty rate across the national tariff lines, number of lines and the year. HS-6 level, not the 8/10-digit China customs line; VAT, consumption tax and retaliatory surcharges are not included. Another reporting country can be chosen with its ISO numeric code. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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>"
    },
    "name": "logistics_china_customs_tariffs"
  }
}

Input Schema

NameRequiredDescriptionDefault
hsYes6-digit HS code, e.g. 731815 (bolts)
reporterNoOptional ISO numeric country code of the importer (default 156 = China), e.g. 392 Japan, 356 India

Output Schema

NameRequiredDescriptionDefault
hsNo
yearNo
sourceNo
reporterNo
checkedAtNo
maxRatePctNo
minRatePctNo
tariffTypeNo
tariffLinesNo
nomenclatureNo
simpleAveragePctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, openWorldHint), but the description adds genuinely useful context beyond them: granularity limits, the fact that only MFN rates apply and taxes/surcharges are excluded, plus pricing ($0.002 per successful call via x402) and the fact that failed calls are free. It does not cover rate limits or latency, which prevents 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?

Single front-loaded paragraph that leads with what the tool returns and follows with scope caveats, then the reporter option and price. Dense but largely justified; the payment-network enumeration (USDC on Base, Solana and 10 more) is slightly verbose for a definition.

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

Completeness5/5

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

Despite a rich output schema (so return values needn't be spelled out), the description still enumerates the aggregate fields returned and their aggregation basis. Combined with the granularity, tax-exclusion, and pricing notes, an agent has everything needed to invoke it correctly and interpret the result.

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 already 100%, so baseline is 3. The description still adds meaning: it explains that the reporter default is China and can be any ISO numeric country code, and it warns that the hs value is an HS-6 code rather than a national tariff line, which heads off a common misuse.

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+resource (applied import tariff lookup for a 6-digit HS code) and names the underlying source (WITS/TRAINS, reported by China). It also delimits scope by excluding the 8/10-digit national customs line and VAT/consumption tax/surcharges, so an agent knows exactly what data class this returns.

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 rather than stated: use it when you need a duty rate for an HS-6 code, and the reporter parameter lets you switch countries. There is no explicit when-to-use versus when-not framing relative to sibling tools such as logistics_customs_duty_calc or the Japan-specific tariff tool, so an agent must infer which to call.

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