Skip to main content
Glama

chart

chart
Read-only

Chart images: bar, line, pie or scatter charts as PNG or SVG from your numbers, with title, labels, several series and legend. Ready to drop into a report or message. Costs $0.004 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNobar | line | pie | scatter
titleNo
widthNo
formatNopng | svg
heightNo
labelsNo| separated
seriesNoJSON [{name, values}]
valuesNo| separated numbers

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 already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuine non-structured context: a per-call price of $0.004 USDC via x402, which is essential for an agent deciding whether to invoke a paid tool. It still does not disclose image dimensions defaults or synchronous/asynchronous behavior, but the pricing disclosure is a meaningful addition.

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?

Three compact sentences, front-loaded with the core capability, then the output formats, then pricing. 'Ready to drop into a report or message' is mildly promotional but does convey the intended downstream use, so little is wasted.

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?

With no output schema, the description carries the burden of stating the return artifact, and it does so (PNG or SVG image). Cost and output format are covered. What is missing for an 8-parameter rendering tool is any guidance on required inputs (0 params are required, which is unusual and unexplained) and size defaults.

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 coverage is 63%, with width, height, and title undocumented in both places. The description partially compensates by naming chart types, formats, labels, series and legend, and implying 'several series' support, but it gives no syntax or range guidance for the undocumented dimensions and does not explain the pipe-separated value conventions beyond what the schema already says.

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?

States a specific verb+resource (produce chart images) and enumerates the supported chart types (bar, line, pie, scatter) plus output formats (PNG/SVG). An agent can tell immediately this renders charts from supplied numeric data, distinct from generation siblings like image_generate or token_chart, which produce different artifacts.

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?

Usage is only implied through 'Ready to drop into a report or message,' which suggests a presentation context but never states when to choose this over alternatives such as token_chart or image_generate. No exclusions or prerequisites are given, so the agent must infer selection.

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