Skip to main content
Glama
Universal Netlist MCP Server

Universal Netlist MCP Server

Search components by description

search_components_by_description
Read-onlyIdempotent

Find netlist components by matching a description regex, page results, and filter DNS parts. Use it when descriptions are available; otherwise search by reference designator or MPN.

Instructions

Search for components by description pattern. Not all netlists include description data; if unavailable, fall back to search_components_by_refdes or search_components_by_mpn, or ask the user for a BOM. component_notes names the parts with no MPN. Rejects patterns that match all items; use list_components for full results. results 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": {
      "pattern": "<pattern>",
      "design": "<design>"
    },
    "name": "search_components_by_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
designYesPath to design file
offsetNoIndex of the first results entry to return, from next_offset. Default: 0.
patternYesRegex pattern for description
include_dnsNoInclude DNS components, flagged dns=true. Pass false for fitted parts only
max_resultsNoMax results 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 results entries to return. Default: 50.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Index of the first results entry to return, from next_offset. Default: 0.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observedv0.0.0-development

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, and the description adds substantial context beyond that: data may be missing in some netlists, match-all patterns are rejected, results are paged via offset/next_offset, and part/net notes cover only the current page. These are non-obvious behavioral traits an agent could not infer from the structured fields.

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 purpose, then fallbacks, then paging mechanics; every sentence carries new information and there is no filler. It is dense and backtick-heavy, which slightly hurts readability but not correctness.

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?

There is no output schema, and the description compensates by explaining `results`, `next_offset` and the page-scoped nature of `component_notes`. Coverage is strong for a six-parameter search tool, though the mention that `component_notes` names parts with no MPN is left somewhat underspecified relative to the other return details.

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 schema already documents all six parameters and the baseline is 3. The description adds meaning beyond it by explaining the paging contract (max_results entries from offset, next_offset set when more exist), which ties the two integer parameters together into a workflow the schema alone does not express.

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 ('Search for components by description pattern') and immediately distinguishes itself from siblings by naming search_components_by_refdes, search_components_by_mpn and list_components as different routes. An agent knows exactly what this tool does and what it does not do 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 explicit when-to-use context plus fallbacks: if description data is unavailable, use the refdes or MPN search or ask the user for a BOM. It also states a when-not ('rejects patterns that match all items; use list_components for full results'), leaving nothing to inference.

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