Skip to main content
Glama

spss_graph_bar

Create bar charts from SPSS data files. Choose simple, grouped, or stacked bars, and plot counts or aggregate statistics like mean or sum.

Instructions

Bar chart: GRAPH /BAR(SIMPLE|GROUPED|STACKED)=COUNT or STAT(var) BY catvar. statistic: COUNT (default), MEAN, SUM, or other SPSS aggregate function. Requires IBM SPSS Statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoSIMPLE
titleNo
variableYes
file_pathYes
statisticNoCOUNT
by_variableNo

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 burden and does usefully disclose that the tool relies on IBM SPSS Statistics and will issue a GRAPH command. However, it does not state side effects, read-only status, or whether a chart/file is returned or written, leaving behavioral impact partially undisclosed.

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?

Two dense sentences front-load the core syntax and defaults with no filler. Every clause contributes command details or a requirement.

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?

The description is adequate for an expert who recognizes the GRAPH syntax, and the presence of an output schema covers returned values. It is less complete for an agent that needs guidance on file_path semantics, when to use bar charts, and what side effects, if any, occur.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 does document style, statistic choices, variable, and BY variable reasonably well. But key parameters such as file_path and title are not explained, so the coverage is incomplete.

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 names the exact SPSS command (GRAPH /BAR) and chart type, making the operation concrete and distinguishable from sibling graph tools such as spss_graph_scatter, spss_graph_histogram, and spss_graph_boxplot. Even without a natural-language verb, 'Bar chart: GRAPH /BAR...' states the resource and action unambiguously.

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?

The syntax 'BY catvar' and statistic options imply it is intended for categorical bar charts with optional grouping or summary statistics, but the description never explicitly says when to choose this over the other graph tools. The usage context is present but must be inferred.

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