Spine width calculator
calculate_spine_widthUse this when an author asks for a book's spine width for KDP, IngramSpark or Lulu, or whether their book is thick enough for spine text. Takes the interior page count, binding and paper; returns the width in inches and mm, the formula used, the spine-text rule and a link to check it on pdfdocpreflight.com. For the full cover size, use calculate_cover_size instead.
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": {
"platform": "<platform>",
"page_count": "<page_count>"
},
"name": "calculate_spine_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | No | Interior paper and ink. KDP: 'bw-white' (Black ink, white paper), 'bw-cream' (Black ink, cream paper), 'bw-groundwood' (Black ink, groundwood paper), 'standard-color' (Standard color ink, white paper), 'premium-color' (Premium color ink, white paper). IngramSpark: 'groundwood-38-bw' (38# Groundwood, B&W), 'groundwood-40-bw-uk' (40# Groundwood, B&W (UK)), 'creme-50-bw' (50# Crème, B&W), 'white-50' (50# White, B&W or Color), 'white-70' (70# White, B&W / Color / Premium / Ultra Premium Color). Lulu: leave out (its spine width does not depend on paper). If you leave it out for KDP or IngramSpark, the result lists every paper so you can compare. | |
| binding | No | Binding. 'paperback' (default). KDP hardcover: 'hardcover' (KDP only offers case laminate). Lulu and IngramSpark: 'hardcover-casewrap' (printed case) or 'hardcover-jacket' (cloth case with dust jacket). | paperback |
| platform | Yes | Print platform: 'kdp' (Amazon KDP), 'ingramspark' or 'lulu'. | |
| page_count | Yes | Interior page count: every page of the interior PDF, including blank and front-matter pages (not sheets or leaves). |