Skip to main content
Glama
mo9652962-ai

circuit-agent

by mo9652962-ai

calculate_ipc2152_trace_current

Read-onlyIdempotent

Calculate conductor current-carrying capacity or required PCB trace width per IPC-2152 from copper weight, temperature rise, and layer position.

Instructions

Calculate conductor current-carrying capacity or solve required PCB trace width according to IPC-2152 standards for given copper weight (oz), temperature rise (ΔT °C), and layer position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes'solve_current' calculates max Amps for given trace_width_mm; 'solve_width' calculates required mm for target_current_a.
layerNoConductor layer position: 'external' (outer copper) or 'internal' (inner plane).external
copper_ozNoFinished copper thickness in ounces (default: 1.0 oz = 35 um).
temp_rise_cNoAllowable conductor temperature rise above ambient in °C (default: 20.0 °C).
trace_width_mmNoTrace width in mm (required for 'solve_current').
target_current_aNoTarget continuous current in Amperes (required for 'solve_width').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.5

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, which fully covers the safety profile of a pure calculator. The description adds the IPC-2152 standard as the computational basis, but says nothing about the numerical method, boundary behavior, or validity range that would add real behavioral 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?

A single sentence with no filler, front-loading both the action and the two output modes before the parameter list. It is dense but every clause carries information, though the parenthetical unit annotations are slightly redundant with the schema.

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 stateless calculator with full schema descriptions and a mode enum that captures the two return shapes, the definition is nearly sufficient. The absence of any statement about return format is acceptable since the schema's mode descriptions describe what each path yields, though an explicit note on output units would round it out.

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%, so each of the six parameters is already documented in the schema with defaults, units, and the mode-dependent requirement. The description merely restates three of them (copper weight, temperature rise, layer position), adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (calculate) and resource (IPC-2152 conductor current / PCB trace width), and names the governing standard and the two solve directions. It is clearly distinguishable from impedance or clearance calculators by the IPC-2152 reference, though it never names the nearest sibling (calculate_trace_impedance) explicitly.

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 phrase 'for given copper weight (oz), temperature rise (ΔT °C), and layer position' implies the required input context, but there is no explicit when-to-use vs when-not guidance and no mention of alternatives such as calculate_trace_impedance or calculate_ipc2221_clearance.

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

Deploy Server

Other Tools