Skip to main content
Glama
Chuk MCP Chart

Chuk MCP Chart

Official
by IBM

chart_from_csv

Read-only

Converts CSV text into a chart by treating the first non-numeric column as labels and numeric columns as datasets, ideal for visualizing pasted or supplied CSV data.

Instructions

Create a chart from CSV text. Best when the user pastes or provides CSV data. The first non-numeric column becomes labels; numeric columns become datasets. Example csv_data: "Name,Score\nAlice,85\nBob,92\nCarol,78"

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": {
      "csv_data": "<csv_data>"
    },
    "name": "chart_from_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
csv_dataYes
chart_typeNobar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.17

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine behavioral detail beyond that: column-inference rules (first non-numeric column becomes labels, numeric columns become datasets). It does not say what is produced or returned (image, URL, chart spec) for a tool whose name implies creation.

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?

Three short sentences, front-loaded with purpose then usage cue then parsing rules, with a compact inline example. The example earns its place; nothing is redundant, though the "Best when..." sentence could be merged with the purpose.

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

Completeness3/5

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

With no output schema and 0% schema coverage, an agent still lacks the valid chart_type values and any description of the returned artifact. The CSV parsing behavior is well covered, making the definition workable but incomplete for a 3-parameter rendering tool.

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 0%, so the description carries the full burden: it explains csv_data format with a concrete example and the inference semantics, which is real added meaning. However, chart_type is never mentioned and has no enum, so an agent cannot tell which chart types are valid, and title is undocumented. Two of three parameters remain ambiguous.

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 opens with a specific verb and resource ("Create a chart from CSV text") and scopes the input format to pasted/provided CSV, which implicitly separates it from chart_from_json. It never names the sibling or an explicit exclusion, so differentiation requires inference from the format words.

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?

"Best when the user pastes or provides CSV data" gives a usage cue tied to input format rather than to alternatives. There is no statement of when not to use it, no pointer to chart_from_json/show_chart, and no guidance on what happens if the CSV is malformed.

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

Deploy Server

Other Tools