Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

pcb_trace_current

Read-onlyIdempotent

Calculate the maximum current a PCB trace can carry from width, copper weight, layer, and allowed temperature rise using IPC-2221.

Instructions

Maximum current a PCB trace of a given width can carry for a temperature rise (IPC-2221).

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": {
      "width_mm": "<width_mm>"
    },
    "name": "pcb_trace_current"
  }
}

Input Schema

NameRequiredDescriptionDefault
layerNoexternal
width_mmYes
copper_ozNo
temp_rise_cNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds real value by citing IPC-2221 as the underlying empirical model, telling the agent results are standard-derived estimates rather than exact physics. It says nothing about how the layer or copper-weight inputs alter the result, which is the main behavioral nuance for this calculation.

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 front-loaded sentence with the computed quantity first and the standard in parentheses; no filler, no restated name, nothing to trim.

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 not be described, and the annotations cover side effects. The remaining gap is that two of four inputs (layer, copper_oz) and their units/defaults are unaddressed anywhere in prose, which weakens completeness for a four-parameter calculator.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must carry the burden and does not: it mentions width and temperature rise only implicitly and never explains copper_oz (default 1), nor the layer enum, whose 'internal' vs 'external' choice materially changes current capacity. The string-or-number alternatives on the numeric params are also left unexplained.

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 a specific computed quantity ('maximum current a PCB trace of a given width can carry') plus the governing model (IPC-2221), which is concrete and distinguishable from siblings like pcb_trace_width or pcb_trace_resistance. It stops short of explicitly contrasting itself with those siblings, but the resource and quantity are unambiguous.

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: the phrase 'for a temperature rise' hints at the design-check scenario, but there is no statement of when to call this versus the inverse sizing tool (pcb_trace_width) or the resistance tool, and no prerequisites or limits.

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