Skip to main content
Glama

Pie Chart Generator

parse_messy_data_to_chart

Extract clean categories and numbers from messy text, Slack/email notes ($142.5k, $1.4M), Excel/Markdown tables (auto-stripping headers and Total rows), or tally raw categorical survey responses, returning exact percentages, degrees, and live chart URLs.

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": {
      "raw_text": "<raw_text>"
    },
    "name": "parse_messy_data_to_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional chart title override
raw_textYesRaw pasted spreadsheet text, paragraph with numbers, or newline-separated survey responses
chart_typeNopie

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden, and it does disclose real behavior beyond the schema: it auto-strips headers and Total rows, handles shorthand currency like $142.5k/$1.4M, and returns exact percentages, degrees, and live chart URLs. It does not cover failure behavior, how ambiguous or mixed text is resolved, or whether generated charts are persisted or ephemeral, which are material gaps for a parsing tool.

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 dense sentence that front-loads the verb and core purpose, with parenthetical examples earning their place by showing supported formats. No filler. It would be marginally better split so the return values are not buried at the end of a long clause chain.

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 three-parameter tool with no annotations and no output schema, the description adequately states accepted inputs, transformation behavior, and the shape of what comes back (percentages, degrees, live chart URLs). The missing piece is any articulation of how it relates to render_chart, which matters given the overlapping output.

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 coverage is 67%, so the schema already documents title and raw_text reasonably. The description reinforces raw_text semantics by naming the accepted input forms, which is useful. But it says nothing about chart_type (pie/doughnut/bar) or how the title override interacts with a title detected in the text, so the enum parameter gets no meaning from the description.

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?

States a specific verb and resource: it extracts clean categories/numbers from messy text and returns percentages, degrees, and chart URLs. An agent can tell what it produces. However, it never mentions the sibling render_chart, so the boundary between 'parse + chart' and 'render chart' is left unresolved.

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?

The description gives clear context for selecting this tool by enumerating the input shapes it handles: Slack/email notes with money shorthand, Excel/Markdown tables, and raw survey tallies. That is strong positive guidance. There are no explicit exclusions or an instruction to prefer render_chart for already-structured data, so routing against the sibling is only implied.

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.