Skip to main content
Glama

delete_circuit

Removes a circuit from a Logisim 2.7.1 .circ file and blocks deletion when it is the main circuit or referenced as a sub-circuit.

Instructions

Delete a circuit. Refuses if it is main or used as a sub-circuit.

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": "delete_circuit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses a refusal precondition, but says nothing about permanence, what happens to attached wires/components, how the refusal is surfaced, or whether confirmation is required for a destructive operation.

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?

Two short sentences, front-loaded with the action and immediately followed by the blocking condition. No filler.

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 destructive two-parameter tool with no annotations and no output schema, the description covers purpose and one precondition but leaves parameters and failure/return behavior undocumented. That is enough to attempt a call but not enough to call it 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% and the two parameters are bare titles 'Name' and 'Path'. The description adds no meaning for either — an agent cannot tell if path is a file path or a circuit path, or how name relates to it.

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?

States a specific verb and resource ('Delete a circuit'), so an agent knows exactly what the tool does. It does not differentiate itself from the sibling 'remove', leaving ambiguity about whether they are duplicates.

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?

The description implies usage (remove a circuit) and gives the precondition 'Refuses if it is main or used as a sub-circuit', which tells the agent when the call will fail. It never points to alternatives such as 'remove' or says what to do first (e.g., reassign the main circuit via set_main_circuit).

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