Skip to main content
Glama

Search KiCad symbols

search_kicad_symbol
Read-only

Search KiCad's standard symbol libraries for parts whose name contains a substring. Use this whenever you are not 100% sure the (library, name) pair you're about to pass to Part(...) exists. Always prefer the package-suffixed variant the search returns over a generic name. If a part returns nothing here, get_kicad_symbol(library='custom', name='') may find it in the component database (a datasheet link and a pinout lead); register it with create_custom_symbol. Pass design_id so the lookup is recorded for the design's dossier and a registered part belongs to it.

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

Input Schema

NameRequiredDescriptionDefault
queryYesSubstring to search for, e.g. 'NE555', 'USB-C', 'RP2040'.
libraryNoRestrict to one symbol library, e.g. 'Timer'.
design_idNoThe design id returned by create_design or list_designs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
    • removedInput schema / properties / library / maxLength
      Removed value: -120
    • removedInput schema / properties / query / maxLength
      Removed value: -200
    • removedInput schema / properties / query / minLength
      Removed value: -1
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With readOnlyHint/openWorldHint/destructiveHint already supplied, the description still adds real behavior: substring (not exact or fuzzy) matching, the existence of package-suffixed variants in results, and that passing design_id records the lookup into the design's dossier and scopes a registered part to it. The one soft tension is that readOnlyHint=true while the call is said to 'record' the lookup — a logging side effect rather than a content mutation, so not a genuine contradiction, but it deserves a beat of clarity. Result caps / pagination and case sensitivity are still unstated.

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 the core action, then progressively narrower guidance (result preference, fallback, side effect), so an agent can stop reading at any sentence. The final sentence is long and chains two ideas (dossier recording + part ownership), costing some scannability, but nothing is filler.

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?

No output schema exists, and the description does enough — it signals results are candidate (library, name) pairs that may include package-suffixed variants. Combined with the explicit recovery path when nothing is found, an agent has what it needs; missing only result-count/ordering expectations for a search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns more: it explains the semantic purpose of design_id (dossier recording and ownership of a later registered part) beyond the schema's terse 'design id returned by create_design or list_designs'. The library parameter's restriction role is implied rather than restated, which keeps it just short of 5.

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?

Opens with a specific verb, resource, and matching rule: 'Search KiCad's standard symbol libraries for parts whose name contains a substring.' The substring-matching scope and the 'standard symbol libraries' boundary separate it cleanly from get_kicad_symbol (fetch by exact key) and from search_kicad_footprint (different resource), 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 Guidelines5/5

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

Gives an explicit trigger ('whenever you are not 100% sure the (library, name) pair you're about to pass to Part(...) exists'), a decision rule for results ('prefer the package-suffixed variant'), and a documented fallback chain (get_kicad_symbol with library='custom', then create_custom_symbol). This is the when-to-use / when-not / alternative triad in full.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources