Skip to main content
Glama
kicad-bom-basic-optimizer

kicad-bom-basic-optimizer

by banxia0222

analyze_kicad_bom

Parse KiCad, Altium, or EasyEDA BOM CSVs to run manufacturing health checks, grade JLCPCB Basic substitutions, and calculate $3/part feeder-fee savings.

Instructions

Parse a KiCad, Altium, or EasyEDA BOM CSV (via file_path or inline csv_content), run manufacturing health checks, map Extended SMD passives and popular semiconductors to JLCPCB Basic equivalents with A↑/A±/A↓/B grading, and compute $3/part feeder-fee savings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_kicad_bom"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathNoLocal path to a KiCad, Altium, or EasyEDA BOM CSV file.
csv_contentNoInline BOM CSV text (alternative to file_path).
source_nameNoOptional display name for inline CSV reports (default: 'inline_bom.csv').
output_formatNoReport format to return (default: 'markdown').
feeder_fee_usdNoFeeder loading fee per Extended part in USD (default: 3.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the A↑/A±/A↓/B grading scheme, that health checks are performed, and that feeder-fee savings are computed from the $3/part default matching feeder_fee_usd. It does not say what happens if neither file_path nor csv_content is supplied, nor spell out what the health checks flag.

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?

One dense sentence that front-loads the primary action (parse a BOM) and the input mechanism before the downstream analysis. It is information-rich but runs long with comma-chained clauses, making the grading and savings details slightly harder to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, all-optional analysis tool with no output schema, the description covers inputs, processing steps, scoring scheme, and the savings computation. The only gap is return-value detail, which the output_format enum largely signals.

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 coverage is 100%, so parameter documentation is already complete and the baseline is 3. The description adds modest meaning by tying feeder_fee_usd to the '$3/part' savings calculation and noting the file_path versus inline csv_content alternatives, but says nothing about output_format or source_name beyond the 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 description names specific verbs and resources: parse a KiCad/Altium/EasyEDA BOM CSV, run manufacturing health checks, map Extended parts to JLCPCB Basic equivalents, and compute feeder-fee savings. This whole-BOM scope is clearly distinguishable from a single-part sibling like find_jlcpcb_basic_alternative.

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?

It gives clear context for when the tool applies: you have a BOM CSV (path or inline) and want health checks plus Basic-part substitution savings. However, it never states exclusions or explicitly routes single-part lookups to the named sibling, so the agent must infer that boundary.

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