For agent builders: answering anti-dumping questions with citations
Six tools, one real call each, the fields to quote back to the user, and what the tools cannot know. For anyone wiring EU trade defence answers into an agent.

A language model asked about EU anti-dumping duties will usually produce something plausible: a rate, perhaps a regulation number. What it cannot produce from memory is the state of a measure this week, the row a producer sits in after the latest consolidation, or a review opened four days before an expiry date. Sunsetry gives an agent those answers as tool calls, each with the act it rests on.
The six tools
producer_duty: a producer name from an invoice, or an additional code, in; duty, additional code, measure, act, table position and status out.measures_for_goods: a CN code or product words and an origin in; the measures in force, their expiry, and the rate for all other companies out.measure_status: a regulation number in; the lifecycle out, with expiry, review, extensions and the reason the measure is or is not in force on the date.producer_table: the whole table of one measure, paged.review_calendar: expiries, review request deadlines and review end dates in a window.changes_since: new acts and notices since a cursor, for a daily poll instead of a webhook.
Each tool's docs page shows a real call and its result, run when the page was built.
What to quote back
Every answer carries the act with its EUR-Lex link, a data_date and a data_version. Quote the act link and the data date with the answer, so the person reading it can check it in a minute and knows how fresh it is. Answers from producer_duty also carry a caveat: a named rate applies only to goods produced by that company, declared with its code and covered by the invoice the act requires. Pass it on.
When a date is computed rather than taken from a notice, the answer says "basis": "computed". Say so too.
A call worth trying
{ "name": "measure_status", "arguments": { "product": "birch plywood", "origin": "RU", "date": "2026-11-10" } }
The answer is in_force_pending_expiry_review, with the reason in plain words: due to expire on 10 November 2026, but an expiry review was initiated on 6 November 2026, and measures stay in force pending its outcome. That is the kind of answer a model gets wrong on its own.
What the tools cannot know
- Acts published after the data date. Call
changes_sincedaily if freshness matters. - Whether goods were made by the company named, their classification, or their origin.
- The duty owed on a declaration, which depends on customs value, origin rules and how TARIC applies the measure.
- Anything about EU sanctions.
Connecting
Over MCP, REST or the CLI, with 20 free calls a day and no sign-up, so an agent can try every tool before anyone creates an account. The connect block is on the docs page; the plans are on the pricing page.