Skip to main content
Glama

usitc-tariffs-mcp-server

Inspect an HTS heading and ancestry

usitc_get_heading
Read-onlyIdempotent

Inspect a four-, six- or eight-digit HTS classification and its complete indented descendants, including unnamed superior rows. Published section titles are retained separately in sections, outside legal ancestry. Ancestry is built from the whole containing heading before filtering. Each parent and inherited-rate source has an exact nodeId follow-up. Chapters 98 and 99 preserve published forest roots without inventing four-digit records.

Input Schema

NameRequiredDescriptionDefault
codeYesFour-, six- or eight-digit HTS code, bare or conventionally dotted.
limitNoRequested items as a positive safe integer; effectiveLimit discloses clamping to at most 100, and pages may be byte limited. Keep the same requested limit for continuation.
cursorNoOpaque nextCursor from the same tool with identical arguments.
nodeIdNoExact returned node identifier within this classification subtree; omit to browse.

Output Schema

NameRequiredDescriptionDefault
codeNoCanonical requested code.
pageNoComplete selected subtree and continuation.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the requested classification has published nodes.
nodesNoFlat source-order nodes with legal parents and rate provenance.
noticeNoActionable next call for this particular empty result.
rootIdNoFirst selected source node; special chapters can have multiple published roots.
sourceNoSource provenance.
noticesNoPersistent source and coverage limitations.
releaseNoEdition checked for this result.
guidanceNoExecutable research guidance for a successful classification miss.
sectionsNoComplete published section markers from the containing heading, separate from legal ancestry.
totalCountNoComplete locally filtered item count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 the safety profile (readOnly, idempotent, openWorld), and the description adds genuine behavioral context beyond them: ancestry is computed from the whole containing heading before filtering, section titles live in a separate 'sections' field outside legal ancestry, and chapters 98/99 preserve published forest roots without inventing four-digit records. These are non-obvious semantic rules an agent could not get from annotations or schema.

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 what-is-it sentence is front-loaded, and each subsequent sentence carries a distinct fact (ancestry construction order, section titles, nodeId follow-ups, chapter 98/99 edge case). It is dense with domain jargon ('published forest roots', 'unnamed superior rows') that an unfamiliar agent may find opaque, but nothing reads as filler.

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?

An output schema exists, so return values need no explanation, and the description instead covers the non-obvious edge cases (whole-heading ancestry, section titles kept separate, chapter 98/99 roots). Together with a fully documented 4-parameter schema and safety annotations, this is sufficient for correct invocation.

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%, so the schema already documents code, limit, cursor and nodeId thoroughly; the baseline is 3. The description adds some meaning to nodeId via the 'exact nodeId follow-up' note, but it does not explain the dotted/bare code convention or limit behavior beyond what the schema states.

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 opens with a specific verb and resource ('Inspect a four-, six- or eight-digit HTS classification and its complete indented descendants'), which clearly separates it from a flat search tool. It never names the sibling tools (e.g. usitc_browse_chapter, usitc_search_hts), so an agent still has to infer the boundary itself.

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 by the phrasing: 'omit to browse' (on nodeId) and 'Each parent and inherited-rate source has an exact nodeId follow-up' hint at drill-down behavior, but there is no explicit when-to-use versus search_hts or browse_chapter. No exclusions or prerequisites 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.