Skip to main content
Glama
proteus-mcp
by Fretzzz

set_component_properties

Destructive

Set, add, or remove properties on Proteus parts, such as PROGRAM, CLOCK, or model parameters, then re-parse and verify connectivity before saving. Close the project in Proteus first.

Instructions

Set, add or remove properties of a part (e.g. PROGRAM, CLOCK on a microcontroller, or model parameters). Writes ROOT.DSN and ROOT.CDB; the file is re-parsed and connectivity verified before saving. 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>"
    },
    "name": "set_component_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
setNoProperties to set, e.g. {"CLOCK":"12MHz"}
pathYesPath to a Proteus .pdsprj project file
backupNoWhen overwriting, first copy the original to <file>.bak (default true)
removeNoProperty names to delete
outputPathNoWrite to this path instead of overwriting the project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it names the files mutated (ROOT.DSN and ROOT.CDB), discloses a re-parse and connectivity verification step before saving, and states the external lock requirement (project must be closed in Proteus). That is exactly the extra context an agent needs before invoking a destructive mutation.

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?

Three short sentences, front-loaded with the action and its examples, then side effects, then the precondition. Nothing is redundant and no sentence could be dropped without losing 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 6-parameter destructive mutation with no output schema, it covers side effects, validation, and prerequisites well. The one gap is the required `ref` parameter, which is left unexplained in both schema and description, so an agent must guess whether it is a designator, path, or record id.

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 description coverage is 83%, so the baseline is 3 and the schema already documents set/remove/backup/outputPath. The description only loosely maps its 'set, add or remove' wording to the set/remove parameters and adds no format details, and the required `ref` parameter remains undescribed in both places.

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 set ('Set, add or remove') on a specific resource ('properties of a part') and grounds it with concrete examples (PROGRAM, CLOCK, model parameters). It implicitly separates itself from set_component_value by scoping to multi-property property blocks, but never names a sibling to make the boundary explicit.

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

Usage Guidelines4/5

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

Gives a real operational precondition ('Close the project in Proteus first') and examples of the property classes this applies to, which is clear actionable context. It does not state when a caller should prefer set_component_value or another sibling instead, so no explicit exclusion guidance is present.

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