Skip to main content
Glama
CongJyu

spss-studio-mcp

by CongJyu

Spss Crosstabs

spss_crosstabs

Create a contingency table between two categorical variables in SPSS, with optional chi-square tests and row/column percentages.

Instructions

Run SPSS CROSSTABS to create a contingency table between two categorical variables. Optionally includes chi-square test and row/column percentages. Requires IBM SPSS Statistics to be installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
row_variableYes
column_variableYes
include_col_pctNo
include_row_pctNo
include_chisquareNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 external dependency ('Requires IBM SPSS Statistics to be installed') and the optional outputs (chi-square, row/column percentages), but it does not state whether the input file is modified, whether the operation is read-only, or what error conditions look like.

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?

Three sentences, front-loaded with the core action, followed by optional behavior and the prerequisite. Every sentence adds distinct information, and nothing is wasted.

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

Completeness4/5

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

An output schema exists, so return values need not be described. The description covers the tool's purpose, optional outputs, and dependency, which is largely sufficient for a moderately complex statistical procedure. The main gap is that it does not describe the expected input file format or whether defaults apply.

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 0%, so the description must compensate. It explains that row_variable and column_variable are categorical variables and maps include_chisquare, include_row_pct, and include_col_pct to chi-square and percentage outputs. It does not clarify file_path format or that the boolean options default to true, but the core parameter meanings are covered.

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 states a specific verb ('Run SPSS CROSSTABS') and resource ('contingency table between two categorical variables'), making the tool's function immediately clear. However, it does not explicitly distinguish itself from statistical siblings such as spss_frequencies or spss_descriptives, which prevents a 5.

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 the stated scope: use when analyzing two categorical variables. The prerequisite ('Requires IBM SPSS Statistics to be installed') is noted, but there is no explicit guidance on when to choose this over alternatives like spss_frequencies or spss_nonparametric_tests, and no exclusions are stated.

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