Skip to main content
Glama

restore

Undo all server-made edits to a LabVIEW VI by restoring the pre-write backup and saving the current file as a before-restore copy.

Instructions

Undo every change made through this server: put back <name>.bak.vi, the copy saved before the first write, and keep the current file as <name>.before-restore.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": {
      "vi_path": "<vi_path>"
    },
    "name": "restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
vi_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses the source artifact restored from (.bak.vi, the copy saved before the first write) and the safety side effect of preserving the current file as .before-restore.vi. What it omits is the failure behavior — what happens if no .bak.vi exists, or whether an existing .before-restore.vi is overwritten.

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 tight clauses front-load the action and then enumerate the exact file effects using a colon-separated list. Every phrase — 'the copy saved before the first write', the backup filename, the preserved filename — carries information an agent needs, with no filler.

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 an unannotated, destructive, single-parameter tool with an output schema covering returns, the description explains the mechanics well. However, it leaves a real ambiguity between 'every change made through this server' (server-wide) and the single vi_path parameter (one file), and gives no preconditions or error behavior for a rollback operation.

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% for the single vi_path parameter, so the description must compensate. It implies via the '<name>.bak.vi' naming that vi_path points at a .vi file whose backup is being restored, which is useful, but it never states whether the path must match the one originally written to or whether the file must currently exist.

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 gives a specific verb ('Undo') with an explicit scope ('every change made through this server') and names the concrete artifacts involved, so an agent knows precisely what operation occurs. It does not, however, distinguish itself from plausible siblings such as cleanup or delete, leaving the agent to infer which one actually removes backups versus restores them.

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?

Usage is implied by 'Undo every change made through this server' — an agent can infer this is the rollback path after writes. There is no explicit when-not-to-use guidance, no mention of prerequisites (an existing .bak.vi), and no named alternative for partial or file-scoped reverts, so the agent must guess at the boundaries.

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