Skip to main content
Glama

create_bar_chart

Creates a vertical bar chart in Excalidraw format from labeled values, with auto-scaled bars, value labels, and axis labels. Supports optional title, color theme, and output file path.

Instructions

Create a vertical bar chart.

Generates a bar chart with auto-scaled bars, value labels, and axis labels.

Args: bars: List of bars with label and value title: Optional chart title output_path: Optional output file path theme: Color theme

Returns: Absolute path to the generated .excalidraw file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsYes
themeNolight
titleNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses key behavioral traits: bars are auto-scaled, value labels and axis labels are added, and the tool returns an absolute path to a generated .excalidraw file. It does not explain default output behavior when output_path is omitted, but the core side effect and artifact format are clear.

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 front-loaded with a one-sentence summary, followed by a compact Args/Returns structure. Every line earns its place and there is no redundant filler or restating of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a chart-creation tool with no annotations and moderate complexity, the description is nearly complete: it identifies the chart type, key behaviors, parameters, and return value. Minor gaps remain around valid theme values, default output path behavior, and the optional per-bar color, but the schema provides some of this and the agent can call the tool with just the required bars argument.

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?

The Args section gives a helpful one-line meaning for each top-level parameter, but 'theme: Color theme' is vague and 'bars: List of bars with label and value' omits the optional color property on BarData. Since schema description coverage is 0%, the description partially compensates but leaves meaningful gaps for an agent constructing inputs.

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 opens with a specific verb and resource: 'Create a vertical bar chart.' It then clarifies the generated artifact with auto-scaled bars, value labels, and axis labels. This clearly distinguishes it from sibling tools like create_pie_chart, create_line_chart, and create_radar_chart.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool: any time a vertical bar chart is needed. It does not explicitly name alternatives or state exclusions, but the chart-specific wording makes the appropriate use case apparent without ambiguity.

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

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/maaker-ai/excalidraw-mcp'

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