Skip to main content
Glama
Universal Netlist MCP Server

Universal Netlist MCP Server

List designs

list_designs
Read-onlyIdempotent

Lists supported design project files in a directory and returns the path each analysis tool requires, so agents can locate schematics without searching the filesystem.

Instructions

List the design projects in a directory, one path each: a .DSN, a .PrjPcb, a .kicad_pro, or a Universal Netlist .netlist.json. That path is what every other tool takes; use this tool instead of searching the filesystem.

path is optional. Omitted or blank, it searches the server's working directory, so check root for the directory actually searched. A misspelled argument name is refused with an error naming it. designs is paged: max_results entries (default 50) from offset, and next_offset is set when there are more. Notes about parts and nets cover the page only.

design_variants lists each design's builds: its native variants (Altium, Cadence CIS, KiCad; fabrication where the vendor marks one a build assembly), or <Default> alone when it records none. A design with variants requires design_variant on every query, and <Default> is refused on it.

Cadence: query the .DSN; it carries properties, connectivity, and CIS stuffing. KiCad: query the .kicad_pro; a committed .net export is read directly, otherwise the schematics are read themselves (no KiCad install needed), with kicad-cli as the last resort; a design none of them can read is reported in error.

A design marked unsupported: true cannot be read (for example an OrCAD design saved in an older Capture format); error says why and what to do, and every query on it returns that error, so do not query it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_designs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoPath to directory to search for designs
offsetNoIndex of the first designs entry to return, from next_offset. Default: 0.
patternNoRegex pattern to filter design names
max_depthNoMax directory recursion depth (0 = no recursion). Omit for unlimited.
max_resultsNoMax designs entries to return. Default: 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.15.0
    • changedInput schema / properties / max_results / description
      Previous value: -"Max designs to return. Default: 50."New value: +"Max designs entries to return. Default: 50."
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Index of the first designs entry to return, from next_offset. Default: 0.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observedv0.0.0-development

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial behavior: default search root is the server's working directory with `root` reporting the actual directory, misspelled arguments are rejected by name, results are paged with `next_offset`, and notes cover only the current page. What it does not cover is less about this tool than about downstream reads (Cadence/KiCad loading order), which is useful but tangential.

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?

Front-loaded with the core purpose and the key routing sentence, then organized into short paragraphs by concern (path/paging, variants, per-vendor reading, unsupported). It is on the long side, and the Cadence/KiCad paragraph describes how other tools read designs rather than what this tool does, which is the one block that does not strictly earn its place here.

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

Completeness5/5

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

With no output schema and five optional parameters, the description supplies what an agent needs to call this correctly and to act on the result: what a returned path is used for, how paging terminates, why a listed design may be unqueryable, and the variant requirement. Nothing material is missing for a read-only listing tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema for `path` (optional, blank means the server working directory) and for paging (`max_results` default 50 from `offset`, `next_offset` when more exist). `pattern` and `max_depth` are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List the design projects in a directory') and then enumerates exactly what counts as a design (.DSN, .PrjPcb, .kicad_pro, .netlist.json), plus the fact that it returns one path each. It also explicitly separates itself from filesystem searching, so an agent can identify the tool without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives positive routing ('That path is what every other tool takes; use this tool instead of searching the filesystem') and negative routing ('a design marked unsupported: true ... do not query it'). It also names the prerequisite for follow-on queries: a design with variants requires `design_variant` on every query, and `<Default>` is refused on such a design.

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