Skip to main content
Glama

plot_static_barchart

Generates a static bar chart for publications by aggregating a numeric column across categorical groups, with optional color grouping.

Instructions

Generates a static Seaborn bar chart (for papers/publications). x_column: categorical column for the x-axis groups. y_column: numeric column to aggregate. aggregation: how to aggregate y per group — 'mean' (default), 'sum', 'count', or 'median'. hue_column: optional column to split bars by colour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
x_labelYes
y_labelYes
x_columnYes
y_columnYes
hue_columnNo
aggregationNomean
data_file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states 'generates a static Seaborn bar chart' without disclosing behavior such as file output, error handling, missing data, or performance implications. This is insufficient for a tool with no annotations.

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?

The description is very concise—only 5 lines—with a clear front-loaded purpose and efficient parameter explanations. Every sentence adds value with no wasted words.

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 8 parameters (6 required), no annotations, and limited parameter coverage in the description, the tool definition is incomplete. The description lacks crucial details on required parameters like data_file_path and labeling, and provides no behavioral context beyond the basic function.

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 0%, but the description explains key parameters (x_column, y_column, aggregation, hue_column) with acceptable detail. However, it omits explanations for required parameters like data_file_path, title, x_label, and y_label, which are only listed in the schema without descriptions.

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 it generates a static Seaborn bar chart for papers/publications, specifying the verb 'generates' and resource 'static Seaborn bar chart'. This distinguishes it from siblings like plot_interactive_barchart and other static plot types.

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 phrase 'for papers/publications' implies a high-quality static output but provides no explicit guidance on when to use this tool versus alternatives like plot_static_scatterplot or plot_interactive_barchart. There is no mention of exclusions or when-not-to-use.

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/ahmad-zurih/ds-mcp-server'

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