Skip to main content
Glama

Cofferdock

Data to chart image (bar, line, pie, doughnut, radar)

data_to_chart
Idempotent

Data to chart image (bar, line, pie, doughnut, radar). Turns labels and numeric series into a chart image, without a browser. Pie and doughnut accept 1 series only.

Costs 1 credit per call.

Returns a temporary download link (valid 15 minutes). Always include that link in your reply so the user can open or download the file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesChart type: "bar", "line", "pie", "doughnut" or "radar".
titleNoOptional title shown above the chart.
widthNoChart width in pixels (200-2000). Default 800.
formatNoImage format: "png" (default) or "svg".png
heightNoChart height in pixels (200-2000). Default 500.
labelsYesCategory names, 1 to 50 strings of up to 100 characters each: the x axis for bar and line charts, the slices for pie and doughnut, the axes for radar.
seriesYesData series, 1 to 10. Each item is {"name": "Series name", "data": [numbers]} with one number per label. Pie and doughnut charts use only the first series.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and readOnlyHint=false, so the safety profile is already known. The description adds valuable non-obvious facts: the 1-credit cost, the temporary download link with a 15-minute validity, and the instruction to include the link in the reply. No contradiction with annotations.

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 brief and front-loaded, with the purpose stated in the first sentence. The opening phrase repeats the title's chart-type list, a minor redundancy, but every subsequent sentence adds essential operational detail (constraint, cost, link, reply instruction).

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 7-parameter tool with no output schema, the description covers the most important runtime behavior: return format (temporary link), link validity, and the required action for the agent. Error handling and authorization are not mentioned, but the description is sufficient for correct invocation.

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 the schema fully documents all 7 parameters. The only parameter-related note in the description ('Pie and doughnut accept 1 series only') duplicates what the schema already says, adding no new semantic meaning.

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 states a specific verb ('Turns labels and numeric series into a chart image') and a clear resource, with the chart types enumerated. The phrase 'without a browser' differentiates this from sibling tools like screenshot_url or html_to_image, making its role unambiguous.

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 description implies the use case (generating a chart image from data) and adds a constraint ('Pie and doughnut accept 1 series only'), but it does not explicitly state when to use this tool versus alternatives or mention sibling tools. Guidance is implied rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources