Skip to main content
Glama

lib_generate_symbol_from_pintable

Create a KiCad symbol (.kicad_sym) from a pin table. Specify symbol name and pin list to generate and save the symbol file.

Instructions

Generate a KiCad symbol (.kicad_sym) from a pin table and save it.

Each pin dict must contain: number (str | int), name (str). Optional per-pin keys: pin_type (input/output/bidirectional/passive/power_in/power_out/…), side (left/right/top/bottom), unit (int ≥ 1).

Args: name: Symbol name, used as both the library entry and the default value. pins: List of pin specification dicts. reference_prefix: Ref-des prefix (U, J, Q, R, …). description: Short human description. datasheet: Datasheet URL or path. footprint_hint: Default footprint (e.g. "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm"). output_path: Optional relative path inside output_dir. Defaults to symbols/<name>.kicad_sym.

Returns: Confirmation with the saved file path, or an error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pinsYes
datasheetNo
descriptionNo
output_pathNo
footprint_hintNo
reference_prefixNoU

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It discloses output behavior (confirmation with saved file path, or error) and default output location, but it does not state overwrite semantics, file-system permissions, or side effects beyond saving. This is a meaningful gap for a file-writing tool.

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?

The description opens with a crisp one-sentence summary, then uses a structured Args section and lists. It is longer than minimal, but the additional details are all functional and directly support correct invocation.

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?

The description covers input contract, per-pin schema, all parameters, and return behavior. Since an output schema exists, explaining return structure is unnecessary. Minor gap: no explicit guidance about when not to use this tool, but overall the description is complete for practical use.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate. It documents all seven arguments, the required pin dict structure with required/optional keys, acceptable values for pin_type and side, unit constraints, and default output_path pattern. This fully compensates for the sparse 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?

Description states a specific action: 'Generate a KiCad symbol (.kicad_sym) from a pin table and save it.' This clearly identifies the tool's function and distinguishes it from sibling tools like footprint generation or stock checking.

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?

The description clearly implies when to use this tool: when you have a pin table and want to create a KiCad symbol. It does not explicitly exclude alternatives or name competing tools like lib_create_custom_symbol, but the context is clear enough for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Valxyria/kicad-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server