Skip to main content
Glama

add_circuit

Add a new empty sub-circuit to a Logisim project at the specified path and name, enabling modular circuit construction and reuse.

Instructions

Add a new empty circuit (sub-circuit) to the project.

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": {
      "path": "<path>",
      "name": "<name>"
    },
    "name": "add_circuit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the created circuit is empty and is scoped to the project, but says nothing about duplicate-name handling, required permissions, side effects on existing circuits, or what is returned (such as an identifier needed for follow-up calls like add_component).

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, well-formed sentence with the key qualifier ("empty") front-loaded and no filler. It is appropriately short for a simple creation tool, though brevity here comes at the cost of the missing parameter and selection detail noted above.

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 two-required-parameter mutation tool with no annotations and no output schema, the definition is thin: it does not describe the inputs, the return value, or error behavior. An agent would likely need to guess at path semantics before it could invoke this confidently.

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%, so the description must explain the two required parameters. It never clarifies what "path" refers to (project path, directory, or circuit hierarchy) or any constraints on "name"; the only hint is the passing mention of "the project." This leaves both required inputs semantically ambiguous.

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 gives a specific verb and resource: "Add a new empty circuit (sub-circuit) to the project." The word "empty" narrows the outcome meaningfully, but it never distinguishes this from siblings such as create_circuit_file or add_subcircuit_instance, so the agent cannot tell which creation path to pick from the definition alone.

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 or when-not-to-use guidance is present. The description does not say whether this is the preferred way to create a circuit versus create_circuit_file, nor whether it requires an existing project or circuit context, leaving the agent to infer selection from names alone.

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