Skip to main content
Glama

set_part_properties

DestructiveIdempotent

Update OrCAD Capture part values, footprints, references, and user properties in one validated batch, with rollback on failure; changes remain in memory until saved.

Instructions

Set part properties (Value, PCB Footprint, Part Reference, user properties ...) in Capture.

All changes are checked first and applied together; if one fails, the ones already applied are rolled back. Read-only properties (see get_part) are refused. The result lists old and new values. The design is changed in Capture's memory; call save_design (after the user agrees) to write the file.

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": {
      "changes": "<changes>"
    },
    "name": "set_part_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
designNo
changesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing transactional semantics (validate-then-apply with rollback on failure), the refusal of read-only properties, the shape of the result (old and new values), and the crucial fact that changes are in-memory only until save_design. The consent requirement before saving is an unusual and useful behavioral note.

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?

Five short sentences, front-loaded with what is set, then safety/atomicity, then the persistence caveat. Every sentence carries information an agent needs and none repeats the annotations or schema.

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 mutation tool with no output schema, the description covers side effects, failure behavior, return contents, and the save step, which is nearly everything needed. The only gap is the undocumented `design` parameter for targeting a specific design.

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?

The description adds real meaning for the `changes` payload — that a new property name creates a user property, that all entries are validated and applied atomically, and that read-only targets are refused. However, the top-level `design` parameter is never explained in either the description or the schema, so the description does not fully compensate for the 0% top-level schema coverage.

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?

Names a specific verb and resource ('Set part properties ... in Capture') and enumerates the property kinds it covers (Value, PCB Footprint, Part Reference, user properties). It also distinguishes itself from siblings by pointing to get_part for the read-only property list and save_design for persistence.

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

Usage Guidelines5/5

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

Explicitly states the follow-up action and its precondition ('call save_design (after the user agrees) to write the file'), which tells the agent this tool alone does not persist anything. It also states a when-not case: read-only properties are refused, with get_part named as the place to check them.

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