Skip to main content
Glama
k-ming
by k-ming

plot_histogram

Generate a histogram from numerical samples to reveal data distribution, output as a PNG image. Allows setting number of bins and plot title.

Instructions

绘制数值样本的直方图,返回 PNG 图像。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
binsNo
dataYes
titleNo
Behavior2/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 only states the basic operation and output format, omitting details like automatic scaling, outlier handling, or side effects. This is insufficient for an unannotated 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?

The description is remarkably concise: a single sentence that immediately states the verb and resource. No words are wasted, though critical information is missing.

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?

Given the lack of annotations and output schema, the description is incomplete. It does not explain required vs optional parameters, data constraints, or how the output is generated. Essential context for correct invocation is absent.

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

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% (no parameter descriptions in schema), yet the tool description adds no explanation for any of the three parameters (bins, data, title). The user must infer meaning from parameter names alone, which is inadequate.

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 clearly states the tool draws a histogram of numerical samples and returns a PNG image. The verb '绘制' (draw) and resource '直方图' (histogram) are specific and differentiate it from sibling tools like plot_line and plot_function.

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 description provides no guidance on when to use this tool versus alternatives, nor any prerequisites or limitations. It does not specify data type requirements or address when not to use it.

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

Install Server

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/k-ming/Scientific-computing-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server