Pool volume calculator
calculate_pool_volumeUse this when someone asks how many gallons or liters of water a swimming pool holds. Calculates the water in a swimming pool: the water surface in square meters, the average depth, liters and US gallons. Shapes: rectangle (length, width), round (diameter), oval with straight sides and half-circle ends (length, width), ellipse (length, width), and kidney (length, width across the larger round end, narrowWidth across the smaller one; area 0.45 × (A + B) × length, an approximation used in the pool trade). Give depth for a flat floor, or shallow and deep for a floor that slopes from one end to the other; the average depth is their mean.
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": {
"shape": "<shape>"
},
"name": "calculate_pool_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | Water depth at the deep end of a pool whose floor slopes, in millimeters. | |
| depth | No | Water depth of a pool with a flat floor, in millimeters. | |
| shape | Yes | The pool's shape. | |
| width | No | Width of a rectangle, oval or ellipse pool, or of a kidney pool across its larger round end, in millimeters. | |
| length | No | Overall length of a rectangle, oval, ellipse or kidney pool, in millimeters. | |
| shallow | No | Water depth at the shallow end of a pool whose floor slopes, in millimeters. | |
| diameter | No | Diameter of a round pool, in millimeters. | |
| narrowWidth | No | Width of a kidney pool across its smaller round end, in millimeters. |