Skip to main content
Glama

plot_violin

Generate a violin plot to visualize the distribution of a numeric column, with optional grouping by a categorical column. Get results as JSON with inline PNG for exploratory data analysis.

Instructions

Density-violin plot. JSON + inline PNG.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnYes
group_byNo
source_idYes
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does disclose the output format ('JSON + inline PNG'), which is useful, but it omits other behavioral aspects such as whether the operation is read-only, any side effects, or how missing data is handled. This is a minimal but non-zero level of transparency.

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

Conciseness3/5

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

The description is very short and front-loaded with the purpose, but it is under-specified. The two sentences are efficient, yet they sacrifice essential guidance, resulting in a structure that is concise but incomplete.

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?

With 3 parameters, no annotations, and no output schema, the description is not complete enough for reliable invocation. It fails to explain what the JSON contains, what types of columns are expected, or how group_by modifies the plot. The 'JSON + inline PNG' hint is the only return-value information provided.

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%, so the description must explain the parameters. It does not describe source_id, column, or group_by at all. While 'Density-violin' implies column is the numeric variable, this is not explicit, and group_by is entirely 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 clearly identifies the tool as producing a 'Density-violin plot', which specifies the plot type and distinguishes it from siblings like plot_boxplot or plot_scatter. However, it lacks an explicit verb (e.g., 'Creates'), making it slightly less direct than ideal.

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?

No guidance is given on when to use this tool vs. alternatives. The description does not mention appropriate use cases, data requirements, or comparisons to sibling plotting tools like plot_distribution or plot_boxplot.

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/charliecpeterson/edamcp'

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