Skip to main content
Glama

insert

Rewires a LabVIEW VI by splicing an existing node into the connection from src to dst, linking src to node_in and node_out to dst.

Instructions

Put the already placed object node into the wire from src to dst (labels): the wire is replaced by src -> node_in and node_out -> dst (n|idx or c|0, see terms).

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": {
      "vi_path": "<vi_path>",
      "src": "<src>",
      "dst": "<dst>",
      "node": "<node>",
      "node_in": "<node_in>",
      "node_out": "<node_out>"
    },
    "name": "insert"
  }
}

Input Schema

NameRequiredDescriptionDefault
dstYes
srcYes
nodeYes
node_inYes
vi_pathYes
node_outYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the key mutation trait — the existing wire is destroyed and replaced by two new connections — which is genuinely useful. However, it says nothing about failure modes, atomicity, whether the node must be unconnected before insertion, or what the output schema returns.

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: it states the action, the substitution, and then the label-format note. The cryptic parenthetical is compressed to the point of ambiguity, but there is no wasted wording to cut.

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

Completeness2/5

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

This is a six-required-parameter graph-mutation tool with zero annotation coverage and zero schema descriptions; the output schema handles return values, but the definition still omits vi_path's meaning, the label format it gestures at, preconditions, and error behavior. It is under-specified for the complexity of the operation.

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

Parameters2/5

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

Schema description coverage is 0% across six required parameters, so the description must compensate. It maps src/dst to wire endpoints and node_in/node_out to the node's terminals, which is helpful, but 'vi_path' is never mentioned and the label syntax ('`n|idx` or `c|0`') is referenced without definition. Half the parameters remain semantically unexplained.

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?

Names a specific verb ('put ... into the wire') and describes the structural transformation precisely: the wire src->dst is replaced by src->node_in and node_out->dst. An agent can picture exactly what graph edit occurs. It does not, however, differentiate itself from siblings like 'wire' or 'connector', and the parenthetical '(`n|idx` or `c|0`, see terms)' is opaque on first read.

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?

There is no statement of when to use this versus 'wire', 'connector', or 'move'. The only routing hint is a terse 'see terms' pointer, which defers to another tool rather than telling the agent the condition for choosing this one. No preconditions are given (e.g., that the wire and node must already exist).

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