Skip to main content
Glama

save_defaults

Saves the current control values as the VI's saved defaults, so future VI instances open with those values. The VI must be open.

Instructions

Make the current control values (e.g. set with set_value) the VI's saved defaults. The VI must be open.

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": "save_defaults"
  }
}

Input Schema

NameRequiredDescriptionDefault
vi_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses that this is a mutating persistence operation and that the VI must already be open, but it does not say whether existing saved defaults are overwritten, whether changes persist to disk, or what permissions are needed. The output schema covers return values, so that omission is less severe.

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?

Two short sentences, front-loaded with the action and followed by the prerequisite. Every sentence contributes necessary information with no wasted wording.

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?

For a simple mutation tool with an output schema, the description covers the core action and the VI-open prerequisite. However, it leaves vi_path undocumented and does not clarify whether existing defaults are overwritten, so it is only minimally 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?

There is one required parameter, vi_path, but the description never mentions it or explains its expected format or relationship to the open VI. With 0% schema description coverage, the description should compensate for this gap but does not.

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?

The description states a specific action and target: making current control values the VI's saved defaults. It also references set_value, clarifying that this is a persistence step rather than a value-setting operation, which distinguishes it from that sibling.

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?

The phrase 'e.g. set with set_value' gives clear workflow context, and 'The VI must be open' states a prerequisite. It does not explicitly state when not to use it or name alternatives, but the guidance is clear for this operation.

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