Skip to main content
Glama

TwoCut Construction & DIY Calculators

Board Foot Lumber Calculator

board_feet
Read-onlyIdempotent

Calculate board feet of lumber for up to 6 board sizes: set rows, then thickness × width × length × quantity for each size (thickness and width in inches, length in feet). price is the price per board foot. Use for hardwood or rough lumber sold by the board foot. For stud and plate counts use wall_studs; for cabinet door parts use cabinet_door_cut_list. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default; units is "us" (default) or "metric". Returns headline (amount to buy), summary lines, numbered worked steps, inputs_used and calculator_url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "board_feet"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoBoard sizes on this list. Options: 1 = 1 size; 2 = 2 sizes; 3 = 3 sizes; 4 = 4 sizes; 5 = 5 sizes; 6 = 6 sizes.1
priceNoPrice per board foot (USD). Default (US units): 3.
unitsNoUnit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen.us
widthNoBoard width. Unit: in (US) / cm (metric). Default (US units): 5.5.
lengthNoBoard length. Unit: ft (US) / m (metric). Default (US units): 8.
width_2NoSize 2 width. Unit: in (US) / cm (metric). Default (US units): 0.
width_3NoSize 3 width. Unit: in (US) / cm (metric). Default (US units): 0.
width_4NoSize 4 width. Unit: in (US) / cm (metric). Default (US units): 0.
width_5NoSize 5 width. Unit: in (US) / cm (metric). Default (US units): 0.
width_6NoSize 6 width. Unit: in (US) / cm (metric). Default (US units): 0.
length_2NoSize 2 length. Unit: ft (US) / m (metric). Default (US units): 0.
length_3NoSize 3 length. Unit: ft (US) / m (metric). Default (US units): 0.
length_4NoSize 4 length. Unit: ft (US) / m (metric). Default (US units): 0.
length_5NoSize 5 length. Unit: ft (US) / m (metric). Default (US units): 0.
length_6NoSize 6 length. Unit: ft (US) / m (metric). Default (US units): 0.
quantityNoNumber of boards. Default (US units): 4.
thicknessNoBoard thickness. Unit: in (US) / cm (metric). Default (US units): 1.5.
quantity_2NoSize 2 boards. Default (US units): 0.
quantity_3NoSize 3 boards. Default (US units): 0.
quantity_4NoSize 4 boards. Default (US units): 0.
quantity_5NoSize 5 boards. Default (US units): 0.
quantity_6NoSize 6 boards. Default (US units): 0.
thickness_2NoSize 2 thickness. Unit: in (US) / cm (metric). Default (US units): 0.
thickness_3NoSize 3 thickness. Unit: in (US) / cm (metric). Default (US units): 0.
thickness_4NoSize 4 thickness. Unit: in (US) / cm (metric). Default (US units): 0.
thickness_5NoSize 5 thickness. Unit: in (US) / cm (metric). Default (US units): 0.
thickness_6NoSize 6 thickness. Unit: in (US) / cm (metric). Default (US units): 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint:false and openWorldHint:false, so the safety profile is covered; the description nonetheless adds the important defaulting behavior (every input optional, falls back to the page default) and the unit-system switch, which no annotation conveys. It partly restates readOnly/idempotency ("no side effects; same inputs always give the same result"), which is redundant but not misleading.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Densely front-loaded: formula and slot mechanics first, then the unit/price rules, then routing to siblings, then return shape. Nearly every clause carries information, though the read-only/idempotency sentence duplicates annotations and could be dropped without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 27-parameter tool with no output schema, the description does the necessary work: it explains the slot pattern, the defaulting rule, the units choice, and enumerates the return payload (headline, summary lines, worked steps, inputs_used, calculator_url). Minor residual ambiguity remains around how rows interacts with the per-slot defaults and whether headline is board feet or cost, but nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: rows selects how many size slots are active, each slot is filled by the indexed thickness_2…6 / width_2…6 / length_2…6 / quantity_2…6 group, and price is per board foot. This clarifies how the 27 flat parameters relate to one another, which the per-field schema strings do not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Calculate board feet of lumber") plus the scope (up to 6 board sizes) and the exact formula inputs (thickness × width × length × quantity). It also names the siblings it is not (wall_studs, cabinet_door_cut_list), so an agent can distinguish it from the many other construction-material calculators.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a positive condition ("Use for hardwood or rough lumber sold by the board foot") and two explicit alternatives with the conditions that select them: stud/plate counts go to wall_studs, cabinet door parts go to cabinet_door_cut_list. Both when-to-use and when-not-to-use are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.