Skip to main content
Glama

Pie Chart Generator

render_chart

Calculate exact slice percentages and angles in degrees from category values, generate an executive slide takeaway, and return a live embeddable SVG chart image URL plus an interactive editor link on pie-chart-generator.com (where the user can customize colors or export PNG, SVG, PDF, or an editable 16:9 PowerPoint .pptx slide).

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": "render_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesCategories and numeric values (2 to 16 items)
titleNoChart title, e.g. "Q3 Revenue by Segment"
chart_typeNoChart type to renderpie

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose useful traits – that results are hosted on an external domain (pie-chart-generator.com) and that the returned link supports customization and export – but it omits whether the call uploads user data externally, whether any auth or rate limits apply, and whether the computation is local or remote. For a tool that evidently reaches out to a third-party service, those omissions matter.

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?

It is a single sentence, but the computation, the takeaway generation, and the two returned links are ordered front-to-back with no filler. The long parenthetical about export formats is dense yet each clause carries real information for the caller.

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 and no annotations, the description must explain what comes back, and it does: an SVG image URL plus an interactive editor link, with the takeaway text noted. What remains thin is operational context – external service dependency, failure modes, and data handling – which a tool of this shape would ideally state.

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 the schema already documents data, title, and chart_type including the enum and the 2-to-16 item bound. The description only obliquely reinforces that 'category values' drive the percentage computation, adding little meaning beyond the structured fields; baseline 3 applies.

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?

The description names specific verbs and outputs: computes slice percentages and degrees, generates an executive takeaway, and returns an embeddable SVG URL plus an editor link. This is far more than a restatement of the name. It does not explicitly differentiate itself from parse_messy_data_to_chart, though the 'from category values' framing implies structured input rather than raw text.

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 explicit when-to-use or when-not-to-use guidance, and no acknowledged alternative entry point. An agent must infer from the 'category values' framing that this tool expects pre-structured data, but nothing states what to do when the input is messy or when a different chart path is preferable.

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.