Skip to main content
Glama

spss_proximities

Compute distance or similarity matrices for cases or variables using measures like Euclidean, cosine, or correlation in SPSS.

Instructions

Distance/similarity matrix: PROXIMITIES varlist /MEASURE=EUCLID. measure: EUCLID, SEUCLID, COSINE, CORRELATION, BLOCK, CHEBYCHEV, MINKOWSKI(p), POWER(p,r), CHISQ, PH2. view: CASE (rows) or VARIABLE (columns). Requires IBM SPSS Statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoCASE
measureNoEUCLID
file_pathYes
variablesYes
id_variableNo
standardizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are present, so the description carries the burden. It does disclose the underlying SPSS command, the result type, and the IBM SPSS requirement, which is useful; however, it remains silent on casewise handling, how id_variable is used, and whether standardize alters the matrix before computation.

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 text is compact and front-loaded: the operation appears first, followed by concise option enumerations and the environment requirement. Every clause contributes without repetition or filler.

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?

Although an output schema exists, the tool still has six parameters with no schema descriptions and no usage context. Missing semantics for id_variable and standardize, plus no guidance about when a proximity matrix is appropriate, leave the definition incomplete for an agent that must call it independently.

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 explain the six parameters. It covers measure and view with value lists, but leaves file_path, variables, id_variable, and standardize semantically unexplained; an agent cannot determine valid values for standardize or the role of id_variable from the text.

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 leads with 'Distance/similarity matrix' and shows the exact SPSS PROXIMITIES command, so an agent immediately knows this computes a proximity matrix. The measure and view options further distinguish it from correlation, cluster, and factor siblings.

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 guidance about when to choose this tool over alternatives such as spss_correlations or spss_cluster_hierarchical. The description lists measures and orientations but does not state prerequisites, analytical intent, or exclusion conditions.

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