Skip to main content
Glama

sch_instantiate_template

Returns a structured action plan to instantiate a subcircuit template, including symbols, connections, and part-search steps. Use the plan to guide schematic edits.

Instructions

Instantiate a subcircuit template — returns a structured action plan.

This tool returns a structured plan describing the symbols, connections, and part-search steps needed to add the subcircuit to the schematic. It does NOT directly edit the schematic (use the plan as a guide for calling sch_add_symbol, sch_add_wire, lib_recommend_part, etc.).

Args: template_name: Template name (from sch_list_templates()). prefix: Reference prefix applied to all template refs (e.g. "PWR_" produces PWR_U1, PWR_L1, etc.). params: Dict of parameter overrides (e.g. {"vout_v": 5.0}).

Returns: Step-by-step instantiation plan in markdown format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo
prefixNo
template_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses the tool's non-destructive behavior: 'It does NOT directly edit the schematic' and 'returns a structured action plan.' It goes beyond basic read/write hints by detailing what the plan includes (symbols, connections, part-search steps) and the output format (markdown).

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?

The description is well-structured with a concise opening sentence, a clear non-editing clarification, and neatly labeled Args/Returns sections. Every sentence contributes meaning, and the most important behavioral detail (non-editing) is front-loaded.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no annotations and low schema coverage, the description fully covers the tool's purpose, relationship to sibling tools, parameter semantics, and return format. It also mentions prerequisites and gives concrete usage guidance, making it complete for an agent to select and invoke correctly.

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

Parameters5/5

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

Schema description coverage is 0%, but the description compensates fully. Each parameter is explained with meaning and examples: template_name is sourced from sch_list_templates(), prefix is illustrated with 'PWR_' producing 'PWR_U1', and params is shown as a dict override example '{"vout_v": 5.0}'. This adds substantial value beyond the bare schema.

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?

The description begins with 'Instantiate a subcircuit template — returns a structured action plan,' which clearly identifies the tool's purpose and scope. It further distinguishes itself from direct-editing tools by explicitly stating 'It does NOT directly edit the schematic,' making it specific and differentiated from siblings like sch_add_symbol.

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?

The description explicitly states when to use the tool ('use the plan as a guide for calling sch_add_symbol, sch_add_wire, lib_recommend_part, etc.') and what not to expect ('does NOT directly edit the schematic'). It also references a prerequisite, 'template_name (from sch_list_templates()),' providing clear usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Valxyria/kicad-mcp-pro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server