Skip to main content
Glama

wire

Connects source and destination terminals or labels in a LabVIEW VI, including node terminals, loop stop terminals, and auto-indexed tunnels across loop borders.

Instructions

Wire srcLabel|dstLabel using srcKind|srcIdx|dstKind|dstIdx. Kinds: c = control/indicator/constant, n = node terminal Terms[idx] (outputs may come first: Wait (ms) is n|0 out, n|1 in), i = loop iteration terminal, st1 = While Loop stop terminal (dst only, e.g. c|0|st1|0). A wire crossing a loop border makes an auto-indexed tunnel: set it Regular with loop.

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>",
      "labels": "<labels>",
      "terminals": "<terminals>"
    },
    "name": "wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelsYes
vi_pathYes
terminalsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations, so the description carries the full burden of behavioral disclosure. It never says whether the VI must be open or active, what happens on failure, or what success/failure looks like, though an output schema exists. It does convey some structural semantics (kinds, auto-indexed tunnels, stop terminals dst-only) which is genuinely useful context.

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?

Compact and notation-heavy; the two grammar lines are front-loaded and functional, but the kind legend (especially the parenthetical about n|0/n|1 output ordering) is packed into dense prose without structure. Every sentence has substance but readability suffers.

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?

For a 3-param, 3-required tool with an output schema, the description supplies the essential value grammar and kind codes, which is the hardest part for an agent to infer. It still omits mapping strings to parameter names and preconditions like whether the VI must be open, but the core callable semantics are present.

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 coverage is 0%, so all three parameters (vi_path, labels, terminals) are undocumented by the schema. The description explains the string grammar (`srcLabel|dstLabel` and `srcKind|srcIdx|dstKind|dstIdx`) and the kind codes, which is a real addition, but it never maps the two strings to the parameter names labels/terminals or says what vi_path is.

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?

Verb 'Wire' plus resource labels is specific, but the sentence is terse and dense with notation an agent may not parse. It does distinguish the action from siblings like loop/terms, but doesn't state the underlying VI context (e.g., which block diagram, whether vi_path identifies the target) or what the operation produces.

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

Usage Guidelines3/5

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

Implies usage: connect terminals within a VI diagram, and implies the `loop` sibling is used to make a tunnel Regular. However, there's no explicit when/when-not guidance, no prerequisite ordering (must the VI be open?), and no mention of what happens when the wire can't be created.

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