Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

pcb_trace_resistance

Read-onlyIdempotent

Calculate DC resistance for a copper PCB trace from width, length, copper weight, and temperature; include current to also get voltage drop and power loss.

Instructions

DC resistance of a copper PCB trace. If current_a is given, also returns voltage drop and power loss.

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>",
      "length_mm": "<length_mm>"
    },
    "name": "pcb_trace_resistance"
  }
}

Input Schema

NameRequiredDescriptionDefault
temp_cNo
width_mmYes
copper_ozNo
current_aNo
length_mmYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world, so the safety profile is covered. The description contributes one genuinely new behavioral fact: the return payload expands to include voltage drop and power loss when current is supplied. It does not disclose that resistance varies with temp_c and copper_oz, nor units or model assumptions, leaving meaningful gaps.

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?

Two short sentences, front-loaded with what is computed and followed by the conditional output clause. Every sentence earns its place with no filler.

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?

Because an output schema exists, explaining return values is unnecessary, and the safety profile is covered by annotations. However, for a 5-parameter engineering calculation with zero schema descriptions, the definition should at least note units and the temperature/copper-weight dependence to let an agent call it correctly.

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%, so the description carries the full burden, yet it only explains the conditional role of current_a. The other four parameters (temp_c, copper_oz, width_mm, length_mm) get no meaning, units, defaults, or accepted string formats beyond their self-evident names.

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 quantity and domain: 'DC resistance of a copper PCB trace.' That is a clear verb+resource pair that separates it from siblings like pcb_trace_current or pcb_trace_width. It stops short of explicitly contrasting itself with those tools, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to choose this tool over pcb_trace_current, pcb_trace_width, or pcb_microstrip_impedance, and no prerequisites or exclusions. The only conditional text ('If current_a is given...') describes output behavior, not tool selection, so the agent is left to infer usage entirely.

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