Skip to main content
Glama

chart_scale

Set a LabVIEW chart or graph Y-axis scale to fixed ymin–ymax bounds or enable continuous autoscaling, then save the VI.

Instructions

Set a chart's or graph's Y scale (a.vi%Control|Chart): fixed ymin..ymax, or autoscale=True for continuous autoscaling. Saves the VI (runs vendor/Chart.vi).

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>",
      "ymin": "<ymin>",
      "ymax": "<ymax>"
    },
    "name": "chart_scale"
  }
}

Input Schema

NameRequiredDescriptionDefault
ymaxYes
yminYes
targetYes
autoscaleNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 disclose the key side effect: it saves the VI and invokes vendor/Chart.vi. It leaves out failure modes, whether autoscale overrides ymin/ymax, and permission/state requirements, which keeps it short of a 5.

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?

Two compact sentences, front-loaded with the action and followed by the mode distinction and side effect. The backtick notation and 'runs vendor/Chart.vi' are terse but not wasted.

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?

Return values need not be described because an output schema exists, and the mutation/save behavior is covered. However, for a 4-parameter tool with zero schema coverage, the target parameter and the interaction between autoscale and the required ymin/ymax 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 clarifies ymIn/ymax as a fixed range and autoscale=True as continuous autoscaling, but the required 'target' parameter's expected format (VI path plus control reference, e.g. 'a.vi%Control|Chart') is only hinted at, not explained.

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?

States a specific verb and resource: set a chart's or graph's Y scale, naming the underlying LabVIEW control (`a.vi%Control|Chart`). That distinguishes it from generic configure/place siblings, though it doesn't explicitly rule out other chart-modifying tools.

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?

The description does explain the two modes (fixed ymin..ymax versus autoscale=True), which is useful in-tool guidance. It gives no guidance on when to choose this tool over siblings or prerequisites such as the target VI needing to be open, so usage context is only implied.

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