Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_drc_create_pad_pair_group

Create a named pad-pair group to apply or manage design rule checks between selected pads in the PCB editor.

Instructions

pcb_Drc.createPadPairGroup(padPairGroupName: string, padPairs: Array<[string, string]>) -> Promise 创建焊盘对组 returns: 操作是否成功

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo按官方签名顺序排列的JSON参数数组
windowIdNo目标EDA窗口ID;省略时使用当前活动窗口

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the return type (Promise<boolean>) and 'returns: 操作是否成功', but does not explain side effects (e.g., whether it overwrites an existing group), uniqueness constraints, or failure conditions. This is minimal 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short and front-loaded with the signature, which is efficient. It lacks structured sections but for a simple tool, brevity is acceptable. Every line adds something (signature, Chinese description, return type).

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

Completeness2/5

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

For an agent to correctly call this tool, it needs to know how to specify pad pairs (the format and meaning of the strings) and any preconditions (e.g., group name must be unique, pairs must reference valid pads). The description provides none of this, and the schema offers only a generic args array. Given the complexity of the parameter structure, this is incomplete.

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?

The description includes the function signature with parameter names and types (padPairGroupName: string, padPairs: Array<[string, string]>), which is more informative than the generic args array in the schema. However, it does not clarify what the string pair represents (e.g., pad identifiers, net names) or any constraints. It adds basic type info but not deep semantics.

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?

The description states the operation clearly: '创建焊盘对组' (create pad pair group) with the function signature. The name and description together identify the resource and action. However, it does not explicitly differentiate from siblings like eda_pcb_drc_add_pad_pair_to_pad_pair_group, though the intent is inferable from the name.

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

Usage Guidelines1/5

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

No guidance is given on when to use this tool versus alternatives. It does not mention that this creates a new group as opposed to adding to an existing one, nor any prerequisites or context. An agent is left without direction on selection.

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