Boxes, rolls or gallons to buy
material_quantityCalculates how many units of flooring, tile, carpet, or paint to buy for a given area, adding a waste allowance and using coverage per unit from the product label.
Instructions
How many units of flooring, tile, carpet or paint to buy for an area, with a waste allowance. Take coverage_per_unit_sqft from the product label (sq ft per box, roll or gallon).
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": {
"material": "<material>",
"area_sqft": "<area_sqft>",
"coverage_per_unit_sqft": "<coverage_per_unit_sqft>"
},
"name": "material_quantity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coats | No | Paint only: number of coats | |
| material | Yes | ||
| area_sqft | Yes | ||
| waste_percent | No | ||
| price_per_unit | No | ||
| coverage_per_unit_sqft | Yes |