Water or fuel quantity in jerry cans
jerry_can_quantityWork out how much water or fuel to hold, with a margin, and how many jerry cans and 20 ft containers that takes. Use when: planning an emergency water store, or fuel for a trip, boat, generator or machinery. Instead: un_number_packaging for transport rules. Water (the default): people times days times the scenario's litres a person a day. Rates: relief 15 (Sphere minimum, the default); acute 7.5; protracted 50; survival 3; national advice nl, se and dk 3, no 2.86, fi and de 2; custom takes rate. National scenarios also supply a household of 4 and their own days when those are left out. Fuel (mode=fuel, or set by any fuel input): road and overland work from distance and consumption, and returnTrip=1 adds the way back on overland. marine, agri and generator work from hours and consumption; generator also takes kva and load instead of consumption. Hours or kva with no scenario selects generator. units=us switches to miles, mpg and US gallons. Either mode: volume with no scenario is the amount to hold. reserve sets the margin; by default 10% for water and 0 to 50% by fuel scenario. Behaviour: a missing people, days, distance or hours returns ok:false with needs naming it; no demo figure is substituted. A defaulted consumption, household or period is noted in assumed, and so are unknown arguments. 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": "jerry_can_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| can | No | Optional product slug of the can to size in, e.g. product-20l-nato-steel-fuel-can. Default: the scenario's usual can | |
| kva | No | Fuel, generator: rating in kVA, used with load instead of consumption | |
| days | No | Water: days to cover. Required unless the scenario sets it | |
| load | No | Fuel, generator: load in per cent, with kva | |
| mode | No | water (default) or fuel. Set to fuel when distance, hours, kva or consumption is given | |
| rate | No | Water, custom scenario: litres a person a day | |
| hours | No | Fuel, marine, agri and generator: running hours to cover. Required for those scenarios | |
| units | No | metric (default) or us for miles, mpg and US gallons | |
| weeks | No | Weeks to cover, converted to days when days is not given | |
| people | No | Water: people to supply. Required unless a national scenario sets a household of 4 | |
| volume | No | Litres (US gallons with units=us) to hold. With no scenario it replaces the calculation in either mode | |
| reserve | No | Margin in per cent added to the base volume | |
| units_n | No | Fuel: number of vehicles, boats or machines (default 1) | |
| distance | No | Fuel, road and overland: trip distance in km (miles with units=us). Required for those scenarios | |
| scenario | No | Water: relief (default), acute, protracted, survival, nl, se, no, fi, dk, de, custom. Fuel: road (default), overland, marine, generator, agri, direct | |
| returnTrip | No | Fuel, overland: 1 to count the return leg | |
| consumption | No | Fuel: L/100 km for road and overland, L/h for marine, agri and generator; with units=us, miles per US gallon or US gallons an hour. Defaults noted in assumed |
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 | |
| can | No | The can size counted in | |
| cans | No | Number of cans | |
| cite | No | Credit line with a link, for quoting the answer | |
| docs | No | Documentation for this tool | |
| mode | No | water or fuel | |
| 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 | |
| needs | No | When ok is false: the inputs still needed | |
| base_l | No | Litres before the margin | |
| assumed | No | Each value the tool inferred or defaulted, in words, so it can be checked with the user | |
| total_l | No | Litres to hold | |
| working | No | The calculation in one line | |
| scenario | No | id and label of the scenario, and its rate for water | |
| publisher | No | Who publishes the tool, the Fortitude21 products that fit, with links, and quote_url, a link to ask for a quotation | |
| margin_pct | No | Margin added, per cent | |
| containers_20ft | No | Share of a 20 ft container, or null where no load figure exists |