Skip to main content
Glama

add_pin

Place an input or output pin in a Logisim circuit at specified coordinates with a label and optional width to define wiring connection points for simulation.

Instructions

Add an input pin (faces east, connect at its loc) or output pin (faces west).

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>",
      "label": "<label>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "add_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
pathYes
labelYes
widthNo
outputNo
circuitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 burden, and it does disclose real behavior beyond the name: pin orientation and that connections attach at the pin's loc. It omits mutation side effects, coordinate/unit conventions, what happens when 'circuit' is null, and what the default width of 1 means spatially.

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?

One front-loaded sentence with no filler; the two modes are stated symmetrically in parallel parentheticals. Nothing is redundant or padded.

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?

This is a 7-parameter mutation tool with no annotations, no output schema, and zero schema coverage, yet the description addresses only one argument and one behavioral trait. An agent could not determine coordinate space, circuit targeting, or the effect of width from the definition alone.

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% across 7 parameters, so the description must compensate. It only clarifies the 'output' flag's intent; x, y, path, label, width, and circuit are left entirely unexplained, including whether path identifies a circuit, file, or component.

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 states a specific verb and resource ('Add an input pin ... or output pin') and even records the geometric consequence of each variant. The resource is distinct enough from siblings like add_wire and add_gate that an agent can route correctly, though no sibling is named explicitly.

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?

The parentheticals imply which mode to pick (east-facing input vs west-facing output), which is a mild selection hint. But there is no statement of when this tool is appropriate versus add_component/add_wire, no prerequisites such as an existing circuit, and no exclusions.

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