Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

pcb_microstrip_impedance

Read-onlyIdempotent

Calculate characteristic impedance of a surface microstrip PCB trace using IPC-2141. Input trace width, dielectric height, er, and copper weight to get impedance for 0.1–2.0 width/height ratios.

Instructions

Characteristic impedance of a surface microstrip trace (IPC-2141). FR-4 er is about 4.2-4.6.

Accurate to a few percent for 0.1 < width/height < 2.0.

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>",
      "dielectric_height_mm": "<dielectric_height_mm>"
    },
    "name": "pcb_microstrip_impedance"
  }
}

Input Schema

NameRequiredDescriptionDefault
erNo
width_mmYes
copper_ozNo
dielectric_height_mmYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, so safety needs no restatement. The description adds genuine behavioral context the annotations cannot: the underlying model (IPC-2141) and its few-percent error tolerance, plus the FR-4 er assumption of 4.2-4.6. It doesn't say how copper thickness is treated, which leaves one modeling assumption undisclosed.

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 sentences, both load-bearing: the first identifies the model and standard, the second gives the practical dielectric constant and the validity band. The core identity is front-loaded and nothing is padded.

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?

With an output schema present, return-value explanation is unnecessary, and the description covers model, accuracy, and default dielectric assumption well. The remaining gap is copper_oz semantics and unit expectations for the numeric inputs.

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 0%, so the description must carry parameter meaning, and it does so only indirectly. 'er' is contextualized by the FR-4 4.2-4.6 note, and width_mm/dielectric_height_mm are covered by the ratio constraint, but copper_oz is never mentioned and its role in the model is 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?

States a specific quantity and resource: characteristic impedance of a surface microstrip trace, with the governing standard (IPC-2141) named. It doesn't contrast itself against sibling calculators (trace_current, trace_resistance, trace_width), but the noun phrase is specific enough that an agent can distinguish this as the impedance calculator without ambiguity.

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

Usage Guidelines4/5

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

The accuracy band '0.1 < width/height < 2.0' functions as an explicit validity window, telling the agent when results can be trusted and implicitly when they cannot. What's missing is any named alternative for out-of-range geometries (e.g., a stripline or wide-trace formula) or a statement that no such sibling exists.

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