Skip to main content
Glama
flupke91

spss-studio-mcp

by flupke91

spss_run_syntax

Execute SPSS syntax commands and return results as Markdown. Optionally load a data file and persist viewer and syntax files for reproducible analysis.

Instructions

Execute arbitrary SPSS syntax commands and return the output as Markdown. Optionally specify a data_file to automatically prepend GET FILE. By default, this also persists .spv (SPSS viewer) and .sps (executed syntax) files. Requires IBM SPSS Statistics to be installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
syntaxYes
dry_runNo
data_fileNo
select_ifNo
filter_variableNo
save_syntax_fileNo
save_viewer_outputNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key side effects (persisting .spv and .sps files by default), prerequisites (IBM SPSS Statistics installed), and output format (Markdown). This goes beyond the schema and adds important context.

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?

The description is three sentences, front-loaded with the core action and output, followed by optional data_file behavior and then side effects/prerequisites. Every sentence adds value with no redundancy.

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?

The tool is complex (7 params, no annotations) but has an output schema, so return values need not be explained. The description covers purpose, side effects, and prerequisites, but it misses key parameter behaviors like filtering and dry_run, leaving the description incomplete for fully reliable invocation.

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?

Schema description coverage is 0%, so the description must compensate. It explains data_file (prepends GET FILE) and indirectly the save flags (persisting files), but fails to describe dry_run, select_if, and filter_variable. These parameters remain under-defined for a 7-parameter tool.

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 clearly states the tool's purpose: 'Execute arbitrary SPSS syntax commands and return the output as Markdown.' This distinguishes it from sibling tools that provide specific analyses, making the general-purpose nature explicit.

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?

No guidance is provided about when to use this tool versus alternatives. Given the many sibling tools for specific procedures, the description should mention that this is for arbitrary syntax not covered by dedicated methods, but it does not.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/flupke91/spss-studio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server