Skip to main content
Glama

logisim_inspect

Read a .circ file to list its circuits, components with port names, and connecting nets as Logisim sees them, so you can inspect or build circuits accurately.

Instructions

Read a .circ file: list its circuits, components (with port names, as used by logisim_build) and the nets connecting them, as Logisim itself sees them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the .circ file (absolute, or relative to the working folder)
circuitNoCircuit inside the file (default: the main circuit)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/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. 'Read' implies a non-mutating operation and it discloses what is enumerated in the result, plus the notable claim that data is presented 'as Logisim itself sees them' (authoritative parsing). It does not state error behavior for missing files, output format, or any side effects.

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 front-loaded sentence that names the resource first and then the payload. It is dense with no redundant filler, though the trailing clause about Logisim's own view is slightly abstract.

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

Completeness4/5

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

In the absence of an output schema, the description does the necessary work of enumerating the return contents (circuits, components, ports, nets). It stops short of describing error cases or result structure, but is largely sufficient for an inspection tool.

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 description coverage is 100% with only two parameters, so the schema already documents path and circuit (including the main-circuit default). The description adds no syntax, format, or scoping detail beyond that, making the baseline 3 appropriate.

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: 'Read a .circ file' and enumerates what is returned (circuits, components with port names, nets). It hints at a relationship with logisim_build ('port names, as used by logisim_build'), but does not distinguish itself from logisim_components or logisim_verify, so sibling differentiation is only partial.

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 tool reads an existing .circ file, so an agent can infer it is for inspection before building or verifying. There is no explicit when-to-use, when-not-to-use, or named alternative among the eight siblings, leaving routing to inference.

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