Skip to main content
Glama
SPSS Studio MCP

SPSS Studio MCP

by kinginsun

Spss Chart Bar

spss_chart_bar

Exports publication-ready PNG, TIFF, or EMF bar charts comparing a categorical variable against the mean or sum of a continuous variable for statistical reporting.

Instructions

Export a publication-ready bar chart (PNG/TIFF/EMF) of a categorical variable against the mean (or sum) of a continuous variable, via GGRAPH + OMS IMAGE.

Input Schema

NameRequiredDescriptionDefault
dpiNo
statNomean
titleNo
valueYes
x_labelNo
y_labelNo
categoryYes
width_pxNo
data_fileNo
height_pxNo
image_formatNoPNG

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/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 burden; it does disclose the output artifact types and the underlying GGRAPH + OMS IMAGE mechanism, which is genuinely useful context. However, it omits whether the call writes a file to disk and returns a path, where the image lands, whether existing files are overwritten, and whether an SPSS session must already be active.

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?

A single sentence with no filler, front-loading the action and the output formats before the plotting semantics. Every clause earns its place and nothing is buried.

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 an 11-parameter tool with no annotations, the description is too thin: only 2 required params and the stat choice are addressed. The presence of an output schema excuses it from explaining return values, but the numerous optional formatting and data-source parameters remain unexplained, leaving the agent unable to judge how to set them.

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% across 11 parameters, so the description must compensate and largely does not. It conveys the category/value pairing and the stat choice, but adds nothing about data_file (versus an active dataset), dpi, width_px/height_px units, or how title/x_label/y_label are applied.

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 gives a specific verb (export) and resource (bar chart), plus the plot's semantics: categorical variable vs. mean/sum of a continuous variable, in named image formats and via GGRAPH + OMS IMAGE. It implicitly distinguishes itself from spss_chart_bar_error by not mentioning error bars, but never names that sibling, so differentiation is left to inference.

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 explicit guidance on when to choose this over spss_chart_bar_error, spss_chart_histogram, or the other chart siblings. The agent must infer from the plot description alone that this is the plain aggregated bar chart with no error bars, and nothing states prerequisites such as an active dataset or prior file load.

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