Skip to main content
Glama
zhugejun
by zhugejun

render_chart

Render branded charts from data and return a persistent hosted URL for inline embedding. Supports line, bar, pie, and more chart types.

Instructions

Render a branded chart from data and return it as an inline image with a persistent hosted URL. Use this tool any time the user asks to create, generate, or visualize a chart — even when also composing a message, email, or document. After the tool runs, embed the returned URL directly in your response; never write a placeholder like "[chart link]". Without an API key only the "modern" and "minimal" themes are available — default to "modern" unless the user explicitly requests a theme.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
typeYes
themeNomodern
titleNo
widthNo
formatNopng
heightNo
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It usefully notes that only 'modern' and 'minimal' themes are available without an API key, and that the tool returns a persistent hosted URL. However, it does not cover errors, authentication, rate limits, or what happens if parameters are invalid.

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 a single paragraph with clear, action-oriented sentences. It front-loads the purpose and provides specific instructions for the AI (embed the URL, never write placeholder). No unnecessary words, but the lack of param details could be seen as over-concise.

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?

Given the tool has 7 parameters, nested objects, and no output schema, the description should explain return values and parameter semantics more thoroughly. It offers a high-level summary but omits details on error handling, data format expectations, and limitations beyond the theme API key restriction.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 only mentions the theme restriction and the need for an API key, but does not explain the data structure, type enum options, width/height, format, or title. The complex nested data parameter is left entirely to the schema's property names.

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 tool renders a branded chart from data and returns a hosted URL. It explicitly says to use it when the user asks to create, generate, or visualize a chart. However, it does not distinguish from the sibling tool suggest_chart, which likely provides chart type suggestions.

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 gives clear guidance on when to use the tool (any chart creation request) and instructs the AI to embed the URL. But it lacks explicit when-not-to-use scenarios or alternative tools, such as suggesting suggest_chart for chart type decisions.

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/zhugejun/chartone-mcp'

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