Skip to main content
Glama
proteus-mcp
by Fretzzz

rename_component

Destructive

Change a part's reference designator in a Proteus .pdsprj schematic (e.g., R7 to R2). Close the project in Proteus first; optionally back up or write to a new file.

Instructions

Change the reference designator of a part (e.g. R7 -> R2). Close the project in Proteus first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "ref": "<ref>",
      "newRef": "<newRef>"
    },
    "name": "rename_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
pathYesPath to a Proteus .pdsprj project file
backupNoWhen overwriting, first copy the original to <file>.bak (default true)
newRefYes
outputPathNoWrite to this path instead of overwriting the project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the write semantics are covered. The description adds non-obvious operational context that annotations cannot convey: the project must be closed in Proteus, implying a file lock or in-place mutation hazard. It stops short of describing failure behavior when the file is open or the resulting side effects on the project file.

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?

Two short sentences, purpose front-loaded and the operational constraint immediately after the example. No redundant restatement of the title or annotations; every clause carries information.

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?

For a single-purpose mutation tool with annotations covering destructiveness and no output schema, the definition covers the essentials: what changes, the format of the identifiers, and the prerequisite. The remaining gap is error/edge behavior (project already open, duplicate designator), which is minor given the annotation coverage.

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 60%: path, backup, and outputPath are documented in the schema, while ref and newRef are not. The description compensates for exactly that gap by clarifying that these are the old and new reference designators with an example. That is the right value-add, but it adds nothing about uniqueness constraints or format rules.

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 names a specific verb and resource ("Change the reference designator of a part") and anchors it with a concrete example (R7 -> R2), so the agent knows exactly what is renamed. It is distinguishable from siblings like set_component_value or set_component_properties, though it does not explicitly name those alternatives.

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?

It supplies one meaningful precondition — "Close the project in Proteus first" — which tells the agent when the tool can be invoked successfully. However, it gives no guidance on when to prefer this over set_component_properties or set_component_value, nor what to do if the project is open.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.