Skip to main content
Glama

Estimate US Import Duties

international_duty_estimate
Read-only

Estimate US import duties in dollars for the goods on an international shipment, per commodity line, from current tariff rates (base HTS rate plus Section 301 / 232 and other chapter 99 measures). Each line needs a 10-digit HTS code (find it with hs_code_search), the country the goods were made in, and the line's declared value in USD. US imports only. It is an ESTIMATE, not a customs ruling: say so, and say it excludes the merchandise processing fee, harbor maintenance fee, broker fees and any per-unit duty it flags. Use it with international_quote to give the user a landed cost (freight + duty). Auth required; each account has a daily cap.

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": {
      "mode": "<mode>",
      "lines": "<lines>"
    },
    "name": "international_duty_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesHow the goods arrive: ocean or air
linesYesOne line per kind of goods

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only, non-destructive annotations, the description discloses auth requirements, a per-account daily cap, and exactly what the result omits (merchandise processing fee, harbor maintenance fee, broker fees) plus that per-unit duty is flagged separately. Nothing here contradicts readOnlyHint or openWorldHint=false.

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?

Purpose and scope are front-loaded and every sentence carries information, but the sentence listing excluded fees is dense and the agent-directed 'say so' phrasing is slightly awkward alongside the parameter guidance. Overall efficient with minor trimming possible.

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 still conveys the return shape (dollars, per commodity line, per-unit duty flagged) and the cost model. It stops short of describing line-level failure behavior (e.g., unrecognized HTS codes) or how the daily cap surfaces.

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 the schema already documents mode, hts with dot format, ISO alpha-2 origin, and declared value. The description restates the 10-digit HTS requirement and origin-of-manufacture meaning but adds no new parameter semantics, so the baseline 3 applies.

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?

The description states a specific verb and resource ('Estimate US import duties in dollars ... per commodity line') plus the rate basis (base HTS plus Section 301/232 and chapter 99 measures). It scopes the tool to US imports only, which distinguishes it from general customs siblings at a glance.

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?

It gives real routing guidance: get the HTS code with hs_code_search, and combine with international_quote for a landed cost. It also warns this is an estimate rather than a customs ruling. It does not address when a sibling like international_customs would be preferred over this estimate, which keeps it short of a full 5.

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.