comtrade_get_comtrade_releases
List UN Comtrade's recent dataset releases by reporter and release date to see which dataset came out when.
Instructions
List UN Comtrade's recent data releases: which reporter's dataset came out when.
Upstream's public getComtradeReleases, "the list of the recent releases, the same
with the UI live update page" (https://comtradeplus.un.org/RecentReleases); the spec
calls each row "A recent or upcoming dataset release". Keyless: no key is sent and no
daily quota is spent, but the call shares the client's pace (the Public tier allows 1
call per second) and its quota policy, so once upstream has said the key's daily quota
is spent it is held back too; the Public tier's preview API's 500 records a call is far
above the rows recorded. One row per release: reporter_code (UN Comtrade's code,
e.g. 757 Switzerland), dataset_desc (e.g. "Switzerland CM 202601"),
flag_code and nr, whose meanings upstream does not state (recorded: two letters,
"CH" for 757; "N" or "R"), and date_release, a naive datetime: upstream
prints it without a UTC offset and states no zone, so none is attached. When recorded on
2026-10-28 it listed 38 releases from 2026-10-22 to 2026-10-28, newest first, every one
at midnight, none in the future; the spec states no order. UN Comtrade keeps one version
of each dataset, so a revised release replaces the earlier data, which is not archived.
meta.total is upstream's count; meta.published_at stays None, since each row
has its own date. No arguments, one call; get_data_availability gives a dataset's
first and latest release.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "comtrade_get_comtrade_releases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||