Skip to main content
Glama

Charts and tables on the statistics page

list_chart_data
Read-only

Lists the 7 datasets behind the statistics page's 4 charts and 3 tables (id, kind, title, topic, section, row count; ids are not consecutive) with the download addresses: the whole page as CSV and JSON, one SVG per chart, the screening-test JSON and the changelog JSON. Pass an id to get that one dataset's rows (3 to 12 per dataset) with values, notes and reference keys, plus the license and citeAs text. Use this for topics beyond prevalence (persistence, maths anxiety, interventions, by-country, sex ratio, comorbidity) or for the exact rows a chart plots; use get_prevalence instead for prevalence figures with sample size, age and filters (chart-1 plots only a subset of those entries). An unknown id returns an error listing the valid ids.

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

Input Schema

NameRequiredDescriptionDefault
idNoDataset id, exact: chart-1, chart-6, chart-8, chart-9, table-2, table-4, table-5. Omit to list every dataset without its rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"One of: chart-1, chart-6, chart-8, chart-9, table-2, table-4, table-5."New value: +"Dataset id, exact: chart-1, chart-6, chart-8, chart-9, table-2, table-4, table-5. Omit to list every dataset without its rows."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description adds substantial behavior beyond them: dataset ids are not consecutive, each dataset holds 3 to 12 rows, the call also surfaces download addresses (page CSV/JSON, per-chart SVG, screening-test JSON, changelog JSON), and detail mode returns license and citeAs text. It also discloses the failure mode that an unknown id errors with a list of valid ids, which is exactly the kind of trait an agent needs before calling.

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?

Scope is front-loaded and every sentence carries information — return shape, download artifacts, usage routing, error behavior. It is a single dense paragraph with parenthetical lists that take effort to parse, so it stops just short of ideal structure, but there is no filler to cut.

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

Completeness5/5

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

There is no output schema, so the description must carry return-shape information, and it does: it enumerates the summary fields, the download artifacts, and the detail-mode extras. Combined with the usage routing and error behavior, an agent has everything needed to invoke it correctly in either mode.

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% and the enum-like id list is already in the schema, so the baseline is a 3. The description still adds meaning: passing an id yields that dataset's rows with values, notes and reference keys plus license/citeAs, and it warns that ids are non-consecutive, which the schema does not state. Marginal but real value beyond the structured field.

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?

The description opens with a specific verb and resource: it lists the 7 datasets behind the statistics page's 4 charts and 3 tables, and names the fields returned (id, kind, title, topic, section, row count). It explicitly contrasts itself with the sibling get_prevalence, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states concrete when-to-use conditions (topics beyond prevalence: persistence, maths anxiety, interventions, by-country, sex ratio, comorbidity; or the exact rows a chart plots) and names the alternative plus the reason to prefer it (get_prevalence carries sample size, age and filters, and chart-1 plots only a subset). Omission behavior and the unknown-id error path are also covered.

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.