Skip to main content
Glama

create-chart-using-chartjs

Generate customizable charts via QuickChart.io to visualize data, with options for URL retrieval or file export in multiple formats.

Instructions

Create a chart using QuickChart.io - get chart image URL or save chart image to file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhether to get chart URL or save chart as file
outputPathNoPath where to save the file (only used with action=save_file)
widthNoPixel width (default: 500)
heightNoPixel height (default: 300)
devicePixelRatioNoPixel ratio for Retina support (default: 2)
formatNoOutput format (default: png)
backgroundColorNoCanvas background color - rgb, hex, hsl, or color names (default: transparent)
versionNoChart.js version - '2', '3', '4', or specific version (default: '2.9.4')
encodingNoChart configuration encoding method (default: url)
keyNoAPI key (optional)
chartYesChart.js configuration object
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the two action types (get URL or save file) but doesn't describe what happens during execution: whether it makes external API calls, has rate limits, requires authentication (though 'key' parameter hints at optional API key), what errors might occur, or what the response looks like. For a tool with 11 parameters and external dependencies, this is inadequate behavioral transparency.

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 extremely concise - a single sentence that efficiently communicates the core functionality. It's front-loaded with the main action and includes both possible outcomes. Every word earns its place with no redundancy or unnecessary elaboration.

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?

For a complex tool with 11 parameters (including nested objects), no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns (URL string? file path? success confirmation?), doesn't mention the external service dependency (QuickChart.io), and provides no guidance on the complex 'chart' parameter construction. The agent would struggle to use this tool effectively based on the description alone.

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%, so all parameters are documented in the schema. The description adds minimal value beyond the schema - it mentions the two action types which are already covered by the 'action' parameter enum, and references QuickChart.io which provides context for the tool's implementation. However, it doesn't explain parameter relationships or provide usage examples that would help an agent understand how to construct the complex 'chart' object parameter.

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 states the action ('create a chart') and the technology used ('using QuickChart.io'), along with the two possible outcomes ('get chart image URL or save chart image to file'). It distinguishes from some siblings by specifying Chart.js, but doesn't explicitly differentiate from other chart creation tools like 'create-chart-using-apexcharts' or 'create-chart-using-googlecharts' beyond the technology name.

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. With multiple chart creation siblings available (apexcharts, googlecharts, natural language, sparkline), there's no indication of when Chart.js/QuickChart.io is preferable, what scenarios it's designed for, or any prerequisites for use. The agent must infer usage from tool names alone.

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/TakanariShimbo/quickchart-mcp-server'

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