Skip to main content
Glama

US Tariff Schedule

Look up HTS codes

lookup_hts_code

Search the official USITC Harmonized Tariff Schedule by keyword or HTS number. Returns codes with general, special and column 2 rates.

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": {
      "query": "<query>"
    },
    "name": "lookup_hts_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape (codes with general, special, and column 2 rates), which is genuinely useful. However, it says nothing about what happens when nothing matches, how the result set is capped or truncated, or whether rates are numeric or formatted strings — all material for a lookup tool with no output schema.

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 sentences, no filler, with the search scope and accepted input forms front-loaded and the return contents following. Every clause earns its place.

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

Completeness3/5

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

For a two-parameter read-only lookup with no output schema and no annotations, the definition covers the essentials of what it does and roughly what comes back. It stops short of the details an agent would want — truncation behavior, no-match handling, and rate formatting — leaving the definition merely adequate for the tool's complexity.

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 description coverage is 0%, so the description must compensate. It adds real meaning for 'query' by stating it accepts either a keyword or an HTS number, but 'limit' is never mentioned and its purpose (result cap) must be inferred from the schema's default of 25 and maximum of 100.

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?

The description states a specific verb and resource: search the official USITC Harmonized Tariff Schedule, and names the two lookup modes (keyword or HTS number). It is clearly distinct in kind from a duty calculator, though it never names that sibling to make the boundary explicit.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no routing to the sibling calculate_import_duty. The only hint is the implicit 'keyword or HTS number' choice, which is left for the agent to infer without conditions.

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.