Skip to main content
Glama
tureruygar-glitch

kicad10-mcp

calc_track_width

Calculate the IPC-2221 minimum PCB track width for a given current and temperature rise, and compute resistance and voltage drop from track length.

Instructions

IPC-2221 minimum track width for a current, plus resistance and voltage drop when a length is given.

Args: current_a: Continuous (or worst-case, e.g. motor stall) current in amps. temp_rise_c: Allowed temperature rise above ambient (10 C is conservative). copper_oz: Copper weight (1 oz = 35 um is the usual default). internal_layer: True for inner layers (they cool worse, need ~2.5x width). length_mm: Optional track length to report resistance, drop, and loss.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
copper_ozNo
current_aYes
length_mmNo
temp_rise_cNo
internal_layerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the conditional behavior (length triggers resistance/drop/loss) and the physical model nuance that inner layers need ~2.5x width because they cool worse. It never states that this is a side-effect-free calculation that does not touch the board, which is the key thing an agent needs to know amid a set of mutating siblings.

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 summary sentence followed by a compact, line-per-parameter Args block; no filler. The opening is a noun phrase rather than a verb clause, a minor structural weakness, but the content is tight and well organized.

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?

An output schema exists, so return values need no explanation, and every input is documented. For a side-effect-free calculator it is nearly complete; it could still note the assumption set (e.g., ambient, formula basis) but nothing essential to correct invocation is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate and it does: all five parameters are documented with units (amps, C, mm, oz), defaults, and physical meaning, including the non-obvious semantics of internal_layer. This fully covers the gap left by the bare schema.

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 opening sentence names a specific computation (IPC-2221 minimum track width) tied to a specific input (current), and adds the two conditional outputs (resistance and voltage drop) that only appear when length is supplied. An agent can immediately distinguish this from board-mutation siblings like add_track since it is a pure calculation.

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 'use this when...' vs alternative routing (the closest sibling, analyze_power_budget, is never mentioned). However, the arg documentation embeds practical selection guidance such as '10 C is conservative' and '1 oz = 35 um is the usual default', which helps with invocation but not with tool choice.

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