Skip to main content
Glama

create_line_chart

Creates a line chart from multiple data series and x-axis labels, returning an Excalidraw file with auto-scaled axes and color-coded series.

Instructions

Create a line chart with one or more data series.

Generates a line chart with auto-scaled Y axis, X-axis labels, and color-coded series.

Args: series: List of data series with label and points x_labels: Labels for the X axis 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
themeNolight
titleNo
seriesYes
x_labelsYes
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavioral details: auto-scaled Y axis, X-axis labels, color-coded series, and the return of an absolute path to a generated .excalidraw file. It does not mention overwrite behavior or error cases, but the core behavior is transparent enough.

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 well-structured with a summary paragraph, Args list, and Returns line. There is minor redundancy between 'Create a line chart...' and 'Generates a line chart...', but the content is otherwise concise and front-loaded.

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

Completeness3/5

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

The description covers the tool's output and all parameters at a high level, and an output schema may handle return details. It is less complete for an agent choosing among many sibling diagram and chart tools because it offers no usage context, no parameter value guidance, and no mention of constraints like equal-length x_labels and series data.

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%, so the description must compensate; it lists all five parameters in an Args section with brief meanings, such as 'series: List of data series with label and points.' However, it omits useful constraints like theme value options, how x_labels align with series points, and output_path behavior.

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 creating a line chart with one or more data series, using a specific verb and resource. It does not explicitly distinguish itself from sibling chart tools like create_bar_chart or create_pie_chart, but the chart type is unambiguous.

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 such as create_bar_chart or create_pie_chart. It states what the tool does but gives no exclusions, prerequisites, or conditions for choosing it.

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