Skip to main content
Glama

run

Executes a LabVIEW VI by opening its front panel, optionally aborting it after a set number of seconds, and refusing VIs with compile errors.

Instructions

Run a VI in LabVIEW (opens its front panel, Ctrl+R); after seconds (0-600) abort it if still running (0 = leave running). Refuses a VI with compile errors. Read results with get_value(a.vi%Control|<indicator>).

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

Input Schema

NameRequiredDescriptionDefault
secondsNo
vi_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses side effects (front panel opens), the abort-after-seconds behavior, the 0-600 bound, that 0 leaves the VI running, and a failure mode (compile errors cause refusal). It omits whether the call blocks until the VI finishes and what the response contains, leaving some behavioral gaps for a launch-and-maybe-abort operation.

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?

Roughly two sentences with no filler, and the operation and its abort semantics are front-loaded. The density of parentheticals makes it slightly harder to parse than it needs to be, but nothing is redundant.

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?

An output schema exists, so return values need not be described. For a tool with real side effects (launching a VI UI and conditionally aborting it), the description covers the key preconditions and timeout semantics; only the blocking/concurrency behavior and vi_path format remain underspecified.

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?

Schema description coverage is 0%, so the description must compensate. It explains `seconds` thoroughly (range 0-600, 0 = leave running), but `vi_path` is never characterized — no guidance on whether it is an absolute path, name, or project-qualified reference; the embedded 'a.vi%Control|<indicator>' string illustrates a reference syntax for get_value rather than defining vi_path.

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 ('Run a VI in LabVIEW') and immediately elaborates the mechanism ('opens its front panel, Ctrl+R'), which disambiguates the bare tool name 'run'. It also distinguishes the read path by naming get_value for results, so an agent can tell it apart from inspection siblings.

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

Usage Guidelines4/5

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

Usage context is clear: use this to execute a VI, then use get_value to read indicator values. It also gives an implicit precondition ('Refuses a VI with compile errors'). It stops short of explicit when-not-to-use guidance or naming alternatives for execution-adjacent tasks like open or analyze.

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