Skip to main content
Glama

Customs entry check

wever_customs-entry-check
Read-only

Agent Customs Records: submit customs entry summaries with the commercial invoices and duty payment records they answer to: the importer with its reference, name and currency; each entry with its id, entry number, the shipment or bill of lading it covers, the commercial invoice it declares, the moment filed, the quantity and value declared, the currency and the duty the entry states; each commercial invoice with its id, reference, the quantity and value invoiced and the currency; each duty payment with its id, the entry it pays, the moment paid and the amount. The signed report gives the importer and the entries, each entry against the commercial invoice it names, each declared quantity and value against that invoice, each entry owing duty against a payment recorded, and each shipment against the entry numbers it is entered under, and counts them, and names divergent customs entry records: an entry recorded with no matching commercial invoice, a declared quantity or value that does not match the invoice record, an entry owing duty with no duty payment recorded, and the same shipment entered twice under different entry numbers; then a duty payment naming an entry the records do not hold and duty payments that add to another amount than the duty the entry states, with the fix for each and what would change the verdict. No entries, no commercial invoices beside the entries, or an entry valued in another currency than its invoice leaves those points unverified. Entries, invoices, shipments and payments match by letters and digits, quantities compare exactly and values to the cent in one currency, the payments for one entry add together, and an entry stating no duty owed reads as duty free. This reads the importer’s own filed entries across shipments: wever_logistics-customs-check reads one cross-border shipment’s customs papers for completeness, while the entry check reads the entries filed against the invoices and the duty paid. Verdict customs_entry_divergent, customs_entry_partial, customs_entry_unverified or customs_entry_consistent. POST /api/customs-entry-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": {
      "importer": "<importer>",
      "entries": "<entries>",
      "invoices": "<invoices>",
      "payments": "<payments>"
    },
    "name": "wever_customs-entry-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
entriesYesEach customs entry summary.
importerYes
invoicesYesEach commercial invoice.
paymentsYesEach duty payment recorded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With annotations already declaring readOnlyHint=true, openWorldHint=false, and destructiveHint=false, the description adds substantial behavioral context: it confirms no network request, fetch, message, payment, or external write, and that it reads records as supplied only. It also discloses the signed report, verdict outcomes, partial conditions, and pricing/wallet-proof requirements.

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?

The description is a dense single paragraph of well over 500 words, restating many schema fields and including broad family context that could be shortened. The core purpose is front-loaded, but the volume and run-on structure make it less concise than it should be for a tool definition.

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?

Given the absence of an output schema, the description explains the report contents (verdict, evidence read, findings with fixes, and what would change the verdict) and lists the verdict values. It also covers input relationships, partial/unverified conditions, and the read-only boundary, so an agent has enough context to invoke the tool correctly.

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 80%, so the baseline is 3; the description adds useful cross-field semantics beyond the individual field descriptions. It specifies matching rules such as exact quantity comparison, value comparison to the cent in one currency, summing payments per entry, treating no stated duty as duty-free, and how missing entries, invoices, or currency mismatches affect the verdict.

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 states a specific action (submit customs entry summaries with commercial invoices and duty payment records) and the report it returns (entry-to-invoice, duty, and shipment reconciliation). It explicitly distinguishes this tool from wever_logistics-customs-check, which reads one shipment’s customs papers for completeness, so an agent can tell the two apart without opening the schema.

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

Usage Guidelines5/5

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

It gives clear when-to-use context (the importer’s own filed entries across shipments) and a named alternative (wever_logistics-customs-check for one cross-border shipment). It also states when results become partial or unverified (no entries, no invoices, currency mismatch) and what the tool does not do (file entries, pay duty, contact customs or brokers, give legal advice).

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