Skip to main content
Glama

United States import duty lookup from the USITC Harmonized

logistics_customs_duty_calc
Read-only

United States import duty lookup from the USITC Harmonized Tariff Schedule: HTS codes matching a code prefix or keyword with general, special and column-2 rates, units, and the duty amount for a customs value in USD when the general rate is ad valorem. US tariff only; no VAT, no other countries. Related tools on this server, for a different need: logistics_customs_cbp_manifest when you need US import bills of lading for a company: the most recent; logistics_customs_broker_verify when you need to check a US customs broker against U.S. Customs and Border. 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": {
      "q": "<q>"
    },
    "name": "logistics_customs_duty_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesHTS code (e.g. 8541.10.00) or keyword (e.g. diodes)
valueNoOptional customs value in USD to compute the general duty

Output Schema

NameRequiredDescriptionDefault
linesNo
queryNo
sourceNo
checkedAtNo
customsValueUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely new behavior: pricing at $0.002 per successful call, x402 payment in USDC across multiple networks, and that failed calls are not charged. It also discloses a computation limit — the duty amount is only produced when the general rate is ad valorem — which is not in the annotations.

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?

Front-loaded with the core capability and scope limitation before sibling routing and pricing. The payment sentence is dense with network detail but is load-bearing for cost/auth expectations; nothing is clearly expendable, though the sibling clause is longer than needed.

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?

Covers purpose, geographic scope, cost, payment mechanism, and alternatives, and an output schema exists so return-value details are unnecessary. The only residual gap is what the response contains when the general rate is not ad valorem — the description implies the duty is omitted but never says so.

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, but the description earns above baseline by explaining that 'value' drives a duty computation only under the ad valorem general rate, and that 'q' accepts either a code prefix or a keyword. That clarifies result behavior tied to the parameters rather than restating the schema.

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: US import duty lookup from the USITC Harmonized Tariff Schedule, returning HTS codes, general/special/column-2 rates, units, and a computed duty amount. Scope is bounded explicitly ('US tariff only; no VAT, no other countries'), which separates it from the non-US tariff siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names two sibling tools and the exact condition selecting each ('when you need US import bills of lading', 'when you need to check a US customs broker'). The 'US tariff only; no VAT, no other countries' line implicitly routes EU/China tariff needs elsewhere, but no sibling is named for those cases and there is no explicit when-not-to-use statement.

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