Skip to main content
Glama

add_wire

Draws orthogonal polyline wires through specified points in a Logisim circuit, connecting segment endpoints to existing wires while ignoring crossings.

Instructions

Add a polyline wire through points [[x,y], ...]; each segment must be horizontal or vertical. An end landing on another wire joins it; crossings don't.

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>",
      "points": "<points>"
    },
    "name": "add_wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
pointsYes
circuitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose genuinely non-obvious semantics: an endpoint landing on another wire creates a junction while a crossing does not. However it says nothing about failure modes for diagonal segments, required permissions or existing-circuit prerequisites, or what the tool returns (no output schema).

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?

Two dense sentences with no filler, and the core capability is front-loaded before the geometry constraint and the junction rule. The semicolon-chained clauses are compact but read cleanly.

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 3-parameter mutation tool with no annotations, no output schema, and 0% schema description coverage, the description should also cover what 'path' and 'circuit' mean and what happens on invalid input. It covers the geometry and connectivity model well but leaves too much of the parameter surface and return behavior to inference.

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

Parameters3/5

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

Schema coverage is 0%, so the description must compensate, and it does for the most complex parameter by giving the point format '[[x,y], ...]' plus the segment orientation constraint on 'points'. The required 'path' parameter and the optional 'circuit' parameter are left entirely unexplained, so compensation is only partial.

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 names a specific verb and resource ('Add a polyline wire') and immediately qualifies the geometry with the orthogonal-segment constraint. The resource 'wire' is distinct from siblings like add_component, add_gate, and add_pin, though no sibling is named explicitly to sharpen the 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?

There is no when-to-use guidance, no prerequisites (e.g. whether a circuit file must already exist), and no named alternatives among the many add_* siblings. The horizontal/vertical rule is a validity constraint on the input rather than guidance on when this tool is the right choice.

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