Skip to main content
Glama

new_vi

Creates and saves a new empty LabVIEW VI at the given path, giving you a starting point for building or editing a virtual instrument. For .ctl type definitions, use new_typedef.

Instructions

Create and save a new empty VI at path (for a type definition .ctl use new_typedef).

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": {
      "path": "<path>"
    },
    "name": "new_vi"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It reveals that the VI is created empty and saved, but says nothing about whether an existing file at `path` is overwritten or errors, whether the parent directory must exist, what permissions or context are required, or whether the VI is left open after creation.

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

Conciseness5/5

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

One sentence, front-loaded with the action and resource, with the sibling disambiguation in a compact parenthetical. Nothing is wasted and nothing important is buried.

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?

An output schema exists, so return values need not be explained, and the tool itself is a simple one-parameter creation call. However, for a filesystem-mutating operation with no annotations, the absence of overwrite/error behavior and path-format detail leaves the definition only marginally complete.

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% and the description only restates that `path` is where the VI goes. It does not specify whether a full absolute path, a directory, or a filename with extension is expected, nor whether the `.vi` suffix is required or appended — leaving the single required parameter under-specified.

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 ('Create and save'), a specific resource ('a new empty VI'), and the placement ('at `path`'). It also names the sibling new_typedef for the `.ctl` case, so an agent can distinguish it from the type-definition creator without opening either schema.

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?

Provides one explicit routing rule: for a type definition `.ctl`, use new_typedef instead. There is no guidance on preconditions (must a project or LabVIEW instance be open?), no exclusion for existing files, and no mention of related creators like new_class or new_library, so it is clear but not exhaustive.

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