Skip to main content
Glama

ChartAnt

Generate Scatter Chart

generate_scatter_chart
Read-onlyIdempotent

Draw a scatter plot of two numeric measures per item to show correlation or clusters (price vs rating). Data [{x, y, group?}]. To size dots by a third measure use generate_more_charts with type bubble. Returns a hosted PNG link, a share page, alt text and editable PowerPoint/Excel links.

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

Input Schema

NameRequiredDescriptionDefault
dataYesData for scatter chart, such as, [{ x: 10, y: 15 }], when the data is grouped, the group name can be specified in the `group` field, such as, [{ x: 10, y: 15, group: 'Group A' }].
styleNoStyle configuration for the chart with a JSON object, optional.
themeNoSet the theme for the chart, optional, default is 'default'.default
titleNoSet the title of chart.
widthNoSet the width of chart, default is 600.
heightNoSet the height of chart, default is 400.
axisXTitleNoSet the x-axis title of chart.
axisYTitleNoSet the y-axis title of chart.
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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile needs no repetition. The description earns credit beyond that by disclosing the actual outputs produced: a hosted PNG link, a share page, alt text, and editable PowerPoint/Excel links — information an agent cannot get from the annotations or the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences in a deliberate order: what it draws, what data it expects, which sibling to use instead, then what it returns. No boilerplate, no redundant restatement of parameters, and the alternative routing is placed before the return-value sentence.

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 9 parameters, nested objects and no output schema, the description covers the two things an agent most needs: the input data shape and the return artifacts, plus a sibling escape hatch. Styling parameters (palette, texture, theme, dimensions) are left entirely to the schema, which is acceptable given full coverage, though a note on when brandTheme applies is present only in the schema.

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 parameter including nested data, style, palette and brandTheme is already documented in structured fields. The description only restates the data element shape and adds the bubble alternative; it adds no syntax or formatting meaning beyond the schema, so baseline 3 applies.

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?

Specific verb ('Draw') plus resource ('scatter plot') plus the exact data shape ('two numeric measures per item') and the analytical intent ('correlation or clusters'), with a concrete example ('price vs rating'). It also distinguishes itself from the bubble-chart path, so an agent can separate it from generate_more_charts without opening either 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?

Gives a clear when-to-use signal (showing correlation or clusters between two numeric measures) and an explicit routing rule: sizing dots by a third measure should go to generate_more_charts with type bubble. It stops short of exclusions against adjacent siblings like line or histogram charts, so it is strong but not exhaustive.

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.