Wallpaper calculator
calculate_wallpaperUse this when someone asks how many rolls of wallpaper they need. Calculates the wallpaper for walls: the cut length of each drop (wall height + 4 in for trimming, rounded up to whole pattern repeats, plus half a repeat for a drop match), the drops per roll, the drops across the walls (their width less the doors' and windows' area divided by the height, over the roll width), the rolls, and the wall area in square meters. Rolls: usDouble (US double roll, 20.5 in × 33 ft, as York makes it), euro (0.53 × 10.05 m, as Rasch makes it); rollWidth and rollLength replace them. The rolls do not include the spare roll from the same batch that makers advise.
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": {
"width": "<width>",
"height": "<height>",
"roll": "<roll>"
},
"name": "calculate_wallpaper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roll | Yes | usDouble: a US double roll, 20.5 in × 33 ft; euro: a European roll, 0.53 × 10.05 m. | |
| doors | No | Number of doors to leave out; none when left out. | |
| match | No | Straight match, or drop (half-drop) match that shifts every other drop by half a repeat; straight when left out. | |
| width | Yes | Width of the walls to paper: one wall, several added up, or the room's perimeter, in millimeters. | |
| height | Yes | Wall height, baseboard to ceiling, in millimeters. | |
| repeat | No | Vertical pattern repeat; none when left out, in millimeters. | |
| windows | No | Number of windows to leave out; none when left out. | |
| doorWidth | No | Width of one door; 914.4 (36 in) when left out, in millimeters. | |
| rollWidth | No | Roll width, instead of the standard roll's, in millimeters. | |
| doorHeight | No | Height of one door; 2032 (80 in) when left out, in millimeters. | |
| rollLength | No | Roll length, instead of the standard roll's, in millimeters. | |
| windowWidth | No | Width of one window; 914.4 (36 in) when left out, in millimeters. | |
| windowHeight | No | Height of one window; 1524 (60 in) when left out, in millimeters. |