Skip to main content
Glama
mo9652962-ai

circuit-agent

by mo9652962-ai

calculate_smt_placement_clearance

Read-onlyIdempotent

Analyze SMT nozzle collision risks between tall and low components, verify 2.0mm keepout envelopes, and generate lowest-to-tallest placement priority sequences per IPC-SM-782 and OpenPnP.

Instructions

Analyze SMT pick-and-place nozzle collision clearance between tall (H >= 4.0mm) and low components, evaluate nozzle keepout envelopes (min 2.0mm horizontal gap), and generate layered placement priority sequences (lowest to tallest) per IPC-SM-782 and OpenPnP guidelines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modulesYesComponent modules dict (from synthesize_circuit output, with positions).
board_width_mmNoBoard width in mm (default: 70.0).
board_height_mmNoBoard height in mm (default: 50.0).
min_clearance_envelope_mmNoMinimum required horizontal clearance between tall and low components (default: 2.0).
min_tall_component_height_mmNoThreshold height for tall components in mm (default: 4.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.7

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, non-destructive profile, so the bar is lower. The description goes beyond them by disclosing the actual decision rules (tall = H >= 4.0mm, 2.0mm horizontal keepout) and what the tool produces (layered placement priority sequences ordered lowest-to-tallest) with cited standards, which is genuine behavioral context.

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?

A single dense sentence with three parallel clauses, front-loaded on the core action and free of filler. Slightly overloaded for one sentence, but nothing is wasted.

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?

With 5 parameters, one required nested object, and no output schema, the description does the important work of explaining what the tool returns (priority sequences, keepout evaluation). The main gap is that it never identifies the required modules input's provenance or what happens when no collisions are found.

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?

Schema coverage is 100%, so every parameter (board dimensions, clearance envelope, tall-component threshold) is already documented in the schema, making 3 the baseline. The description restates the 4.0mm and 2.0mm defaults but adds no units, ranges, or interaction semantics beyond that.

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 names a specific verb set (analyze / evaluate / generate) against a precisely scoped resource: SMT nozzle collision clearance between tall and low components. It is instantly distinguishable from nearby siblings such as calculate_smt_feeder_matrix, calculate_stencil_aperture_ratios, or export_openpnp_job.

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

Usage Guidelines2/5

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

The description never states when to run this versus alternatives, nor does it state prerequisites such as needing positioned modules from synthesize_circuit before calling. Usage is only inferable from the domain context, and there are no exclusions or ordering guidance anywhere in the text.

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