Skip to main content
Glama

save_design

Destructive

Saves the current OrCAD Capture design to its .dsn file, backing up the existing file and asking for user confirmation before writing.

Instructions

Save the design to its .dsn file. The current .dsn is copied to %USERPROFILE%.orcad-mcp\backups first. Ask the user before saving.

"file_written" tells whether the .dsn on disk was rewritten. Capture's window may keep showing its "*" (modified) mark afterwards: no scripted save clears it (database save, File > Save by menu id or by menu path were all tried); the file is saved anyway, and Ctrl+S in Capture clears the mark.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
designNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the current .dsn is first copied to %USERPROFILE%\.orcad-mcp\backups, that a user confirmation is expected, and exactly what the 'file_written' return flag means. It also pre-empts a concrete failure mode: Capture's '*' modified marker may persist after a scripted save even though the file is written, and Ctrl+S clears it. That is precisely the kind of operational context annotations cannot convey.

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?

Purpose is front-loaded, followed by the backup behavior and then the return-value caveat in a logical order. The long parenthetical listing the save methods that were tried is slightly self-indulgent, but it justifies the 'do not retry' implication, so most of the text earns its place.

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?

With no output schema, the description correctly explains the 'file_written' return value and its interpretation, plus the backup and confirmation requirements, which is complete for a one-parameter save tool. The only gap is the unaddressed semantics of the 'design' parameter and what happens if it is omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single optional 'design' parameter, and the description never explains it — there is no statement of whether omitting it saves the active design or any defaulting rule. The phrase 'the design' hints at a target but adds no usable meaning for the parameter.

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 opens with a specific verb and resource: 'Save the design to its .dsn file.' No sibling performs the same action, so the purpose is instantly distinguishable from open_design/close_design. It does not explicitly name a contrast sibling, which keeps it just 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?

The instruction 'Ask the user before saving' gives a real precondition for invoking the tool, which is more than most definitions offer. However, there is no guidance on when to save versus when another tool or the user's own Ctrl+S is preferable, so the tool-selection guidance is implied rather than stated.

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