Skip to main content
Glama
mayjack0312
by mayjack0312

eda_pcb_drc_modify_net_class_name

Rename a PCB net class to adjust Design Rule Check settings. Specify the current net class name and the new name to update DRC configs.

Instructions

pcb_Drc.modifyNetClassName(originalNetClassName: string, netClassName: 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

A3.6/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 behavioral disclosure burden. It only states that the operation modifies a name and returns a boolean; it omits target document/window behavior, behavior when the original name does not exist, duplicate-name handling, or other side effects. This is thin 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 compact, with the API signature front-loaded and the return meaning included. There is minor redundancy between the signature and the Chinese action line, but overall it is efficiently structured.

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?

For a simple two-string rename, the signature plus boolean return covers the basic invocation mechanics, and windowId is documented in the schema. However, with no annotations and no output schema, the lack of error behavior and window-target context leaves the definition minimally viable rather than fully complete.

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 schema only exposes an opaque args array, but the description's signature provides exact parameter names, types, and order: originalNetClassName then netClassName. This is essential for constructing the argument array. The semantic distinction between 'old name' and 'new name' is implied rather than spelled out, which prevents a 5.

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 identifies the action: pcb_Drc.modifyNetClassName renames a net class, and the parameter names make the rename semantics explicit. The resource and verb are specific enough to distinguish it from sibling DRC operations like create_net_class, delete_net_class, and add_net_to_net_class.

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 signature and parameter names imply it should be used when an existing net class needs to be renamed. However, the description never states explicit criteria for choosing this tool over related net-class operations, nor does it mention prerequisites such as fetching valid net class names via get_all_net_classes.

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