Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Register Footprint Library

register_footprint_library
Destructive

Registers a .pretty footprint library in KiCAD's fp-lib-table, enabling KiCAD to locate footprints. Use after creating footprints if KiCAD reports 'library not found'.

Instructions

Register a .pretty footprint library in KiCAD's fp-lib-table so KiCAD can find the footprints. Run this after create_footprint when KiCAD shows 'library not found in footprint library table'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoproject = writes fp-lib-table next to the .kicad_pro file (default); global = writes to the user's global KiCAD config
descriptionNoOptional description
libraryNameNoNickname for the library in KiCAD (default: directory name without .pretty)
libraryPathYesFull path to the .pretty directory to register
projectPathNoPath to the .kicad_pro file or its directory (required for scope=project when the library is not in the project folder)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate a destructive, non-read-only operation. The description adds useful workflow context (error-recovery trigger) but does not disclose what exactly is modified (e.g., overwriting the fp-lib-table entry) or any side effects. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: two sentences that front-load the action and resource, then follow with a practical usage trigger. Every word earns its place.

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?

Given the output schema exists and the input schema is comprehensive, the description covers the key workflow trigger. It lacks explicit details about side effects or scope implications, but these are in the schema/annotations, making the description sufficiently complete for a simple registration tool.

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?

The input schema has 100% parameter description coverage, so the description adds no additional parameter semantics. The baseline of 3 applies since the schema fully documents the parameters, and the description does not need to compensate.

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?

The description clearly states a specific action ('Register a .pretty footprint library') on a specific resource (KiCAD's fp-lib-table), with a clear goal ('so KiCAD can find the footprints'). It also distinguishes from related tools like create_footprint by specifying its role in the workflow.

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?

Provides explicit when-to-use context: 'Run this after create_footprint when KiCAD shows "library not found in footprint library table"'. This gives a concrete trigger and workflow position. However, it does not mention alternatives or when not to use the tool, which prevents a perfect score.

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/Avinash1286/KiCAD-MCP-Server-THEAVI'

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