Skip to main content
Glama

SparkQuote NEC calculators

Conduit fill calculator

conduit_fill
Read-onlyIdempotent

Percent fill and maximum number of THHN/THWN-2 conductors of one size in EMT or PVC Schedule 40, from NEC Chapter 9 Tables 1, 4 and 5.

Input Schema

NameRequiredDescriptionDefault
awgYesTHHN/THWN-2 size. "1" = 1 AWG; "2" = 2 AWG; "3" = 3 AWG; "4" = 4 AWG; "6" = 6 AWG; "8" = 8 AWG; "10" = 10 AWG; "12" = 12 AWG; "14" = 14 AWG; "1/0" = 1/0 AWG; "2/0" = 2/0 AWG; "3/0" = 3/0 AWG; "4/0" = 4/0 AWG.12
sizeYesTrade size. "1" = 1"; "2" = 2"; "3" = 3"; "4" = 4"; "1/2" = 1/2"; "3/4" = 3/4"; "1-1/4" = 1-1/4"; "1-1/2" = 1-1/2"; "2-1/2" = 2-1/2"; "3-1/2" = 3-1/2".3/4
typeYesConduit type. "EMT" = EMT; "PVC-40" = PVC Schedule 40.EMT
countYesNumber of conductors.

Output Schema

NameRequiredDescriptionDefault
okYes
urlYes
codeYes
rowsYes
tableNo
inputsYes
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description adds that results derive from NEC Chapter 9 Tables 1, 4 and 5, which is genuinely useful provenance, but it says nothing about return shape, rounding, or edge behavior (e.g., overfill cases).

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

Conciseness5/5

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

A single dense sentence that leads with the computed values and follows with the qualifying constraints; no filler, no repetition of the title.

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?

With a full output schema, complete parameter documentation and safety annotations, the description only needs to frame scope, which it does. The remaining gap is minor: it never states that mixed conductor sizes are unsupported in so many words, relying on "of one size."

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% and three of four parameters carry enums with per-value explanations, so the schema does the heavy lifting. The description only restates the material scope (THHN/THWN-2, EMT/PVC-40) already encoded in the enums, adding no format or default guidance beyond it.

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

Purpose4/5

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

Names the exact outputs (percent fill and maximum conductor count) and constrains the inputs (THHN/THWN-2, single size, EMT or PVC Schedule 40), which separates it cleanly from siblings like box_fill, wire_size and nec_ampacity. It lacks an explicit verb ("calculates") and never names a sibling to avoid, so it stops just short of a 5.

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?

There is no explicit when/when-not statement or alternative named, but the phrase "of one size" implicitly excludes mixed-size conductor runs, which is the main misuse case. Usage is inferable from the scoping rather than stated, so it stays at minimum-viable.

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