Skip to main content
Glama

chart

chart

SVG bar/line/pie/donut charts (350 sats/call; free tier 100 calls/mo)

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": {
      "chartType": "<chartType>",
      "labels": "<labels>",
      "values": "<values>"
    },
    "name": "chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoChart title header.
labelsYesX-axis or slice labels.
valuesYesData numerical values corresponding to labels.
chartTypeYesVisual style of chart.
primaryColorNoHex color string (e.g. #3b82f6).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations carry only openWorldHint=true, so the description bears most of the behavioral burden. It does add real value beyond annotations by disclosing the per-call price (350 sats) and a free-tier quota of 100 calls/month, which is the kind of cost/limit context an agent needs for budgeting. However, it does not state what is actually returned (SVG markup string vs. a URL/hosted image), nor any practical limits on label/value array size.

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?

A single front-loaded fragment with no filler; the output format and chart types come first and the pricing qualifier is secondary. It is tight, though the terseness comes at the cost of needed detail rather than being optimally sized for a five-parameter rendering tool.

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?

Pricing, which annotations omit, is covered, and the schema fully documents inputs, so the input side is complete. With no output schema, though, the description should say what comes back (raw SVG, a link, or a stored asset) and whether labels must match values in length — omissions that matter 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 every one of the five parameters is already documented in the schema, establishing a baseline of 3. The description's only overlap is restating the four chart styles, which the chartType enum already enumerates, so it adds no meaning beyond structured data.

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?

"SVG bar/line/pie/donut charts" names the concrete output format (SVG), the resource produced (charts), and enumerates the four supported styles, so an agent knows exactly what this tool produces. It is a noun phrase rather than a verb-first statement, and it does not distinguish itself from a nearby sibling like "ascii", which may also render charts, leaving a small ambiguity.

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?

There is no when-to-use guidance, no statement of prerequisites, and no named alternative for producing visualisations. The parenthetical only tells the agent about cost pressure, which implies "use sparingly" but is not an explicit usage rule.

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