Skip to main content
Glama

list_circuits

Lists circuits in a .circ file and shows each circuit's input and output pins for quick inspection.

Instructions

List circuits in a .circ file with their input/output pins.

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

Input Schema

NameRequiredDescriptionDefault
pathYes

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?

No annotations are supplied, so the description carries the full behavioral burden. 'List' implies a read-only operation and the description does disclose the shape of the return (circuits plus their pins), but it says nothing about behavior on a missing/invalid path, ordering of results, or whether subcircuits are included.

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?

One front-loaded sentence with no filler, and the key scoping detail (.circ file) comes early. It is perhaps slightly too terse, since a clause clarifying 'path' would have cost little.

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 one-parameter read tool with no output schema, the description covers the essentials of what is returned. Gaps remain around path semantics and failure behavior, which matter because the schema and annotations provide nothing.

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% and the single 'path' parameter is undocumented beyond its title. The phrase 'in a .circ file' does constrain path to a circuit file, which adds some meaning, but it does not say whether it is absolute/relative, whether the file must already exist, or what errors arise.

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 ('List') and resource ('circuits in a .circ file') and adds what the result contains ('their input/output pins'). It is distinguishable from write-oriented siblings like add_circuit or create_circuit_file, but it does not explicitly separate itself from describe_circuit.

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 description implies the situation (you have a .circ file and want to enumerate its circuits) but never states when to use this versus describe_circuit or other inspection tools, nor any prerequisites such as the file needing to exist.

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