Skip to main content
Glama

Statistical Histogram

plot_histogram
Read-onlyIdempotent

Create statistical histograms (requires matplotlib).

Input Schema

NameRequiredDescriptionDefault
binsNoNumber of histogram bins, e.g., 20
dataYesList of numeric values to bin, e.g., [1.0, 2.0, 2.5, 3.0]
titleNoChart title string, e.g., 'Data Distribution'Data Distribution

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered and the description adds the matplotlib dependency, which is useful environment context. However, it says nothing about what the call produces (figure object, rendered output, file) and there is no output schema to compensate.

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?

A single short sentence with no filler; the core action is front-loaded. It is efficient, though bordering on under-specification rather than being genuinely tight and informative.

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 three-parameter plotting tool with no output schema, the description should say something about the result (where the histogram is rendered or returned). The matplotlib prerequisite is a helpful start, but the return behavior is left entirely implicit.

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 100%, with bins, data, and title all documented with examples in the schema itself. The description adds no parameter detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Create statistical histograms'), so an agent knows this bins numeric data into a chart. It does not explicitly differentiate from sibling plotting tools like plot_box_plot or plot_scatter, but the resource noun is unambiguous.

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?

The parenthetical '(requires matplotlib)' is a dependency note, not usage guidance. There is no statement of when to prefer a histogram over plot_box_plot, plot_line_chart, or plot_scatter, and no conditions or exclusions are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.