Skip to main content
Glama

TradeFacts

Look up a US HTS code

lookup_us_hts
Read-onlyIdempotent

Full US Harmonized Tariff Schedule record for an HTS code (e.g. "8541.42.00" or "0901.11.00.15"): description, general/special rates, the column-2 rate (applies to Cuba, North Korea, Russia and Belarus), units, footnotes, Chapter 99 additional-duty cross-references (Section 232/301/338 ...) and measure_status for headings no longer in force. Source: USITC, updated nightly.

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": {
      "code": "<code>"
    },
    "name": "lookup_us_hts"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesUS HTS code with dots, 4 to 10 digits, e.g. "8541.42.00" or "0901.11.00.15".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / code / description
      Added value: +"US HTS code with dots, 4 to 10 digits, e.g. \"8541.42.00\" or \"0901.11.00.15\"."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the safety profile is settled. The description adds genuinely useful behavior beyond that: the data source (USITC), the nightly refresh cadence, the meaning of the column-2 rate and which countries it applies to, and the existence of measure_status for headings no longer in force. It stops short of saying what happens when a code is invalid or not found, which is the one behavior an agent still has to guess.

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?

The core payload is front-loaded in the first clause, and the parenthetical glosses (column-2 countries, Section 232/301/338, measure_status) each earn their space by explaining jargon an agent would otherwise misread. The single long sentence with trailing parentheticals is dense, but nothing is redundant except the repeated example codes.

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?

With an output schema present, the description does not need to document return shapes, and the annotations already carry the safety profile, so the remaining burden is domain context and data provenance. The definition supplies source, refresh cadence, column-2 semantics and the stale-heading flag, which is everything needed to call this correctly on a known code.

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 100% and the single parameter already documents the dotted 4-to-10-digit format with the same two examples the description repeats. The description therefore adds no meaning beyond the schema for the parameter, which is the expected baseline for a fully documented one-param tool.

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 names the resource precisely ('Full US Harmonized Tariff Schedule record for an HTS code') and enumerates exactly what the record contains (rates, units, footnotes, Chapter 99 cross-references, measure_status), which makes the tool unmistakable. The jurisdiction qualifier ('US') separates it from the Canada/Mexico siblings, but it never explicitly contrasts itself with search_us_hts, so the lookup-vs-search boundary is left implicit.

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 only implied: the required 'code' parameter and the phrase 'for an HTS code' signal that the caller must already know the code, but the description never states when to prefer this over search_us_hts (e.g., 'use when you already have a full code; use search to resolve a partial or descriptive query'). No exclusions or prerequisites (such as what to do with a code that is no longer in force) are given.

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