Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_drc_modify_pad_pair_group_name

Renames an existing pad pair group in the PCB DRC rules, allowing you to update or correct group names for design rule checks.

Instructions

pcb_Drc.modifyPadPairGroupName(originalPadPairGroupName: string, padPairGroupName: 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

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only mentions the return type (boolean) and that it indicates success ('操作是否成功'). It does not describe side effects, error behavior, whether the operation is idempotent, or what happens if the original name does not exist. This is minimal and leaves the agent without critical 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?

The description is concise: a signature line, a one-phrase Chinese description, and a return type line. There is no redundant or filler text. The signature is front-loaded, which is helpful. However, it could be structured more clearly (e.g., separating the description from the signature, or adding a brief usage example). Still, it is efficient and to the point.

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?

Given the lack of annotations and output schema, the description is insufficient for a complete understanding. It does not explain the context in which the tool operates (e.g., current PCB document), any side effects on the pad pair group, or error scenarios. An agent would need to infer most behavior from the tool name and signature. The description provides only the most basic details, leaving significant gaps in the invocation context.

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?

The description includes the full function signature with parameter names and types: 'originalPadPairGroupName: string, padPairGroupName: string'. This is valuable because the input schema only describes the container 'args' array with empty items (items: {}), providing no details about the actual function parameters. The signature compensates for the schema gap by giving the agent the parameter names and their order, which is essential for constructing the argument array.

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 clearly states the operation: '修改焊盘对组的名称' (modify the name of a pad pair group). The verb 'modify' and the resource 'pad pair group' are specific unanswered by the name. It does not explicitly differentiate from sibling tools like 'create_pad_pair_group' or 'delete_pad_pair_group', but the name and description together are unambiguous enough for an agent to identify its purpose.

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?

No guidance is given about when to use this tool versus alternatives, nor any prerequisites or conditions. The description only states the operation without indicating context, such as whether the original name must exist or when renaming is appropriate. It does not mention any exclusion criteria or preferred scenarios.

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