Skip to main content
Glama

list_nets

Read-onlyIdempotent

Inspect all nets in a LibrePCB project, including connected component signals and wiring statistics, to check connectivity and verify design wiring.

Instructions

List nets with their connected component signals and wiring statistics.

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": {
      "project_path": "<project_path>"
    },
    "name": "list_nets"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesPath to the project's *.lpp file or its directory

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?

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description usefully adds that results include connected component signals and wiring statistics, but it says nothing about output size, ordering, or whether all nets are returned at once.

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 with no filler and the key noun (nets) stated first. It is efficiently sized for a simple list tool, though the return-content clause makes the sentence slightly dense.

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-only tool with a fully documented schema, the definition covers purpose and rough return content. Without an output schema, it should say more about the shape and volume of results (e.g., whether wiring statistics are per-net counts) to be fully self-sufficient.

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?

There is only one parameter and the schema documents it at 100% coverage ("*.lpp file or its directory"), so the schema carries the load. The description adds no further meaning about project_path, leaving the baseline score 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?

"List nets" names a specific verb and resource, and the phrase "with their connected component signals and wiring statistics" states what each entry contains. It does not compare itself to the related net-inspection sibling (get_net_connections), so differentiation is left to the agent.

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 never says when this tool should be chosen over get_net_connections or list_components, nor does it state any preconditions for project_path. An agent must infer the use case purely from the phrase "list nets".

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