Skip to main content
Glama
TwoCut Calculators MCP Server

TwoCut Calculators MCP Server

Wall Stud Framing Calculator

wall_studs
Read-onlyIdempotent

Calculate studs, plates, and optional sheathing sheets for one wood-framed wall from length, spacing, corners, openings, and plate runs. Use it to estimate framing materials before buying lumber.

Instructions

Calculate studs and plates for one framed wall, with optional sheathing sheets. Studs come from length ÷ spacing (on center) plus extra for three-stud corners and each door or window opening (opening_width); top_plates is 1 or 2 runs; plate_stock is the board length for plates; wall_height adds 4 × 8 sheathing sheets (0 = none). Use for wood stud wall framing. For drywall use drywall_sheets; for insulation use insulation_batts; for board feet of lumber use board_feet. 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": "wall_studs"
  }
}

Input Schema

NameRequiredDescriptionDefault
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
lengthNoWall length. Unit: ft (US) / m (metric). Default (US units): 12.
cornersNoThree-stud corners. Default (US units): 2.
spacingNoStud spacing on center. Unit: in (US) / cm (metric). Default (US units): 16.
openingsNoDoor or window openings. Default (US units): 1.
stud_priceNoPrice per stud. Unit: $ (US) / $ (metric). Optional, leave out to skip.
top_platesNoTop plate runs (1 or 2). Default (US units): 2.
plate_priceNoPrice per plate board. Unit: $ (US) / $ (metric). Optional, leave out to skip.
plate_stockNoPlate board length. Options: 8 = 8 ft; 10 = 10 ft; 12 = 12 ft; 14 = 14 ft; 16 = 16 ft.12
sheet_priceNoPrice per sheathing sheet. Unit: $ (US) / $ (metric). Optional, leave out to skip.
wall_heightNoWall height for sheathing (0 = none). Unit: ft (US) / m (metric). Default (US units): 8.
opening_widthNoRough opening width (each opening). Unit: in (US) / cm (metric). Default (US units): 36.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, yet the description still adds substantive behavior: the actual estimation logic (length ÷ spacing plus corner and opening allowances), that top_plates takes 1 or 2 runs, that wall_height of 0 skips sheathing, and that every input falls back to a page default. It repeats the read-only/deterministic claim already in annotations, which caps it below a 5, but the calculation rules are real added context.

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?

Front-loaded with purpose and method, then alternatives, then behavior and outputs — a sensible order with no filler sentences. Density is high (semicolon-chained clauses) and a couple of fragments, like "plate_stock is the board length for plates," only echo the schema field descriptions.

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 12-parameter, all-optional calculator with no output schema, the description supplies the missing return shape (headline, summary lines, worked steps, inputs_used, calculator_url) and the default-fallback rule. Nothing an agent needs to call it correctly or interpret the result is absent.

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 goes beyond per-field docs by explaining relationships: openings consume opening_width each, studs derive from length ÷ spacing, plate_stock is the board length for plates, wall_height gates 4 × 8 sheets. It does not restate the units enum or the plate_stock options, which the schema already covers.

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?

Opens with a specific verb and resource: "Calculate studs and plates for one framed wall, with optional sheathing sheets." Scope (single wall) and outputs (studs, plates, sheathing) are stated, which separates it from sibling calculators like drywall_sheets or board_feet without needing either schema.

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?

Explicit domain guidance ("Use for wood stud wall framing") followed by three named alternatives with the condition that selects each (drywall → drywall_sheets, insulation → insulation_batts, lumber volume → board_feet). No inference required to route between siblings.

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