Skip to main content
Glama
SPSS Studio MCP

SPSS Studio MCP

by kinginsun

Spss Chart Histogram Density

spss_chart_histogram_density

Export a publication-ready histogram overlaid with a normal density curve from a continuous SPSS variable, saving chart output as PNG, TIFF, or EMF.

Instructions

Export a publication-ready histogram overlaid with a normal density curve (PNG/TIFF/EMF) via GGRAPH + OMS. Provide a continuous variable.

Input Schema

NameRequiredDescriptionDefault
dpiNo
titleNo
x_labelNo
y_labelNo
variableYes
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.1/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 behavioral burden. It usefully discloses the implementation path (GGRAPH + OMS) and the output format options, which signals this is a file-producing export rather than an in-session plot. However, it never states where the file is written, whether an existing file is overwritten, or what happens if the variable is non-continuous — meaningful gaps for a write-to-disk tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no redundant wording; the primary output description is front-loaded and the required-input constraint follows. Slightly terse for a 9-parameter tool, but nothing is wasted.

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?

A return/output schema exists so return values need not be explained, but for a 9-parameter file-export tool with zero annotation coverage the description is too thin. It does not explain dataset selection (data_file), sizing/DPI controls, or the on-disk destination, so an agent cannot call it confidently beyond the minimum required variable.

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 9 parameters, so the description must compensate and largely does not. It clarifies only that 'variable' must be continuous and echoes the three image formats already enumerated in the schema, leaving dpi, width_px, height_px, title, x_label, y_label, and data_file completely unexplained.

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 names a specific verb (renders/exports) and a specific artifact: a histogram overlaid with a normal density curve, in named formats (PNG/TIFF/EMF). It implicitly separates itself from sibling spss_chart_spss_chart_histogram-style plain histogram tools via the density-curve overlay, but never names the sibling or states the distinction explicitly.

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 clause 'Provide a variable' conveys one clear precondition: the target variable must be continuous. There is no guidance on when to choose this over the plain histogram sibling, no mention of prerequisites such as an active dataset or whether data_file must be supplied, and no exclusions.

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