Skip to main content
Glama

Calculiva Cut Planner

Plan a trim board order

plan_trim_order
Read-onlyIdempotent

Plans board and batten, wainscoting or picture frame molding on one wall: spacing, the cut list (miter long and short points for frames) and how many boards of each retail length to buy, with the total length bought and offcut percentage for each stock length; the length to buy is the one that buys the least total length, then the least offcut, then the fewest boards. The cut plan is first-fit decreasing: feasible, not proven optimal. Lengths accept feet and inches. Returns a link to the full plan on calculiva.com.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgeNoboard-and-batten: start and end the wall with a space (default) or with a batten.
gapXNopicture-frame-molding: gap between boxes. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
gapYNopicture-frame-molding: gap between rows. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
kerfNoSaw kerf, charged between two cuts on the same board. Default 1/8 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
rowsNopicture-frame-molding: rows of boxes. Default 1.
edgeXNopicture-frame-molding: side margin. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
styleNowainscoting: applied molding frames (default) or stiles and rails.
hasCapNopicture-frame-molding: a chair rail caps the boxes (default true); false = boxes run to the ceiling.
layoutNoboard-and-batten: vertical battens (default) or a grid with horizontal rails.
columnsNopicture-frame-molding: boxes across. Default 4.
edgeTopNopicture-frame-molding: top margin. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
projectYesboard-and-batten, wainscoting (applied frames or stile and rail) or picture-frame-molding (boxes of 45° mitered molding).
openingsNoUp to 4 openings or obstacles on the wall; pieces that land on them are flagged and left out of the cut list.
capHeightNopicture-frame-molding: height of the underside of the chair rail. Default 36 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
railCountNoboard-and-batten grid: horizontal rails per bay. Default 2.
wallWidthYesWall width. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
edgeBottomNopicture-frame-molding: bottom margin. Default 4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
fullHeightNoboard-and-batten: battens run to the ceiling. Default false.
panelCountNowainscoting: number of panels or frames. Omit to use panelWidth.
panelWidthNowainscoting: target panel width, used when panelCount is omitted. Default 30 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
wallHeightYesWall height, floor to ceiling. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
battenCountNoboard-and-batten: number of battens. Omit to use battenSpacing.
battenWidthNoboard-and-batten: actual batten width (a 1x3 is 2 1/2 in). Default 2 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
memberWidthNowainscoting: stile width, or side reveal between frames. Default 3 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
extraPercentNoExtra boards to buy, % of the boards in the cut plan. Default 10.
moldingWidthNowainscoting applied-frames (default 1 1/4 in) or picture-frame-molding (default 1 in): molding face width. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
topRailWidthNoboard-and-batten top rail, or wainscoting stile-and-rail top rail width. Default 3 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
battenSpacingNoboard-and-batten: target gap between battens, used when battenCount is omitted. Default 12 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
topRailHeightNoboard-and-batten: height of the top of the top rail from the floor. Default 32 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
chairRailWidthNowainscoting: chair rail height (board width). Default 2 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
revealVerticalNowainscoting applied-frames: reveal above and below each frame. Default 3 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
stockLengthsFtNoBoard lengths you can buy, in feet (1 to 8 values, each up to 24). Default: 8, 10, 12 and 16 ft are compared and any of them can be recommended; pass the lengths your store sells to plan on those.
wainscotHeightNowainscoting: overall height from the floor, chair rail included. Default 32 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
baseboardHeightNoExisting baseboard height; "0" if none. Default 5 1/4 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.
bottomRailWidthNowainscoting stile-and-rail: bottom rail width. Default 5 1/2 in. Length with its unit, e.g. "12 ft 6 in", "12'6\"", "150 in", "3m80"; a bare number is read as inches.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
buyYesBoards to buy: the best stock length by comparisonRule; null when no length holds the longest piece.
kerfYes
miterYes
layoutYes
methodYes
cutListYes
optimalYes
projectYes
shareUrlYes
warningsYes
linearFeetYes
noStockFitsYes
extraPercentYes
wallAreaSqFtYes
comparisonRuleYesThe ranking used for every "better" statement in this result; a tie recommends nothing.
stockComparisonYes
shareUrlCompleteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources