Skip to main content
Glama

TwoCut Construction & DIY Calculators

Deck Board, Joist & Screw Calculator

deck
Read-onlyIdempotent

Calculate deck boards, joists and screws or hidden clips for one rectangular deck, with the least-waste board length and an AWC DCA 6 joist span check. len is the deck length along the house (boards run this way), wid the depth away from the house (joist span); width and gap set board rows; sp is joist spacing; board is the board length you will buy; fasten picks screws or clips; species and size run the span check; unit is "us" or "metric". Use for wood or composite deck surfaces and framing. For posts set in concrete use post_hole_concrete. Read-only calculation with no side effects; every input is optional. Returns headline, summary lines, steps, a result object, 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": "deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
spNoJoist spacing on center (in or mm). Default (US): 16.
gapNoGap between boards (in or mm). Default (US): 0.1875.
lenNoDeck length along the house (ft or m), boards run this way. Default (US): 16.
widNoDeck depth away from the house (ft or m); joist span direction. Default (US): 12.
cboxNoHidden clips: clips per box. Default (US): 90.
overNoJoist overhang past the beam (ft or m). Default (US): 0.
pboxNoOptional: price per box of screws/clips ($).
sboxNoOptional: screws per box.
sizeNoJoist size for the span check.2x10
spanNoOptional: actual joist span if different from the deck depth (ft or m).
unitNoUnit system: "us" (ft, in) or "metric" (m, mm).us
boardNoBoard length you will buy, in feet.16
wasteNoExtra boards for waste, percent. Default (US): 10.
widthNoActual board face width (in or mm). Default (US): 5.5.
ccoverNoHidden clips: deck area one box covers (ft² or m²). Default (US): 50.
fastenNoFastening: face screws or hidden clips.screws
pboardNoOptional: price per board ($).
pjoistNoOptional: price per joist ($).
speciesNoJoist species for the span check: sp = Southern Pine, df = Douglas Fir-Larch/Hem-Fir/SPF, rw = Redwood/cedar/Ponderosa.sp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's marginal value is elsewhere; it delivers by disclosing that 'every input is optional' and by describing the return payload (headline, summary lines, steps, result object, inputs_used, calculator_url) despite no output schema existing. It does not explain default resolution when switching unit systems, which is the one behavioral gap.

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?

The purpose statement is front-loaded and the exclusion for post holes follows immediately. The middle parameter-glossary sentence is a dense run-on that partly restates the 100%-covered schema, but it stays compact and ends with the return-shape sentence, so no sentence is wasted outright.

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

Completeness5/5

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

For a 19-parameter, zero-required calculator with no output schema, the description supplies scope, unit handling, parameter roles, defaults pointer, and the return structure. An agent has everything needed to invoke it correctly without opening the schema.

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 baseline is 3, but the description adds relational meaning the schema cannot: 'len is the deck length along the house (boards run this way), wid the depth away from the house (joist span),' plus how width and gap set board rows and how species and size feed the span check. This directional/derived-role context genuinely helps an agent map inputs to the physical deck.

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?

The description uses the specific verb 'Calculate' with the resources 'deck boards, joists and screws or hidden clips for one rectangular deck,' and adds two distinguishing capabilities: least-waste board length optimization and an AWC DCA 6 joist span check. The rectangular-only scope and the board/joist framing split make it immediately separable from sibling calculators like board_feet or stair_stringer.

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?

It states the applicable domain ('Use for wood or composite deck surfaces and framing') and names the alternative case explicitly: 'For posts set in concrete use post_hole_concrete.' The rectangular-deck limitation is also stated up front, so an agent knows when this tool does not apply.

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.