Skip to main content
Glama
Universal Netlist MCP Server

Universal Netlist MCP Server

List components

list_components
Read-onlyIdempotent

List components in a design by exact refdes prefix (case-insensitive), grouped and paged; find, inspect, or filter fitted and DNS parts by type.

Instructions

List components of a specific type in a design. The type is the refdes prefix, matched whole and case-insensitively: "u" gives U1 and U2 but NOT USB1, whose prefix is USB, and "tp" gives the test points. Asking for a partial prefix returns nothing rather than everything starting with it, so if a part you expected is missing, look for it under its own prefix. Identical components are grouped for compact output: parts share a group only when their MPN, description, comment and value all agree, so every field a group reports is true of every part in it. component_notes names the parts with no MPN. If no components match, the error lists the prefixes the same query would return, and names apart any prefix whose components are all DNS. A prefix whose components are all DNS returns an empty list with a note saying so; pass include_dns=true to list them. components 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.

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": {
      "design": "<design>",
      "type": "<type>"
    },
    "name": "list_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesComponent prefix: U, C, R, L, etc.
designYesPath to design file, as returned by list_designs
offsetNoIndex of the first components entry to return, from next_offset. Default: 0.
include_dnsNoInclude DNS (Do Not Stuff) components, flagged dns=true. Pass false to list only fitted parts
max_resultsNoMax components entries to return. Default: 50.
design_variantNoDesign variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records none

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent/closed-world profile, and the description adds substantial behavior beyond them: grouping rules (MPN, description, comment, value must all agree), that `component_notes` lists parts without an MPN, that no-match errors enumerate the prefixes the query would return, and that notes cover only the current page. The DNS sentence is muddled and appears to conflict with the schema's `include_dns` default of true (it implies DNS-only prefixes come back empty unless include_dns=true is passed), which could mislead on a valid call.

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 most important rule (whole-prefix matching) followed by grouping, error, and paging semantics in a logical order. It is long and dense for a list tool, and the DNS/paging sentences pack multiple conditions into single clauses, costing some readability, but little is truly redundant.

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?

For a 6-parameter listing tool with no output schema, the description covers return shape (grouped parts, `component_notes`, `next_offset`), empty-result and error behavior, DNS handling, and the fact that notes are page-scoped. An agent can call this and interpret the response without further information; only the include_dns default wording needs tightening.

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 baseline is 3, but the description genuinely adds meaning: `type` is a whole-prefix match, not a substring; pagination is `max_results` from `offset` with `next_offset` signalling more; and DNS components are flagged rather than silently dropped. The `include_dns` explanation is the weak point, since it reads as if the default excludes DNS when the schema default is true.

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 components of a specific type in a design") and immediately defines what "type" means: a whole, case-insensitive refdes prefix. The U/USB1 example makes it distinguishable from substring-style lookups like search_components_by_refdes without the agent needing to open the sibling.

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

Usage Guidelines4/5

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

Gives real when-to-use signals: partial prefixes return nothing, and "if a part you expected is missing, look for it under its own prefix" steers the agent to retry rather than switch tools. It does not explicitly name an alternative (e.g. search_components_by_refdes) for substring-style lookups, so routing is implied rather than stated.

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