Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

Get KiCad Symbol & Footprint

cse_get_kicad
Read-onlyIdempotent

Download a part's KiCad symbol and footprint files as text from SamacSys ComponentSearchEngine by MPN or part ID for PCB design.

Instructions

Download a part's KiCad symbol (.kicad_sym) and footprint (.kicad_mod) as text from SamacSys ComponentSearchEngine; works for any manufacturer. Slow (a search of about 15 s, then a download; files are kept): only when you need the KiCad files. For EasyEDA footprints use jlc_get_part (live=true if unknown). Requires CSEARCH_USER and CSEARCH_PASS. Reply: part_id, search metadata when resolved by query, kicad_symbol and kicad_footprint (either file may be null). No overall tool deadline; search requests use CSE_REQUEST_TIMEOUT (default 45s per request phase), model downloads 30s per phase. A non-Success search status is retried once after 3 s; shared daily download limits may apply.

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": "cse_get_kicad"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoMPN (e.g., "LM358P", "ESP32-WROOM-32E"), max 500 characters; picks the first search result with has_model and cse_part_id. Default null; provide query or part_id.
part_idNocse_part_id from cse_search, to skip the search; default null, a nonzero ID wins

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • changedInput schema / properties / part_id / description
      Previous value: -"cse_part_id from cse_search, to skip the search"New value: +"cse_part_id from cse_search, to skip the search; default null, a nonzero ID wins"
    • changedInput schema / properties / query / description
      Previous value: -"MPN (e.g., \"LM358P\", \"ESP32-WROOM-32E\"); picks the best match that has a model"New value: +"MPN (e.g., \"LM358P\", \"ESP32-WROOM-32E\"), max 500 characters; picks the first search\nresult with has_model and cse_part_id. Default null; provide query or part_id."
  2. Changed2 schema fields changedv0.8.21
    • addedInput schema / properties / part_id / description
      Added value: +"cse_part_id from cse_search, to skip the search"
    • addedInput schema / properties / query / description
      Added value: +"MPN (e.g., \"LM358P\", \"ESP32-WROOM-32E\"); picks the best match that has a model"
  3. First observedv0.4.2

TDQS

A4.4/5.0
Behavior4/5

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

Goes well past the annotations: discloses credential requirements (CSEARCH_USER/CSEARCH_PASS), latency profile, that downloaded files are cached, timeout configuration per phase, a one-shot retry after 3 s on non-Success status, and shared daily download limits. The only gaps are that it restates the return shape already carried by the output schema and doesn't say whether partial results (one file null) are retried.

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?

Front-loaded with purpose, then cost, then alternative, then operational caveats — a sensible order with no filler sentences. It is dense to the point of being cramped (timeout and retry details packed into the tail), but each clause carries real operational information.

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 an open-world, credentialed, slow download tool, the description covers authentication, latency, caching, timeouts, retry behavior, and rate limits — everything an agent needs to decide and to set expectations. Return values are already specified by the output schema, so no further obligation remains.

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 100%, so both query and part_id are already fully documented, including the 'first result with has_model and cse_part_id' selection rule and the precedence of a nonzero part_id. The description's mentions of MPN search and part_id therefore add no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb and resource ('Download a part's KiCad symbol (.kicad_sym) and footprint (.kicad_mod) as text'), names the upstream source (SamacSys ComponentSearchEngine), and notes manufacturer-independence. It also implicitly separates itself from jlc_get_part by naming EasyEDA as that sibling's domain.

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

Usage Guidelines5/5

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

Gives an explicit gating condition ('only when you need the KiCad files') backed by a cost signal ('Slow, about 15 s'), and routes the alternative use case to jlc_get_part with the live=true hint. That is when-to-use, when-not-to-bother, and the named alternative in two sentences.

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