Skip to main content
Glama
ProductOfAmerica

mcp-server-kicad

add_thermal_vias

Add a grid of thermal vias under a footprint pad to conduct heat away from components. Specify the footprint reference, grid dimensions, and via sizes to create the vias.

Instructions

Add a grid of thermal vias under a footprint pad.

Args:
    reference: Footprint reference (e.g. "U1", "R1")
    pad_number: Pad number to center vias on. If empty, auto-selects largest SMD pad.
    rows: Number of rows in the via grid
    cols: Number of columns in the via grid
    spacing: Spacing between vias in mm
    via_size: Via annular ring diameter in mm
    via_drill: Via drill diameter in mm
    net_name: Net to assign to vias. If None, auto-detect from pad.
    pcb_path: Path to .kicad_pcb file. Optional; omit to use the configured default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsNo
rowsNo
spacingNo
net_nameNo
pcb_pathNo
via_sizeNo
referenceYes
via_drillNo
pad_numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
netYes
padYes
centerYes
referenceYes
vias_addedYes
Behavior3/5

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

Annotations are all false (readOnlyHint=false, destructiveHint=false), so the description must carry the behavioral burden. It does disclose auto-selection and auto-detection behaviors, but it does not explicitly state that the PCB file is modified or saved, nor does it mention any side effects like overwriting existing vias or requiring an existing footprint. This is moderately transparent but has gaps for a mutation tool.

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 a well-structured docstring with a one-line summary followed by a concise parameter list. Every line adds value—there is no fluff or repetition. The most important phrase ('Add a grid of thermal vias under a footprint pad') is front-loaded.

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?

Given 9 parameters (1 required), the description covers all of them with sufficient detail. It also explains conditional behavior (auto-selection, auto-detection, optional path). Since an output schema exists, return values need not be described. The description is complete for the tool's complexity.

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?

The schema has 0% description coverage, so the description is the sole source of parameter meaning. It explains every parameter with examples and defaults (e.g., 'Pad number to center vias on. If empty, auto-selects largest SMD pad.'). This fully compensates for the schema's lack of descriptions.

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 starts with a specific verb+resource: 'Add a grid of thermal vias under a footprint pad.' This clearly distinguishes it from sibling tools like add_via (which adds a single via) and place_footprint. The purpose is unambiguous and directly tied to the tool's name.

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 provides clear context: 'under a footprint pad' and describes specific behaviors like auto-selecting the largest SMD pad and auto-detecting the net. However, it does not explicitly mention when to prefer this over alternatives (e.g., add_via for individual vias) or any exclusions. Since the context is clear but alternatives are not discussed, a 4 is appropriate.

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/ProductOfAmerica/mcp-server-kicad'

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