Skip to main content
Glama

get_value

Reads a live LabVIEW control or constant value by target path and decodes arrays/clusters, so you can monitor or validate VI front panel data.

Instructions

Read a constant or control value, e.g. 2.5 (DBL). target a.vi%Class|Label (Control|Out for FP objects). Controls/indicators give the live value while the VI is open in LabVIEW. Arrays/clusters decode to [..]/{..}.

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": {
      "target": "<target>"
    },
    "name": "get_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 useful traits: live values require the VI to be open, and arrays/clusters decode into [..]/{..}; but it omits error behavior, what happens when the VI is closed, and other operational context.

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?

The description is compact and front-loads the core read purpose before target syntax and decoding behavior. The telegraphic phrasing is efficient, though the target syntax sentence is slightly dense and could be clearer.

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?

The tool is simple (one required parameter) and has an output schema, so return values need not be explained. The description covers purpose, target syntax, and live-value behavior, leaving only minor gaps around error conditions and closed-VI behavior.

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

Parameters4/5

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

Schema coverage is 0%, so the description must explain the single 'target' parameter. It does so with concrete syntax ('a.vi%Class|Label') and a special case ('Control|Out' for FP objects), adding substantial meaning beyond the bare string schema.

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?

The description uses a specific verb and resource ('Read a constant or control value') and gives an example value. It clearly identifies the tool as a read operation for LabVIEW values, though it does not explicitly contrast itself with siblings such as get_prop or set_value.

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?

It implies when the tool is useful by noting that controls/indicators return live values while the VI is open in LabVIEW. However, it does not state when to prefer this over get_prop or other siblings, nor does it describe prerequisites or exclusions.

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