IBC test and inspection due dates
ibc_inspection_datesWork out when an IBC (intermediate bulk container) is due for its leakproofness test and its 2.5-year and 5-year inspections, the last month it may be filled and, for plastic and composite IBCs, the end of its five-year life. Use when: the user asks whether an IBC is in date or may still be filled. Instead: decode_un_packaging_mark to read the rest of an IBC mark; bund_size to size spill containment under IBCs. Inputs: mark alone is enough, since the code and month of manufacture are read from it. Otherwise send made, plus code if known; without code a composite 31HA1 tote is assumed. leak and insp move the due dates on from the last test; without them every date counts from manufacture. bottle restarts the five-year life of a remanufactured composite. A full date is read only when its day cannot be mistaken for the month. regime=us has no five-year life. Behaviour: dates are judged against the current month, so the same IBC moves from ok to soon to overdue as time passes. Every default is listed in assumed; an unreadable date or code returns ok:false. 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
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": "ibc_inspection_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | IBC code when no mark is given, e.g. 31HA1 (composite), 31H1 (rigid plastic), 31A (steel) | |
| insp | No | Month of the last inspection, same formats. Usually the same month as leak | |
| leak | No | Month of the last leakproofness test, same formats | |
| made | No | Month of manufacture, e.g. "03/2022", "2022-03" or "March 2022" | |
| mark | No | The IBC UN mark from the plate; the code and month of manufacture are read from it, e.g. "31HA1/Y/03 22/D/BAM 12345/10800/1200" | |
| bottle | No | Month the inner receptacle was replaced, for remanufactured composite IBCs | |
| regime | No | un: UN Model Regulations and ADR (default). us: 49 CFR 180.352 | |
| repair | No | Month of the last repair, if any |
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 IBC code used | |
| docs | No | Documentation for this tool | |
| tool | No | Link to the same answer on the interactive tool page | |
| error | No | When ok is false: what is missing or could not be read, and what to send instead | |
| family | No | metal, plastic, composite or other | |
| status | No | ok, soon (under three months to the last fill) or overdue | |
| assumed | No | Each value the tool inferred or defaulted, in words, so it can be checked with the user | |
| publisher | No | Who publishes the tool, the Fortitude21 products that fit, with links, and quote_url, a link to ask for a quotation | |
| end_of_use | No | MM/YYYY, for plastic and composite IBCs; null where no limit applies | |
| governed_by | No | The test that sets fill_only_before | |
| fill_only_before | No | MM/YYYY: the IBC may be filled up to the end of the month before this | |
| next_5_year_inspection | No | MM/YYYY | |
| next_leakproofness_test | No | MM/YYYY | |
| next_2_5_year_inspection | No | MM/YYYY |