Skip to main content
Glama

Mounting holes

pcb_holes

Add mounting holes as multi-layer pads with round holes using standard M2-M4 sizes or custom dimensions, positioned at board corners or explicit coordinates, with plated or non-plated options.

Instructions

Add mounting holes (multi-layer pads with a round hole). size "M2"|"M2.5"|"M3"|"M4" or custom hole/pad (mm). positions "corners" (inset from the board edge) or explicit [[x,y]] mm. plated=false gives NPTH.

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

Input Schema

NameRequiredDescriptionDefault
netNo
padNo
holeNo
sizeNoM3
insetNomm from the board edge to the hole centre (default: pad radius + 1 mm)
platedNo
positionsNocorners

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose real behavior: plated=false yields NPTH, 'corners' insets from the board edge, and units are mm. It does not say whether this mutates saved board state, what happens on collision with existing copper/tracks, or whether DRC should be rerun afterward.

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?

Very dense and front-loaded — the core action is in the first clause and each subsequent fragment maps to a parameter. The telegraphic style ('size "M2"|"M2.5"...') is compact but reads like notes rather than prose, costing some first-pass clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no annotations and no output schema, the description covers the meaningful geometry parameters but omits 'net', says nothing about return values or resulting hole count, and gives no failure/conflict behavior. Adequate for calling correctly, thin for predicting outcomes.

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 description coverage is only 14% (just 'inset'), so the description must compensate and largely does: it enumerates the size enum values, explains 'corners' versus explicit [[x,y]] coordinates in mm, ties pad+hole to custom sizing, and defines plated semantics. Only 'net' remains undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Add mounting holes (multi-layer pads with a round hole)'. The parenthetical defines what a hole is in this domain, so the agent knows this creates PCB features, not vias or drills. It does not name a distinguishing sibling, but no sibling in the list overlaps with hole creation, so the gap is minor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent must infer that this tool is for mounting/fastener holes on the board. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g. requires an outline to exist before 'corners' placement makes sense). The parameter guidance substitutes for some of this but not call-time context.

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