Skip to main content
Glama

Describe chart type

describe_chart_type
Read-onlyIdempotent

Lists all Datawrapper chart, map and table types with when to use each, or explains a selected type's data shape, column roles, examples and key visualize options, including schema detail.

Instructions

Datawrapper: without type, list all 25 chart/map/table types with when to use each. With type (id or alias like 'stacked bars'), show the expected data shape, column roles, example data and the most important visualize options with defaults and valid values (from Datawrapper's own defaults and ~3,000 real charts). Set detail='schema' for the full JSON Schema of metadata.visualize.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "describe_chart_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoChart type id or alias.
detailNosummary (default): shape + top options; options: all options; schema: JSON Schema.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real behavioral context beyond them: the response content changes shape depending on whether `type` is supplied, and the option defaults/valid values are derived from Datawrapper's own defaults plus ~3,000 real charts. It leaves out anything about response size or pagination, which for a 25-item catalog with an 'all options' mode would be useful.

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 dense sentences, front-loaded with the no-`type` case and followed by the `type` case and the `detail='schema'` escape hatch, mirroring the actual decision order. The leading 'Datawrapper:' label and the parenthetical sourcing note are slightly more than strictly necessary, but nothing is filler.

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, the description properly carries the burden of explaining returns, which it does per mode. Minor gap: it never states the shape of the no-`type` catalog entry (name/id/alias) or how large the 'options' detail output gets, which matters for an agent deciding how to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description earns a step up: it clarifies that `type` accepts an id or a human alias like 'stacked bars', and that the presence/absence of `type` switches the entire response mode — a semantic the schema does not convey. The three-value `detail` enum is partially re-explained rather than fully disambiguated.

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?

States a specific verb and resource: this is a Datawrapper reference tool for chart/map/table types, and it spells out exactly what each of the two call modes returns (a catalog of 25 types vs. data shape, column roles, examples, visualize options). An agent can tell this apart from create_chart/get_chart siblings without opening a 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?

Explicit conditional guidance: call without `type` when you need to browse and choose a chart type; call with `type` when you already know it; set detail='schema' when you need the raw visualize schema. It does not name sibling tools or warn when not to use it (e.g., in favor of get_chart for an existing chart), so it stops short of 5.

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