Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Set Schematic Component Property

set_schematic_component_property
Destructive

Add or update a single custom property (e.g., MPN, DigiKey_PN, Voltage) on a schematic component in a .kicad_sch file. Create the property if it doesn't exist or overwrite the existing value.

Instructions

Add or update a single custom property on a placed schematic symbol.

This is a focused convenience wrapper around edit_schematic_component for the very common case of attaching one BOM / sourcing field at a time. The property is created if it does not already exist on the component.

Typical custom properties: • MPN, Manufacturer, Manufacturer_PN — manufacturer part number metadata • DigiKey, DigiKey_PN, Mouser_PN, LCSC, JLCPCB_PN — distributor part numbers • Voltage, Tolerance, Power, Dielectric, Temperature_Coefficient — passive parameters • Description, Notes — free-form documentation • Any custom field your BOM exporter expects.

These properties are written into the .kicad_sch file as standard KiCad property records, are exported by export_bom, and are picked up by the JLCPCB and Digi-Key sourcing tools. Newly-created properties default to hidden — set hide=false to display the value on the schematic canvas.

For batch updates of multiple properties at once, use edit_schematic_component with the properties parameter instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoLabel X position in mm (default: component X)
yNoLabel Y position in mm (default: component Y)
hideNoHide the property text on the schematic canvas. Defaults to true for newly-created custom properties.
nameYesProperty name (e.g. 'MPN', 'Manufacturer', 'DigiKey_PN', 'Voltage', 'Dielectric')
angleNoLabel rotation in degrees (default: 0)
valueYesProperty value to write (use empty string to clear)
justifyNoText justification for the property label. KiCad alignment keywords: "left", "right", "center", "top", "bottom", or combined e.g. "left top". Omit to leave unchanged. Pass "center" to reset to the KiCad default.
fontSizeNoFont size in mm for the label (default: 1.27)
referenceYesReference designator of the component (e.g. R1, U3)
schematicPathYesPath to the .kicad_sch file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate a destructive write operation (destructiveHint=true), and the description enriches this by explaining the property is created if missing, defaults to hidden unless hide=false, persists to the .kicad_sch file, and participates in export_bom and sourcing tools. It adds context beyond the raw annotation, especially the hidden default behavior, which directly affects invocation.

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 is well-structured with a clear opening, bullet points for typical properties, and a closing alternative note. It is somewhat verbose for the simplicity of the operation, but every sentence contributes useful context—examples, defaults, downstream effects, and alternatives—so it earns its length while remaining scannable.

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 mutation tool with annotations and an output schema, the description covers the operation's purpose, use cases, alternative when to use edit_schematic_component, default visibility behavior, and impact on exports. It leaves no practical gaps that an agent needs for correct invocation, even for the full 10-parameter schema.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds semantic value by listing typical property names (MPN, DigiKey_PN, etc.) and clarifying that 'use empty string to clear' and the hidden default apply within the broader property lifecycle. It doesn't repeat every schema field but reinforces behavior tied to the parameters.

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 opens with 'Add or update a single custom property on a placed schematic symbol,' giving a specific verb and resource. It immediately distinguishes itself from sibling edit_schematic_component by positioning as a 'focused convenience wrapper' for one-property-at-a-time updates, which is clear differentiation.

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 states when to use this tool versus the alternative: 'This is a focused convenience wrapper' for attaching one BOM/sourcing field at a time, and directly instructs 'For batch updates of multiple properties at once, use edit_schematic_component.' This provides clear when-to-use and when-not-to-use guidance.

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