Skip to main content
Glama
PCB Parts MCP Server

PCB Parts MCP Server

by Averyy

CSE Search (ECAD Models)

cse_search
Read-onlyIdempotent

Search SamacSys ComponentSearchEngine to check generic ECAD/3D model availability and datasheets for a part, returning model status and part IDs; use separate KiCad tools for actual files.

Instructions

Search SamacSys ComponentSearchEngine for generic ECAD/3D availability and datasheets. Reply: results and total; rows include has_model, has_3d, model_quality and cse_part_id, without confirming individual ECAD formats. Use cse_get_kicad for actual KiCad files. Slow (a search takes about 15 s, longer when busy; answers are kept): only when you need ECAD models. For part search use jlc_search; for EasyEDA footprints, jlc_get_part (live=true if unknown). Search requests use CSE_REQUEST_TIMEOUT (default 45s per request phase); a non-Success API status is retried once after 3 s. No overall tool deadline; search requires no credentials.

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": {
      "query": "<query>"
    },
    "name": "cse_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 5, clamped to 1-10)
queryYesMPN or keyword (e.g., "LM358P", "STM32F103"), max 500 characters

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • changedInput schema / properties / limit / description
      Previous value: -"Max results (1-10)"New value: +"Max results (default 5, clamped to 1-10)"
    • changedInput schema / properties / query / description
      Previous value: -"MPN or keyword (e.g., \"LM358P\", \"STM32F103\")"New value: +"MPN or keyword (e.g., \"LM358P\", \"STM32F103\"), max 500 characters"
  2. Changed2 schema fields changedv0.8.21
    • addedInput schema / properties / limit / description
      Added value: +"Max results (1-10)"
    • addedInput schema / properties / query / description
      Added value: +"MPN or keyword (e.g., \"LM358P\", \"STM32F103\")"
  3. First observedv0.4.2

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses latency (~15 s, longer when busy), that answers are cached, the CSE_REQUEST_TIMEOUT default of 45 s per request phase, a single retry after 3 s on non-Success status, absence of an overall deadline, and that no credentials are needed. This is exactly the operational context annotations cannot express.

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?

Purpose is front-loaded and each sentence carries information, but the block is dense and long, with the reply-format, usage routing, and timeout/retry details packed together. Slight tightening into clearer segments would help, though nothing is truly extraneous.

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 slow, open-world search tool, the definition covers purpose, alternatives, return contents (results/total, has_model, has_3d, model_quality, cse_part_id), latency, caching, and retry/timeout semantics. An output schema exists, yet the reply summary still gives the agent enough to interpret results.

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% and both parameters (query, limit) are fully documented in the schema, so the baseline applies. The description adds no syntax or format detail for query or limit beyond what the schema already states.

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+resource ('Search SamacSys ComponentSearchEngine') with scope ('generic ECAD/3D availability and datasheets'), and immediately scopes out what it does not do ('without confirming individual ECAD formats'). An agent can distinguish it from cse_get_kicad, jlc_search and jlc_get_part without opening any schema.

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?

Explicit when-to-use routing: 'Use cse_get_kicad for actual KiCad files', 'For part search use jlc_search; for EasyEDA footprints, jlc_get_part (live=true if unknown)', plus a usage constraint ('only when you need ECAD models'). Alternatives and the conditions selecting them are named outright.

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