Skip to main content
Glama

calculate_castellated_pad_geometry

Read-onlyIdempotent

Calculate and verify castellated pad geometry against IPC hole, offset, pad, pitch, and plating limits to prevent barrel tearout and burrs during daughterboard depaneling.

Instructions

IPC-A-600J §2.9 / IPC-6012E §3.6.3 castellated hole (edge plating half-hole) manufacturability solver: verifies minimum finished hole diameter (>=0.80mm), centerline routing cut offset (|delta| <= 0.05mm), minimum inward pad extension (>=0.50mm), pitch (>=1.27mm), and barrel copper plating thickness (>=20μm) to prevent copper barrel tearout and burrs during daughterboard depaneling.

Input Schema

NameRequiredDescriptionDefault
pad_pitch_mmNoCenter-to-center pitch between adjacent holes in mm (default: 2.00).
pad_width_mmNoPad width along board perimeter in mm (default: 0.80).
pad_inward_length_mmNoInward annular pad extension from board edge in mm (default: 0.80).
hole_drill_diameter_mmNoFinished drill diameter in mm (default: 1.00).
center_to_edge_offset_mmNoCutter path offset from hole center in mm (default: 0.00).
solder_mask_clearance_mmNoSolder mask relief opening margin in mm (default: 0.080).
copper_plating_thickness_umNoBarrel copper plating thickness in μm (default: 25.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.25.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare it read-only, idempotent and closed-world, so the safety profile is covered. The description adds real value beyond that: concrete acceptance thresholds (0.80mm hole, 0.05mm offset, 0.50mm pad extension, 1.27mm pitch, 20μm plating) and the physical failure mode each guards against. It does not state what the response looks like (per-check pass/fail).

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?

One front-loaded sentence that opens with standards and function, then enumerates the checks. No filler, though it is dense and all thresholds are crammed in without visual separation.

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?

Inputs and rules are well specified for a 7-parameter, default-heavy solver. However, with no output schema, the description never explains what the tool returns (per-criterion pass/fail, margins, or a composite verdict), which an agent needs to interpret results.

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 100%, so a 3 is the baseline. The description goes further by mapping parameters to pass/fail criteria (hole diameter, centerline offset delta, inward pad extension, pitch, plating thickness), giving each number engineering meaning rather than just units.

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 concrete verb set ('verifies') and a highly specific resource ('castellated hole / edge plating half-hole manufacturability solver'), naming the exact standards and five checks performed. Purpose is unmistakable, though it never explicitly contrasts itself with the many nearby calculate_* geometry tools.

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?

The use case is implied by 'to prevent copper barrel tearout and burrs during daughterboard depaneling', which tells the agent this is a pre-fab DFM check on castellated edges. It gives no explicit when-not conditions or pointers to sibling audits (e.g., press-fit, panel rails) that might overlap.

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

Deploy Server

Other Tools