Skip to main content
Glama

build_design

Build Proteus circuit designs from specified parts and wires, check for net conflicts, and generate a project for simulation.

Instructions

Generate a project from seed templates. parts: [{"id":"U1","kind":"6116","x":-3400,"y":1000,"state":0}] (thou). kinds: LS(pin Q) 6116(A0-A10 CE OE WE D0-D7) 74HC374(D0-D7 Q0-Q7 OE CLK) DIPSW_8(L0-L7 R0-R7) BCD BLUE GRN(P0-P3). wires: [{"a":"S1.Q","b":"U1.A0","net":"A0","via":[[x,y],...],"jog_x":-5000}]. Without via a 2-bend route is made. Check conflicts is empty (wires of different nets touching/overlapping = merged nets in Proteus). Experimental: new designs may fail to load in Proteus; verify with open_project + screenshot.

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": {
      "name": "<name>",
      "parts": "<parts>",
      "wires": "<wires>"
    },
    "name": "build_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
partsYes
wiresYes

Output Schema

NameRequiredDescriptionDefault
partsYes
wiresYes
conflictsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral detail: default 2-bend auto-routing when 'via' is absent, the meaning of conflicting wires (merged nets in Proteus), and an explicit experimental caveat that generated designs may fail to load. It does not say whether an existing project of the same name is overwritten, whether anything is written to disk, or what happens on validation failure, which are material gaps for a generating/mutating tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and there is no filler, but the format documentation is compressed into dense, cryptic lines with typos ('thou', an unbalanced parenthesis in the kinds list) that hurt parseability. The ordering is sensible (purpose, parts, wires, output check, caveat) yet the prose reads like terse notes rather than a structured spec.

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

Completeness3/5

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

For a complex nested-structure builder the description covers the core shape, the conflicts validation check, and the experimental risk, and an output schema exists so return values need not be explained. However, field-level semantics of parts and wires remain underspecified, the 'name' parameter is unaddressed, and the recommended verification path references an unavailable tool, leaving meaningful gaps for an agent to call this correctly on the first try.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it largely does: it gives a concrete parts array example, enumerates the valid component kinds and their pins, and documents the wire object fields (a, b, net, via, jog_x) plus fallback routing behavior. It falls short of full compensation because the object fields themselves are not marked required/optional (is 'net' mandatory? what does 'state' mean?) and the required 'name' parameter is never discussed.

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 opening sentence states a concrete verb and resource: generate a project from seed templates with parts and wires. It is clear what is produced, though it never explicitly contrasts itself with import_project or import_sdf, which are the closest siblings for getting a design into the system.

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?

Usage is only implied: the detailed parts/wires format makes clear this is for authoring a new design from scratch rather than importing an existing one. There is no explicit when-to-use or when-not-to-use statement and no routing to a sibling alternative. The experimental warning plus 'verify with open_project + screenshot' is a de facto usage instruction, but the named tool does not appear in the sibling list, so the guidance is not directly actionable.

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