Skip to main content
Glama

More chart types

generate_more_charts
Read-only

Draw one of these chart types and get an image link. Set type and data as below. rose (Nightingale/polar area), radial-bar: data [{category, value}]. lollipop: data [{category, value}]. dumbbell (before/after per row): data [{category, start, end}], optional startLabel, endLabel. slope (change between two points): data [{category, before, after}], optional beforeLabel, afterLabel. bubble: data [{x, y, size, label?, group?}], optional axisXTitle, axisYTitle. chord (flows between groups): data [{source, target, value}]. circle-packing: data [{name, value, group?}]. parallel-coordinates (compare items on several measures): data [{name, : number, ...}], at least two numeric measures. tree (hierarchy): data {name, children: [{name, children: [...]}]}. population-pyramid: data [{age, group, value}] with exactly two groups (e.g. Men, Women). marimekko (100% stacked with variable widths): data [{category, group, value}]. sunburst (hierarchy as rings), icicle (hierarchy as bands): data {name, children: [{name, value} or {name, children}]}; innermost items need a value. beeswarm (every value as a dot, no overlap): data [{value, group?, label?}], optional axisXTitle. density (smoothed distribution curves): data [{value, group?}], at least 3 values, optional axisXTitle.

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": {
      "type": "<type>",
      "data": "<data>"
    },
    "name": "generate_more_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesRows (or a tree object for tree, sunburst and icicle) in the format listed for the type.
typeYes
themeNo
titleNoTitle shown above the chart.
widthNoImage width in pixels (default 720).
heightNoImage height in pixels (default 480).
endLabelNo
afterLabelNo
axisXTitleNo
axisYTitleNo
brandThemeNoName of a brand theme saved on the user's account (their colours and footer), only when the user asks for their theme. Or "colorblind" for colours that people with colour-vision deficiency can tell apart (anyone can use it).
startLabelNo
beforeLabelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond readOnlyHint, the description discloses the return artifact ('an image link') and, more usefully, per-type data constraints that would otherwise cause failures: population-pyramid needs exactly two groups, parallel-coordinates needs at least two numeric measures, density needs at least 3 values, and sunburst/icicle innermost items need a value. It does not say whether the generated chart is persisted (and therefore visible to list_my_charts) or how invalid data is reported.

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?

Purpose and the 'set type and data' instruction are front-loaded, then every subsequent clause carries a distinct type specification with no filler. It is dense and would read better as a bulleted list, but nothing is redundant.

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 polymorphic tool spanning sixteen data shapes with no output schema and low schema description coverage, the description supplies the critical calling information. Remaining gaps — the theme parameter, chart persistence, and error behavior on malformed rows — are modest rather than blocking.

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 only 38% schema description coverage, the description does the heavy lifting on the hardest parameter: it gives the exact row shape for each of the 16 type values. It also implicitly anchors the label parameters by placing startLabel/endLabel with dumbbell, beforeLabel/afterLabel with slope, and axisXTitle/axisYTitle with bubble/beeswarm/density. The 'theme' parameter is never addressed, and the schema carries the rest (title, width, height, brandTheme).

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?

Opens with a concrete verb and outcome: 'Draw one of these chart types and get an image link.' The enumerated type list makes its scope distinct from the single-type generate_* siblings (bar, pie, radar, etc.), which it clearly does not duplicate. It stops short of an explicit statement routing common chart types to those siblings, so a 4 rather than a 5.

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 implied by the type catalog — an agent can infer this tool covers the sixteen niche types and the per-type data shapes. But there is no explicit when-to-use/when-not sentence and no named alternative such as 'for a plain bar chart use generate_bar_chart'.

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