Skip to main content
Glama

get_net_connections

Read-onlyIdempotent

Retrieve all connections of a specified net in a LibrePCB project, including component signals, schematic segments and labels, traces, and vias.

Instructions

Connections of one net: component signals, schematic segments/labels, traces, vias.

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>",
      "net": "<net>"
    },
    "name": "get_net_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
netYesNet name or UUID
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

C2.8/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's enumeration of returned content (component signals, segments, labels, traces, vias) adds real behavioral context about scope of traversal, but says nothing about behavior for an unknown net, mixed schematic/PCB results, or result size.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is very short and front-loads the scope, which is good, but it is a sentence fragment with a colon-delimited list rather than a structured statement of action and result. There is no wasted word, yet the terseness leaves key facts unstated.

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?

With no output schema, the description must convey what is returned, and the list of signals, segments, labels, traces and vias does so at a high level. For a two-parameter read tool this is borderline adequate, but the shape of the result and whether schematic and PCB data are merged remain unclear.

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?

Both required parameters are fully described in the schema (net name or UUID; path to the *.lpp file or its directory), giving 100% coverage. The description adds no syntax, format or constraint detail beyond that, so the schema does all the work — the baseline 3 applies.

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

Purpose3/5

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

The phrase "Connections of one net" identifies the resource and scope, and the trailing list (component signals, schematic segments/labels, traces, vias) hints at what comes back. But there is no verb and no indication of whether this reads or computes connectivity, so the purpose is only implied by the tool name rather than stated.

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?

No when-to-use guidance at all. With siblings like list_nets, inspect_schematic, get_board_info and get_component_details in the catalog, an agent receives no signal about why it would call get_net_connections instead of a schematic inspection or a net listing.

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