Skip to main content
Glama

Get a KiCad symbol

get_kicad_symbol
Read-only

Return the full pin list (number, name, electrical type) and description for a specific KiCad symbol. For some high-risk power parts it also returns curated topology_constraints from datasheet-style application notes and footprint_suggestions. Use this before writing pin connections (e.g. mcu['VCC'] += vcc) so names, constraints and footprints match the symbol exactly. For a part found in KiCad, the result is ALSO enriched with that part's topology + required external parts from a datasheet database (merged into topology_constraints). For a part NOT in KiCad (search returned nothing), call this with library='custom' and name='': the component database returns its datasheet link, package and an UNVERIFIED machine-extracted pinout. That is not a symbol: register the part with create_custom_symbol, whose pinout is checked against the datasheet. Pass design_id so the lookup is recorded for the design's dossier and a registered part belongs to it. Give library and name, or up to 12 of them in parts.

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

Input Schema

NameRequiredDescriptionDefault
nameNoSymbol name, e.g. 'RP2040'.
partsNoBatch form: several (library, name) pairs.
libraryNoSymbol library, e.g. 'MCU_RaspberryPi', or 'custom' for a database part number.
design_idNoThe design id returned by create_design or list_designs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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 / name / maxLength
      Removed value: -200
    • removedInput schema / properties / parts / items / properties / library / maxLength
      Removed value: -120
    • removedInput schema / properties / parts / items / properties / name / maxLength
      Removed value: -200
    • removedInput schema / properties / parts / maxItems
      Removed value: -12
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld/destructive annotations: it discloses the enrichment from a datasheet component database, the extra topology + required external parts merged into topology_constraints, the UNVERIFIED machine-extracted pinout for custom lookups, and the side effect that design_id records the lookup in the design's dossier. Only the one-directional, internal nature of that database lookup versus openWorldHint=false is left implicit.

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-loads the return payload, then the usage and the two branches, so the important information arrives first. It is dense and a little repetitive around the KiCad-found enrichment branch, but nearly every sentence carries distinct routing or behavior 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?

With no output schema, the description carries the return contract and does so fully: pin fields, description, topology_constraints, footprint_suggestions, and the datasheet/package/pinout payload of the custom branch. It also states the consequence of using the result (register custom parts) so an agent can act correctly on what it gets back.

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 adds real semantics: library='custom' is defined as a database part number rather than a symbol library, parts is bounded to up to 12 pairs as a batch form, and design_id is explained as tying the lookup to a design dossier. Only the 'give library and name, or parts' precedence rule stays slightly loose.

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: it returns the full pin list (number, name, electrical type), description, and curated topology_constraints/footprint_suggestions for a named KiCad symbol. It is clearly distinguished from search_kicad_symbol (finding a part) and create_custom_symbol (registering a part that has no symbol).

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?

Explicitly says to call it before writing pin connections (e.g. mcu['VCC'] += vcc), spells out the not-in-KiCad branch (library='custom', name='<part number>') and routes to create_custom_symbol with the reason (that pinout is datasheet-checked, this one is UNVERIFIED). Both when-to-use and the alternative are named.

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