Skip to main content
Glama

Customs classification check

wever_customs-classification-check
Read-only

Agent Customs Records: submit tariff classification records with the invoice lines and rulings they answer to: each classification record with its id, the entry, the product or part reference, the goods as classified, the tariff line, the ruling or basis it cites and any note on the line chosen; each commercial invoice line with its id, the entry, the product reference and the goods as invoiced; each ruling or basis on file with its id, reference, the product and the tariff line it gives. The signed report gives the classifications and the goods, each item of goods across the entries it is classified on, each cited ruling or basis against the rulings on file, and each classified description against the invoice line for the same entry and goods, and counts them, and names divergent tariff classification records: the same goods classified under different tariff lines on different entries with no note, a classification record citing a ruling or basis the file does not hold, and goods described one way on the invoice and another way in the classification record; then an invoice line naming an entry no classification record holds and a classification using another tariff line than the ruling it cites gives, with the fix for each and what would change the verdict. No classifications, a record with no tariff line in digits, or no invoice lines leaves those points unverified. Entries, products and rulings match by letters and digits, tariff lines compare by their digits so 6109.10.0012 and 6109100012 are one line and a line read to fewer digits is another, goods with no product reference group by their words, and two descriptions agree when every word of one appears in the other with plurals folded. This reads whether each item of goods is classified one way across the importer’s entries, on a basis the file holds. Verdict customs_classification_divergent, customs_classification_partial, customs_classification_unverified or customs_classification_consistent. POST /api/customs-classification-check. Reads the customs and trade records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it files no entry, pays no duty, contacts no customs authority or broker and gives no customs or legal advice, which stay with the importer, its licensed customs broker and its advisers, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Customs Records reads an importer’s or exporter’s own customs and trade records: entry summaries, tariff classification records, duty and fee payment records, broker filing records, country-of-origin and marking records, declared-value records, customs bond records and drawback claim records, each against the commercial invoices and duty payment records, the rulings on file, the entries, the importer’s own copies, the origin support on file, the invoices and payments, the entry activity or the duty recorded as paid and the proof on file. The family’s ground is the paper behind the border crossing: what was declared, how it was classified, what duty was paid, and whether the bond and the drawback claims line up; the Agent Tax Records family reads filings made to the tax authority, and the Agent Logistics family reads where a shipment is and when it moves, while this family reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-customs-records-contract. Human page: https://weverlabs.com/agent-customs-records/.

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": {
      "classifications": "<classifications>",
      "invoices": "<invoices>",
      "rulings": "<rulings>"
    },
    "name": "wever_customs-classification-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
rulingsYesEach ruling or basis on file.
invoicesYesEach commercial invoice line.
classificationsYesEach tariff classification record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnly=true, openWorld=false, destructive=false), the description discloses auth and cost mechanics (0.10 USDC per call on Base via x402, shared 10 free signed-wallet calls per 30 days, X-Wever-Wallet-Proof bound to exact JSON arguments and route), side-effect boundaries ('files no entry, pays no duty, contacts no customs authority or broker', 'no network request, fetch, message, payment or external write'), and the signed Ed25519 receipt. This is unusually rich behavioral context that the annotations alone could not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

This is a single sprawling paragraph of run-on sentences, some of them grammatically broken (e.g., 'a classification using another tariff line than the ruling it cites gives'). The core purpose sentence arrives near the end, after long enumerations of record fields, and pricing/auth/scope boilerplate is packed into the same block rather than separated. Substantive content is present but the structure actively impedes scanning.

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 no output schema, the description still tells the agent what the signed report contains (verdict, evidence read, findings with fixes, what would change the verdict), enumerates all four verdict values, states the unverified conditions, gives the POST route, and points to the contract and human page. For a check of this complexity, nothing an agent needs to call it correctly is missing.

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, but the description adds real semantics: how keys match (letters and digits), that tariff lines compare by digits so 6109.10.0012 equals 6109100012, that goods without a product reference group by their words, and that two descriptions agree when every word of one appears in the other with plurals folded. It also explains what linking 'basis' to the rulings array means, which the schema only labels as 'the ruling or basis cited.'

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 definition does state a specific check in concrete terms: 'This reads whether each item of goods is classified one way across the importer's entries, on a basis the file holds,' and the verdict names (customs_classification_divergent/consistent) make the output shape unambiguous. It also bounds the family against Tax Records and Logistics. However, that purpose sentence is buried deep in a dense paragraph rather than front-loaded, and it does not differentiate itself from near-siblings such as wever_customs-duty-check or wever_customs-origin-check beyond the general family framing.

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 context is implied well — it reads customs/trade records supplied in the call, and the 'No classifications... leaves those points unverified' clause tells the agent what happens with incomplete input. But there is no explicit when-to-use-this-vs-another-sibling guidance, and no statement of prerequisites for obtaining a verdict versus the other customs-family checks.

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