Skip to main content
Glama

eng_pcb_trace_width

Read-only

PCB trace width calculator (IPC-2221) — PCB trace width for a current, or current capacity for a width (offline, IPC-2221). current= amps (or width= instead to get max current), temp_rise= allowed rise in C (default 10), thickness= copper oz (default 1), layer=external|internal, ambient= C (default 25), length= trace length for resistance/voltage drop/power loss, units=mil|mm (for width and length). Returns cross-section, width in mil/mm/in, internal-vs-external comparison, resistance at trace temperature, and range flags (35 A, 400 mil, 10-100 C). Price: $0.002 USDC (Base, via x402).

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": {
      "current": "<current>"
    },
    "name": "eng_pcb_trace_width"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentYese.g. 2

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses the governing standard (IPC-2221), that computation is self-contained/offline, the full return payload (cross-section, width in mil/mm/in, internal-vs-external comparison, resistance at trace temperature), validity range flags (35 A, 400 mil, 10-100 C), and a paid-call cost of $0.002 USDC via x402 on Base. The pricing/auth detail is exactly the kind of behavior an agent needs and no annotation conveys.

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 and the parameter/semantics/return/pricing blocks follow in a logical order with zero padding sentences. It is a dense run-on with parenthetical repetition of the name ('PCB trace width calculator (IPC-2221) — PCB trace width for...') that could be trimmed, but nothing is truly wasted.

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?

For a one-parameter calculator the description is generous, and the absence of an output schema is offset by the explicit return-value summary. The problem is the opposite of incompleteness: it documents width, temp_rise, thickness, layer, ambient, length, and units as usable arguments when only 'current' exists in the schema, which invites an agent to pass arguments that will be rejected.

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?

The schema documents only 'current' (as a string, example '2'), so the description carries the real semantic load: units for current, temp_rise default 10 C, thickness in copper oz, layer enum external|internal, ambient default 25 C, length for resistance/voltage-drop, and units=mil|mm. That is substantial added meaning. It loses a point because several of these documented parameters are not present in the schema at all.

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?

The description names a specific verb+resource ('PCB trace width calculator (IPC-2221)') and clarifies it works bidirectionally: width from a current, or max current from a width. That is far more specific than the name alone. It does not explicitly contrast itself with the nearest sibling (eng_trace_impedance), so it stops 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?

It states the two usage modes ('current= amps (or width= instead to get max current)'), which is real when-to guidance for mode selection. However, it offers no when-not conditions, no prerequisites, and no routing to alternatives such as eng_trace_impedance. Usage context is implied rather than spelled out.

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