Skip to main content
Glama

CBP classification rulings search

rulings_search
Read-only

Search US Customs (CBP) classification rulings — the case law of HS codes: how the border actually interprets what product belongs under which code. Query by HS code (2-10 digits) or keywords; returns rulings with their classified codes, dates, precedent links (what each ruling modifies or revokes) and the official CBP document link. Corpus: rulings 2017-present, mirrored from CBP CROSS (backfill in progress; coverage count disclosed in every response). No API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 8, max 25)
queryYesHS code (e.g. 9401.61) or keywords (e.g. "electric standing desk")

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description adds value by disclosing corpus limits (2017-present, backfill in progress), that coverage count is included in every response, and that no API key is required. It also specifies what each ruling contains, giving the agent a realistic expectation of the data without contradicting annotations.

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?

The description is three sentences, each serving a distinct purpose: defining the tool's role, explaining how to query and what to expect, and setting expectations about corpus scope and access. There is no redundant or filler content; the structure is front-loaded and information-dense.

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?

For a search tool with no output schema, the description adequately covers key aspects: the input method, the type of results returned, the temporal/corpus limitations, and the access requirements. It provides enough detail for an agent to decide when to invoke the tool and what to expect in the response, making it situationally complete.

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. The description goes beyond the schema by specifying the HS code digit range (2-10 digits) and providing a concrete example('electric standing desk'), which clarifies query formatting and acceptable inputs. This additional detail raises the score above baseline.

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 opens with a specific verb-resource pair ('Search US Customs (CBP) classification rulings') and immediately differentiates the tool from sibling data tools by framing it as 'the case law of HS codes' and explaining how the border interprets products. This clearly establishes a unique purpose beyond generic search tools.

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 clear usage context by stating that queries can be HS codes (2-10 digits) or keywords, and explains the nature of the results (classified codes, dates, precedent links). It does not explicitly name alternative tools or state when not to use it, but the context is enough to guide appropriate use without confusion.

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.

TDQS

A3.9/5.0
Disambiguation2/5

Several tools overlap significantly in the tariff/trade domain: tariff_story explicitly replaces hs_search, tariff_lookup, and tariff_burden, and trade_query also returns duty data. This creates ambiguity about which tool to invoke for a given tariff question, though non-tariff tools (compare, event_studies, month_in_review) are clearly distinct.

Naming Consistency2/5

Tool names follow mixed conventions: some are verb-first (compare, query_series, tariff_lookup), others are noun-first (commodity_profile, tariff_burden, event_studies), and there's no consistent prefix or verb pattern. While readable, the lack of a unified naming scheme makes the set feel less coherent.

Tool Count4/5

With 13 tools, the set is within a reasonable range for a trade data service and covers most query needs. It's slightly larger than necessary given the overlapping tariff tools, but not excessive.

Completeness4/5

The surface covers tariff lookup, actual duties paid, trade volumes, comparisons, profiles, event studies, and rulings search, which is comprehensive for a read-only trade data resource. Minor gaps exist (e.g., no tool for gateway-specific tariff burden, and the meta-tool ledger_meta hides a set of archived tools), but core workflows are well supported.