Decode a UN packaging mark
decode_un_packaging_markDecode a UN packaging mark part by part: packaging code, performance level, density or gross mass, test pressure, year, state and maker, for packagings, IBCs, large packagings, salvage and reconditioned marks. Use when: the user has read a mark off a drum, jerrican, box or IBC. Instead: un_number_packaging to find which codes a substance may use; ibc_inspection_dates for an IBC's test dates. Inputs: mark alone decodes. Adding un also checks, against ADR 2025 Table A, whether that container may carry that substance, using the density limit printed in the mark. A bare code such as 3H1 decodes to its meaning only. If the user has not read the mark, ask for it rather than describing the container. Behaviour: text it cannot read as a mark returns ok:false, and only the first 120 characters are read. If un is not one of the 157 covered numbers, the mark still decodes and check carries the error. Unknown arguments are ignored and named in assumed. Constraints: no authentication, key or headers. At most 10 requests per 10 seconds per IP address; above that HTTP 429, so space out repeated calls.
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": {
"mark": "<mark>"
},
"name": "decode_un_packaging_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| un | No | Optional UN number (four digits) to check the container against, e.g. "1203" | |
| mark | Yes | The mark as printed, parts separated by slashes, e.g. "UN 3H1/Y1.9/150/26/D/BAM 12345" or an IBC mark "31HA1/Y/03 22/D/BAM 12345/10800/1200" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true with an answer. false when the tool needs one more input or cannot answer; error then says what to send | |
| cite | No | Credit line with a link, for quoting the answer | |
| code | No | The UN packaging code, e.g. 3H1 | |
| docs | No | Documentation for this tool | |
| mark | No | The mark as read | |
| noun | No | What the code describes, e.g. plastic jerrican, non-removable head | |
| spec | No | The code with its performance level | |
| tool | No | Link to the same answer on the interactive tool page | |
| check | No | With un: whether the container may carry that substance, and why | |
| error | No | When ok is false: what is missing or could not be read, and what to send instead | |
| notes | No | Points to watch for this mark | |
| parts | No | Each part of the mark with its meaning | |
| source | No | The regulations the reading follows | |
| assumed | No | Each value the tool inferred or defaulted, in words, so it can be checked with the user | |
| our_range | No | Fortitude21 containers made to this code | |
| publisher | No | Who publishes the tool, the Fortitude21 products that fit, with links, and quote_url, a link to ask for a quotation |