Skip to main content
Glama

delete_variables

Remove an inclusive range of variables by index or name from a STATISTICA .sta/.stw file, optionally saving the edited result to a new .sta file.

Instructions

Delete an inclusive range of variables by index or name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesLast variable to delete.
fromYesFirst variable to delete.
pathYesAbsolute path to the source file.
saveNoOptional destination path to persist the result as .sta.
sheetNo
attachNoAttach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

C2.9/5.0
Behavior2/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 not meet it. It says the tool deletes, but never states whether deletion is reversible, what happens to the source file when 'save' is omitted, or how the live-attach mode affects the running instance.

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?

A single front-loaded sentence with the verb and resource first and zero filler. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 6-parameter destructive mutation tool with no annotations and no output schema needs far more than one sentence. Missing are the persistence semantics of 'save', the effect of 'attach' on a live process, and any safety or recovery information.

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 coverage is 83%, so the schema already documents most parameters. The description's only added value is clarifying that 'from'/'to' form an inclusive range and can be resolved by index or name, which is genuine but marginal.

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 ('Delete ... variables') and adds scope detail ('inclusive range ... by index or name'). This separates it from siblings like add_variables and rename_variables, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives such as select_cases or recode, and no warnings or prerequisites for a destructive operation. The agent must infer the context entirely.

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