Skip to main content
Glama
liukeyu800

mcp-server-chart-offline

generate_pie_chart

Create pie charts to visualize proportional data like market share or budget allocation. Supports donut charts with adjustable inner radius.

Instructions

Generate a pie chart to show the proportion of parts, such as, market share and budget allocation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesData for pie chart, such as, [{ category: '分类一', value: 27 }].
innerRadiusNoSet the innerRadius of pie chart, the value between 0 and 1. Set the pie chart as a donut chart. Set the value to 0.6 or number in [0 ,1] to enable it.
themeNoSet the theme for the chart, optional, default is 'default'.default
widthNoSet the width of chart, default is 600.
heightNoSet the height of chart, default is 400.
titleNoSet the title of chart.
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose behavior for invalid data (e.g., negative values, empty array beyond schema minItems), nor explain how proportions are calculated or what happens with duplicate categories. No mention of output format (e.g., URL, base64).

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?

The description is a single concise sentence, front-loaded with the action. However, it includes examples that are also present in the schema, slightly reducing efficiency.

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

Completeness2/5

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

With no output schema and 6 parameters, the description is incomplete. It does not specify what the tool returns (image, file path?), nor differentiate from 14 sibling chart tools beyond the basic purpose. Lacks guidance on when this chart type is appropriate.

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 baseline is 3. The description adds minor context ('market share, budget allocation') but does not enhance understanding of parameters beyond schema examples, such as the meaning of innerRadius or theme.

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 clearly states the verb 'generate' and resource 'pie chart', and provides examples of usage like 'market share and budget allocation'. However, it does not differentiate from sibling tools such as donut charts (which this tool can produce via innerRadius).

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?

No explicit guidance on when to use this tool versus alternatives. The description gives examples but does not specify when not to use a pie chart (e.g., for many categories) or mention sibling tools. The innerRadius param is not highlighted for donut usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liukeyu800/mcp-server-chart-offline'

If you have feedback or need assistance with the MCP directory API, please join our Discord server