Skip to main content
Glama
RFingAdam

mcp-pcb-emcopilot

by RFingAdam

pcb_optimize_ground_stitching

Optimize ground via stitching for reference planes. Calculate spacing using the lambda/20 rule and suggest via locations while accounting for existing vias and plane gaps.

Instructions

Optimize ground via stitching pattern for a reference plane. Calculates spacing from lambda/20 rule and suggests via locations accounting for existing vias and plane gaps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plane_gapsNoPlane gap definitions [{x_start_mm, y_start_mm, x_end_mm, y_end_mm, width_mm}, ...]
existing_viasNoExisting via locations [{x_mm, y_mm}, ...]
plane_width_mmYesReference plane width (mm)
plane_height_mmYesReference plane height (mm)
max_frequency_mhzYesMaximum operating frequency (MHz)
dielectric_constantYesSubstrate dielectric constant (er)
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the calculation method (lambda/20 rule) and that the tool accounts for existing vias and plane gaps. The word 'suggests' implies a non-destructive, advisory operation, but the description does not explicitly state side effects, return format, or permissions, leaving some ambiguity.

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 two concise sentences with no wasted words. It front-loads the core purpose and then provides the key method and constraints, making it highly scannable and information-dense.

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?

The description lacks output details. Since there is no output schema, the agent cannot know whether the tool returns a list of via locations, a spacing value, or both. It does mention 'suggests via locations' as a hint, but not the structure or format. Given the tool's complexity, this is a notable gap, though input coverage is strong.

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 baseline is 3. The description adds value by explaining the algorithmic relationship: lambda/20 rule ties max_frequency_mhz and dielectric_constant to spacing, and 'accounting for existing vias and plane gaps' clarifies the role of existing_vias and plane_gaps. This goes beyond the schema's field-level 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 clearly states a specific verb ('optimize') and resource ('ground via stitching pattern for a reference plane'), and further defines the scope with the lambda/20 rule and awareness of existing vias and plane gaps. This distinguishes it from siblings like pcb_calc_via_stitching, which likely only calculates spacing, and pcb_analyze_ground_stitch, which likely analyzes an existing pattern.

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 description implies usage for optimizing ground via stitching, but it does not explicitly state when to use this tool over alternatives like pcb_calc_via_stitching or pcb_analyze_ground_stitch. No exclusionary guidance is provided, leaving the agent to infer selection from the tool name and context.

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/RFingAdam/mcp-pcb-emcopilot'

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