Print spec calculator
calc_print_specWork out print document sizes. Pass trim_width and trim_height with unit (mm, cm, in, pt), optional bleed (default 3 mm; the common European figure, US printers often ask 0.125 in = 3.18 mm), safe margin inside trim (default 5 mm), and for books pages (counted as printed pages, 2 per leaf), caliper (thickness of ONE sheet of the paper) with caliper_unit (microns, mm, mil = thousandth of an inch, which paper trade calls points, or in), spine_extra_mm for glue allowance, and binding (perfect, saddle, none). Formulas: size with bleed = trim + 2 x bleed; safe area = trim - 2 x safe; spine = (pages / 2) x caliper + extra; cover spread width = 2 x trim width + spine + 2 x bleed. Spine is an estimate: the printer's own template and paper stock win, and hardcover case binding adds board thickness not computed here.
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": {
"trim_width": "<trim_width>",
"trim_height": "<trim_height>"
},
"name": "calc_print_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| safe | No | Safe margin in the same unit (default 5 mm) | |
| unit | No | Unit | |
| bleed | No | Bleed in the same unit (default 3 mm) | |
| pages | No | Printed page count (books) | |
| binding | No | Binding | |
| caliper | No | Thickness of one sheet | |
| trim_width | Yes | Finished width | |
| trim_height | Yes | Finished height | |
| caliper_unit | No | Caliper unit | |
| spine_extra_mm | No | Extra spine allowance in mm |