Skip to main content
Glama

ScorpTech x402 Tools

Chart Svg

chart_svg
Read-onlyIdempotent

Render a chart to a standalone SVG (plus base64 data URI) for reports, dashboards, emails and agent answers: bar, horizontal bar, stacked bar, line, area, scatter, pie and donut. Multiple series with legend, "nice" axis ticks, compact number labels (1.2k, 3.4M), optional value labels, gaps for null values, rotated category labels when crowded, light / dark theme, custom colours and size. Accessible (title + aria-label). Price: $0.003 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/chart-svg

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "series": "<series>"
    },
    "name": "chart_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNobar
yMaxNo
yMinNo
themeNolight
titleNo
widthNo
colorsNo
heightNo
labelsNoCategory labels (x axis / slices)
legendNoDefault: on when there are several series (or for pie / donut)
seriesYes[{name, values: [numbers | null], color?}]; scatter values are [x, y] pairs. A plain array of numbers is one series.
xLabelNo
yLabelNo
valueLabelsNoPrint values on bars / points / slices

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond what the annotations cover (readOnly/idempotent/openWorld), the description discloses the pricing model ($0.003 USDC per successful call, x402 on Solana), a same-tool HTTPS fallback endpoint, the return payload (SVG plus base64 data URI), accessibility output (title + aria-label), and rendering behaviours such as legend auto-defaulting, null gaps, rotated crowded labels and compact number formatting.

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?

Front-loaded with the verb and output format, then a dense comma-separated feature list that mostly earns its place; the price/endpoint line is genuinely needed for an x402 paid tool. The single very long sentence makes the capability list somewhat harder to scan than it needs to be.

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

Completeness5/5

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

For a paid, read-only rendering tool with no output schema, the description supplies everything an agent needs: what is produced (SVG + data URI), what it costs and how payment works (x402), an alternate transport, and enough rendering behaviour to predict the result. No meaningful gaps for correct invocation remain.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at only 29% across 14 parameters, the description carries real weight: it explains series shapes for multiple data sets and scatter pairs, legend defaults ('on when there are several series'), null-value gaps, theme, custom colours and chart size. It leaves yMin/yMax, xLabel/yLabel and title partly unexplained — 'nice axis ticks' hints at axis bounds but does not say how yMax/yMin interact with automatic scaling.

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 opens with a specific verb and artifact: 'Render a chart to a standalone SVG (plus base64 data URI)', and then enumerates the exact chart types (bar, hbar, stacked, line, area, scatter, pie, donut). Against the sibling set (identicon_svg, qr_generate, barcode_generate are the other SVG producers), the chart-type enumeration makes the boundary unambiguous without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete usage contexts — 'reports, dashboards, emails and agent answers' — and names the alternate HTTPS transport. However, it never states when *not* to use it (e.g. use identicon_svg or qr_generate for non-data graphics), so there is context but no exclusion or sibling routing.

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