Skip to main content
Glama

Proven Plaza Calculators & Open Data

Conduit Fill Calculator (NEC Chapter 9, EMT and PVC)

calc_conduit_fill
Read-only

Conduit fill for THHN/THWN-2 wires in EMT or Schedule 40 PVC: total wire area, percent fill against the NEC 53/31/40% limits, whether it fits, the smallest conduit that does, and the maximum number of same-size wires. Formula: Wire area = Σ count × Table 5 area (14 AWG 0.0097, 12 AWG 0.0133, 10 AWG 0.0211, 8 AWG 0.0366, 6 AWG 0.0507 sq in …). Allowed = Table 4 conduit area × 53% (1 wire), 31% (2) or 40% (3+). Same-size maximum = allowed ÷ wire area, rounded up only at 0.8 or more.

Input Schema

NameRequiredDescriptionDefault
sizeNoTrade size; default 3/4
conduitNoConduit type; default emt
count_1No1 AWG THHN wires; default 0
count_2No2 AWG THHN wires; default 0
count_3No3 AWG THHN wires; default 0
count_4No4 AWG THHN wires; default 0
count_6No6 AWG THHN wires; default 0
count_8No8 AWG THHN wires; default 0
count_10No10 AWG THHN wires; default 0
count_12No12 AWG THHN wires; default 0
count_14No14 AWG THHN wires; default 6
count_1_0No1/0 AWG THHN wires; default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes further by disclosing the exact computation (Table 5 areas per AWG, Table 4 area × 53/31/40% depending on conductor count) and the unusual rounding rule (round up only at .8 or more). These are real behavioral facts an agent could not infer from structured fields, though the response shape is only listed, not described.

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 outputs, then the formula, then the limits — a logical order with no filler sentences. The partial AWG table (six values followed by an ellipsis) is slightly bulky but each listed constant is directly usable, so little is wasted.

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 12-parameter, zero-required calculator with no output schema, the description covers inputs (wire types, conduit types), the governing rules, and the five result fields it returns, which is enough to call it correctly. Residual gaps are minor: no statement of units/format for the returned values or how percentages are reported, and no guidance on the all-defaults case.

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

Parameters3/5

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

Schema description coverage is 100% with per-parameter descriptions and defaults (count_14 defaults to 6, others 0), so the schema already carries parameter meaning and the baseline is 3. The description adds the wire-area constants and the THHN/THWN-2 restriction on wire type, but says nothing about the count_1 vs count_1_0 distinction or enum coverage for size/conduit.

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 (conduit fill for THHN/THWN-2 in EMT or Schedule 40 PVC) and enumerates the concrete results returned: total wire area, percent fill, fit verdict, smallest conduit, max same-size wires. That scope cleanly separates it from calc_box_fill, calc_wire_size, and calc_voltage_drop.

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

Usage Guidelines3/5

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

The description implies when to use it (sizing conduit for a given wire complement) but never states when not to use it or points at the neighboring calculators. There is no rule such as 'use calc_box_fill for box capacity' or 'use calc_wire_size for ampacity' to route the agent among ~50 calc_* siblings.

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