Skip to main content
Glama
CongJyu

spss-studio-mcp

by CongJyu

Spss Import Csv

spss_import_csv

Convert CSV files to SPSS .sav format without IBM SPSS Statistics, using pandas and pyreadstat; output saves beside CSV or to a custom path.

Instructions

Convert a CSV file to SPSS .sav format directly using pandas + pyreadstat — no IBM SPSS Statistics installation required. Much faster than going through SPSS syntax because it bypasses the SPSS engine entirely. Saves the .sav file next to the CSV by default, or to a custom output_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
csv_pathYes
encodingNoutf-8
delimiterNo,
output_pathNo
column_labelsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the mechanism (pandas + pyreadstat) and the default output location ('saves the .sav file next to the CSV'), but it omits key side-effect details such as overwrite behavior, error handling, and any permissions or validation requirements for a file-writing tool.

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?

The description is front-loaded with the core purpose and uses three efficient sentences. The second sentence is a useful usage comparison rather than fluff, though it has a slight marketing tone; overall it is well-structured and not bloated.

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?

Given five parameters, no annotations, and 0% schema description coverage, the description is incomplete. It covers the conversion purpose and output location, but fails to explain key parameters like encoding, delimiter, and column_labels, and does not address overwrite or error behavior, so an agent must guess about important call details.

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% and the description only partially compensates. It explains the default behavior of output_path ('saves the .sav file next to the CSV by default, or to a custom output_path') but says nothing about encoding, delimiter, column_labels, or even the required csv_path, leaving four of five parameters undocumented.

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 verb and resource: 'Convert a CSV file to SPSS .sav format directly using pandas + pyreadstat.' It also distinguishes the tool from sibling operations by noting it bypasses the SPSS engine and requires no IBM SPSS installation, so an agent can tell it apart from spss_run_syntax or analysis tools.

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 description gives a clear alternative and context: 'Much faster than going through SPSS syntax because it bypasses the SPSS engine entirely.' This implicitly tells the agent to use this tool for CSV-to-SAV conversion instead of relying on SPSS syntax, but it does not explicitly state when not to use the tool or other alternatives among the siblings.

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