Skip to main content
Glama

spss_twostep_cluster

Identify natural groupings in large datasets with mixed variable types. Automatically determines optimal cluster count using two-step cluster analysis.

Instructions

Run two-step cluster analysis with automatic cluster number determination. Handles large datasets and mixed variable types. Requires IBM SPSS Statistics to be installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
distanceNoEUCLIDEAN
file_pathYes
continuousNo
categoricalNo
max_clustersNo
num_clustersNo
outlier_handlingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

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 disclosure burden. It usefully states that IBM SPSS Statistics must be installed and that cluster numbers are determined automatically. However, it does not disclose side effects, return behavior, or failure modes beyond the prerequisite.

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 short sentences each earn their place: purpose, capability, and prerequisite. The most important information is front-loaded with no filler or repetition.

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 7-parameter SPSS analysis tool with no parameter descriptions and no annotations, the description is under-specified. It gives no guidance on the required file_path format, how continuous/categorical variables are specified, or how num_clusters interacts with max_clusters and automatic determination.

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 does not explain file_path, continuous, categorical, distance, max_clusters, num_clusters, or outlier_handling. 'Mixed variable types' and 'automatic cluster number determination' are weak hints toward the categorical/continuous and cluster-count parameters but do not define them.

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 action, 'Run two-step cluster analysis', and adds distinguishing capabilities: automatic cluster number determination, large dataset handling, and mixed variable type support. This differentiates it from sibling clustering tools like spss_cluster_hierarchical and spss_quick_cluster.

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?

It gives clear context for when to use the tool: when automatic cluster-number selection is desired and when data are large or mixed-type. It does not explicitly name alternative tools or state exclusions, so it stops short of full routing guidance.

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

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/rasitnarcicek/spss-mcp-extended'

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