Skip to main content
Glama
kh6570
by kh6570

Set Subcircuit Component Parameters

set_subcircuit_component_parameters

Set a component's SpiceLine in an LTspice subcircuit schematic by providing the .asc path and reference; this updates subcircuit parameters without manual file edits.

Instructions

Set SpiceLine on a component inside a schematic subcircuit file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
referenceYes
spice_lineYes
spice_line2No
schematic_pathYes
workspace_rootNoOptional per-call workspace root override.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the safety/mutation profile is covered. The description confirms a 'set' operation on a subcircuit file but adds nothing about overwriting an existing SpiceLine, file-existence requirements, or what happens to spice_line2 when only spice_line is supplied.

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?

A single, front-loaded sentence with no filler or redundancy. It is efficient, though the terseness contributes to the missing parameter and usage detail elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 and 20% schema coverage, the description is too thin: it omits parameter meaning, the spice_line/spice_line2 relationship, and any indication of what the write affects or returns.

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 only 20% (just workspace_root), so the description must compensate and does not. It names 'SpiceLine' but never explains reference (component designator), schematic_path, or the role of spice_line2 versus spice_line, leaving 4 of 5 parameters undocumented in both schema and prose.

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?

States a specific verb ('Set'), a specific attribute ('SpiceLine'), and a scoped resource ('a component inside a schematic subcircuit file'). The 'subcircuit file' scope implicitly separates it from the top-level set_component_parameters, though it does not explicitly name siblings like set_subcircuit_component_value to clarify the SpiceLine-vs-value distinction.

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

Usage Guidelines2/5

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

No when-to-use guidance and no alternatives named, despite numerous nearby siblings (set_subcircuit_component_value, set_component_parameters, set_parameter). The agent must infer that this is the subcircuit-file variant for SpiceLine editing purely from the name.

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

Deploy Server

Other Tools