Skip to main content
Glama

Customs drawback check

wever_customs-drawback-check
Read-only

Agent Customs Records: submit duty drawback claim records with the duty payments and proof they answer to: each claim with its id, reference, the import entry it draws on, the duty it claims back, the currency, the moment filed, whether it rests on export or destruction and the proof it asserts; each duty payment with its id, the import entry, the moment paid and the amount; each export or destruction proof on file with its id, reference, kind and the moment the goods were exported or destroyed. The signed report gives the claims and the entries, each claim against the duty payment on its entry, each claimed amount against the duty recorded as paid, each entry against the claims that name it, and each asserted proof against the records on file, and counts them, and names divergent drawback claim records: a claim filed on an entry whose duty payment is not in the records, a claimed amount that exceeds the duty recorded as paid, the same entry claimed twice, and export or destruction proof asserted in a claim with no record of it on file; then proof of another kind than the claim rests on and proof dated after the claim, with the fix for each and what would change the verdict. No claims, or a claim asserting no proof, leaves those points unverified. Claims, entries, payments and proofs match by letters and digits, the duty payments on one entry add together and a claimed amount compares with them to the cent, and dates compare by the day. This reads the claims made to get duty back: wever_customs-duty-check reads duty as paid at entry against the entry’s classified value and rate, while the drawback check reads each claim to recover that duty against the duty recorded as paid and the export or destruction proof on file. Verdict customs_drawback_divergent, customs_drawback_partial, customs_drawback_unverified or customs_drawback_consistent. POST /api/customs-drawback-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": {
      "claims": "<claims>",
      "payments": "<payments>",
      "proofs": "<proofs>"
    },
    "name": "wever_customs-drawback-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
claimsYesEach drawback claim.
proofsYesEach proof on file.
paymentsYesEach duty payment recorded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses that it files no entry, pays no duty, contacts no authority, gives no advice, makes no network request or external write, and that records stay in the report. It also adds operational context the annotations cannot carry: the x402 price, the wallet-proof binding requirement, and the signed Ed25519 receipt.

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 core check is front-loaded, but the entry is a dense wall of text mixing tool-specific rules with lengthy family taxonomy (Agent Customs Records vs Tax Records vs Logistics), pricing mechanics, URLs and contract paths, several of which do not earn their place in a tool-selection description.

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 multi-record verification tool with no output schema, the description states the four verdict values, the specific divergences it detects, that each finding carries a fix and what would change the verdict, and the empty-input behavior. Nothing an agent needs in order 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 field meanings are already documented; the description adds genuine semantics on top — records match by letters and digits, payments on one entry are summed and compared to the cent, and dates compare by the day. It also defines edge behavior ('a claim asserting no proof leaves those points unverified').

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 names a specific verb and resource ('reads the claims made to get duty back', 'drawback check') and explicitly distinguishes itself from wever_customs-duty-check by stating exactly what each reads. An agent can tell what records to supply and what the tool verifies 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 Guidelines4/5

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

It gives a clear selection rule against the closest sibling ('wever_customs-duty-check reads duty as paid at entry … while the drawback check reads each claim to recover that duty') and delimits the family from Tax Records and Logistics. It does not state explicit when-not-to-use conditions or prerequisites for the caller beyond supplying the three record arrays.

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