Skip to main content
Glama

add_variables

Append empty variables to a STATISTICA spreadsheet, specifying type, count, and insertion position; optionally save results as .sta or edit a live instance.

Instructions

Append new empty variables to a spreadsheet. type: 0=numeric, 1=text, 2=integer, 3=byte.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesShort name for the new variable(s).
pathYesAbsolute path to the source file.
saveNoOptional destination path to persist the result as .sta.
typeNoVariable type. Default 0 (numeric).
afterNoInsert after this 1-based variable index. 0 appends at the end.
countNoHow many variables to add. Default 1.
sheetNo
attachNoAttach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed).
longNameNoLong/description name.
typeLengthNoDeclared length for text variables.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only notes that variables are 'empty' (a useful detail). It omits mutation side effects, the role of save/attach, permission needs, and what happens to 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences: the purpose is front-loaded and the type legend follows. Nothing is wasted, though the second sentence could be tied more directly to the 'type' parameter.

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?

For a 10-parameter mutation tool with no annotations and no output schema, the description is too thin. It does not clarify the save/attach behaviors or the interaction between count, after, and sheet, leaving substantial gaps an agent would need to fill.

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 description coverage is high (90%), setting a baseline of 3, and the description adds genuine value by mapping the enum values (0=numeric, 1=text, 2=integer, 3=byte), which the schema only lists numerically without labels.

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 ('Append') and resource ('new empty variables to a spreadsheet'), which is clearly distinct from siblings like rename_variables, delete_variables, and read_variables. However, it does not explicitly name or differentiate itself from those siblings in the text.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. An agent must infer usage from the name and schema alone.

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