Skip to main content
Glama

spss_ratio_statistics

Compute ratio statistics such as mean, median, and standard deviation for a numerator over a denominator, with optional group comparisons, directly in SPSS.

Instructions

Ratio statistics: RATIO STATISTICS num WITH den [BY group] /PRINT=stats. statistics: MEAN, MEDIAN, MIN, MAX, STDDEV, AAD, COD, PRD, CIN(95), etc. Requires IBM SPSS Statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
numeratorYes
statisticsNo
denominatorYes
group_variableNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose the underlying SPSS command structure and that IBM SPSS Statistics is required, which is useful, but it does not mention side effects, data prerequisites, output behavior, or error conditions.

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 compact and front-loaded, packing the essential syntax template, statistic options, and a system requirement into a few lines with no redundancy. Every sentence contributes information.

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?

For a moderately complex tool with no schema parameter descriptions and no annotations, the description is useful but incomplete. It conveys the command shape and optional statistics but omits file_path semantics, data requirements, and any expectation of the returned output beyond what an output schema might cover.

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 maps parameters to SPSS syntax positions (num, den, BY group), lists accepted statistics values, and clarifies the optional group variable. However, it does not describe the file_path parameter at all.

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 identifies the tool as computing ratio statistics and provides the SPSS syntax template, making the operation clear. It is distinguishable from sibling statistical tools by the explicit 'RATIO STATISTICS' command and the statistic options listed, though it lacks a direct verb phrase like 'computes'.

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 given on when to use this tool versus alternative SPSS procedures such as descriptives, frequencies, or regression. Usage context is only implied by the tool name and the command syntax, with no exclusions or selection criteria.

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