Skip to main content
Glama
proteus-mcp
by Fretzzz

set_component_value

Destructive

Change a component's value text in a Proteus .pdsprj schematic, such as updating a resistor from 10k to 4k7; close the project in Proteus first.

Instructions

Change the value text of a part (e.g. a resistor from 10k to 4k7). 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>",
      "value": "<value>"
    },
    "name": "set_component_value"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is known. The description adds the valuable operational constraint that the project must be closed in Proteus, but does not say what is overwritten, how conflicts are handled, or what happens when the ref is not found.

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 with zero filler; the core action and its example come first, followed by the blocking prerequisite. Nothing could be removed without losing information.

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 5-parameter mutating tool with no output schema, the definition covers the action and the key precondition but omits what the result looks like and how backup/outputPath interact with destructive overwrite. Adequate but with clear gaps.

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 itself. The description only clarifies 'value' (as free text replacing current value) and implicitly 'ref' via 'a part', adding little beyond the schema and saying nothing about the overwrite-vs-outputPath choice.

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?

Uses a specific verb+resource ('Change the value text of a part') and a concrete example (10k to 4k7) that disambiguates a value edit from a general property edit. It does not explicitly contrast with the nearby set_component_properties sibling, so it falls short of a 5.

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?

"Close the project in Proteus first" is a genuine prerequisite that tells the agent when the call can succeed. However, there is no guidance on when to use this instead of set_component_properties or how it relates to rename_component, leaving alternative selection to inference.

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