Skip to main content
Glama

Design the light gauge steel (cold-formed steel) framing of a house

design_lgs_framing
Read-onlyIdempotent

Preliminary design of the cold-formed steel (light gauge steel, LGS) framing of a single-storey house with a gable roof on a concrete slab, in Canada: NBC 2020 Part 4 loads (snow, wind, earthquake when Sa values are given), members and screw connections to AISI S100-16 with the Canadian Appendix B (CSA S136) and AISI S240-20, Limit States Design. Frames the house (studs and tracks at 406 or 610 mm in line with Fink roof trusses, box headers with jack and king studs over every opening, full-height gable walls, bridging), analyses it and checks every member group and connection: truss chords, webs, heel and ridge gusset plates and screw groups, studs under axial load and wind, headers, gable wall studs, Type I OSB shear walls, the roof diaphragm, overall uplift and overturning. Sections not given are sized automatically (lightest SSMA S-section that passes; 43 mil and thicker studs). Returns the sections, piece count and steel mass by section, the governing utilisation ratio of each group and the ratio of every check, and which checks are conditional. Rectangular plan only, no interior load-bearing walls, roof 10 to 45 degrees, truss span 4 to 14 m, low building for wind. When wind uplift or overturning exceeds 0.9 x dead load the result says that anchorage to the foundation is required. Anchors, hold-down products, foundations, sheathing products and roll-former data are not designed. Nothing is stored. Preliminary, not signed.

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": {
      "length_m": "<length_m>",
      "width_m": "<width_m>",
      "wall_height_m": "<wall_height_m>",
      "loads": "<loads>"
    },
    "name": "design_lgs_framing"
  }
}

Input Schema

NameRequiredDescriptionDefault
loadsYesClimatic data for the location from NBC 2020 Appendix C Table C-2, and seismic data from the NRCan 2020 seismic hazard tool.
width_mYesPlan width, m. The left and right walls run along the width.
length_mYesPlan length, out-to-out of the wall framing, m. The front and back walls run along the length.
openingsNoDoors and windows (default none). position_m = distance from the left end of the wall, seen from outside, to the side of the opening; at least 0.3 m from each corner and between openings.
sectionsNoOptional fixed SSMA S-sections (e.g. "600S162-43"); the others are sized automatically. header = each of the two members of the box header.
roof_pitchNoRoof slope as rise:run text ("6:12") or degrees (10 to 45). Default "6:12".
spacing_mmNoStud and truss spacing, mm: 406 (16 in) or 610 (24 in, default).
ridge_alongNoRidge direction (default the longer side). The trusses span the other side and bear on the two eave walls.
stud_depth_inNoOptional stud depth, in, when the wall thickness is fixed (default 6, then 8 if needed).
wall_height_mYesWall height from the slab to the top of the wall framing, m.
eave_overhang_mmNoEave overhang, mm (default 406).
include_geometryNoAlso return the 3D geometry of every member (axis end points in mm, orientation, section, governing check) in structuredContent.geometry, for drawing the framing. Adds about 30 KB; default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / include_geometry
      Added value: +{
      +  "description": "Also return the 3D geometry of every member (axis end points in mm, orientation, section, governing check) in structuredContent.geometry, for drawing the framing. Adds about 30 KB; default false.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent and non-destructive, and the description adds what they cannot: nothing is stored, output is preliminary and unsigned, sections not supplied are auto-sized by a stated rule (lightest passing SSMA S-section, 43 mil minimum), and which checks are conditional (seismic only when Sa values are given). It also warns about output size for include_geometry (~30 KB) and describes the failure-mode message rather than hiding it.

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?

Effectively one dense paragraph, but it is front-loaded with purpose before constraints, then returns, then limits and exclusions. The middle catalogue of checked member groups and screw groups is long and slightly breathless, though each clause adds a real design constraint rather than filler.

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, nested-object tool with no output schema, the description compensates fully: it enumerates what is returned (sections, piece counts, steel mass by section, governing utilisation per group, every check ratio, conditional checks, geometry optionally) and states every applicability limit. An agent can call it and interpret the result without further documentation.

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; the description earns an increment by explaining intent the schema only hints at — sections not given are sized automatically with a stated selection rule, spacing aligns with Fink truss spacing, the earthquake check is skipped without Sa data, and header refers to each of the two box-header members. Most individual parameter semantics still live in the schema descriptions.

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 ("Preliminary design of the cold-formed steel framing of a single-storey house") and immediately pins the domain (Canada, NBC 2020, AISI S100-16/S240-20, LSD). The scope is narrowed by explicit geometry limits (rectangular plan, no interior load-bearing walls, roof 10-45 degrees, truss span 4-14 m), so an agent can tell whether this tool fits the request without reading the schema.

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

Usage Guidelines4/5

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

States clearly when the tool applies (preliminary single-storey gable-roof house on slab, Canada) and lists firm exclusions: anchors, hold-down products, foundations, sheathing products and roll-former data are not designed, and the one condition that triggers an anchorage warning (uplift/overturning > 0.9 x dead load). It does not name any sibling tool as an alternative for out-of-scope cases, so routing to check_steel_members or draft_project_request is left to inference.

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.

Resources