Skip to main content
Glama

Cuelark Tools

Conduit fill from NEC Chapter 9 Tables 1, 4 and 5

conduit_fill
Read-onlyIdempotent

Work out the fill of EMT, IMC, RMC or PVC Schedule 40 or 80 from NFPA 70 (NEC) 2023 Chapter 9: Table 5 conductor areas, Table 4 raceway area, and Table 1 allowed percent (53% for one conductor, 31% for two, 40% for more than two, or 60% for a nipple 24 in or shorter). Mixed sizes are allowed. Verify the result with the edition your AHJ has adopted.

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": {
      "conduit": "<conduit>",
      "conductors": "<conductors>"
    },
    "name": "conduit_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
nippleNoIf true, use 60% fill for a nipple 24 in (600 mm) or shorter
conduitYesemt, imc, rmc, pvc40 or pvc80
conductorsYesOne conductor group per line, e.g. '6 x 4 AWG THHN'
trade_sizeNoTrade size such as 1/2, 3/4, 1, 1-1/4. Omit to get the smallest size that fits.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real substance beyond that: the exact code edition and tables used, the fill percentages applied per conductor count, and the caveat that results depend on the AHJ's adopted edition — effectively flagging that output is advisory, not authoritative.

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 is front-loaded in the first clause, followed by the governing rules and then the AHJ caveat. Every element is load-bearing except the full percentage list, which is somewhat verbose but does preempt a natural follow-up question.

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

Completeness3/5

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

There is no output schema, and the description never states what comes back — a percent fill value, a pass/fail, and/or the smallest trade size that fits (the latter only hinted at inside the schema). For a calculation tool whose entire value is its numeric result, the return shape should be stated.

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 earns more: the enumerated percentages explain why 'nipple' matters (60% only for a nipple 24 in or shorter), and 'Mixed sizes are allowed' clarifies that the conductors parameter accepts differing trade sizes, which the schema's single-line example does not make obvious.

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 names a specific operation ('work out the fill') on a specific resource (EMT, IMC, RMC, PVC 40/80 conduit) and grounds it in named code tables (NEC 2023 Chapter 9 Tables 1, 4, 5). No sibling in the catalog does conduit fill, so no disambiguation is required, and an agent can tell instantly this is the electrical raceway fill calculator.

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?

Usage is only implied through the calculation rules (percent limits, mixed sizes permitted, nipple exception) rather than stated as when-to-use guidance. There are no competing alternatives to route against, and the closing line about verifying against the AHJ's adopted edition is useful context, but the description never says explicitly which situations call for this tool.

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