Skip to main content
Glama

List eligible chart types

list_eligible_charts
Read-only

The AUTHORITATIVE list of chart types (maps, tables a reader works with and app widgets included) that can render this dataset - the server's own eligibility engine, NOT a guess. Pass the table as data ({columns, rows}) or csv_text. This hosted server receives your table, profiles it in memory and sends only the profile to generation; rows aren't stored or logged. Ranked for JavaScript (D3) unless you pass language ('python' ranks Plotly and matplotlib) or renderer ('D3'/'PLOTLY'/... for one renderer, '' for every renderer). No model runs, but the call is METERED: free within a generous hourly allowance, then usage credits per call.

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_eligible_charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoShow only the top-N ranked results. Omit for all.
dataNoA pre-typed {columns, rows} table — the shape a Fabric DAX query / dataframe already has. Alternative to csv_path/csv_text; when columns carry isMeasure/format/description the shape matches PBI fidelity with no guessing.
orderNoHow the list is ordered. 'fit' (the default) = by how well each chart type fits THIS data, nothing else - use it to choose a chart for a question. 'variety' = the picker's selection order, which favors newer and less-common types on purpose - use it when the user wants to explore or be surprised. Both lists hold the same chart types; only the order differs.
widthNoViewport width px (default 800) — affects small-viewport / facet-budget gates.
heightNoViewport height px (default 600).
cultureNoThe caller's language and region as a BCP 47 tag such as 'de-DE', 'fr' or 'ja-JP'. Default 'en-US'. It is the language the chart's own text is written in (titles, axis labels, legends, notes), and it breaks the tie when a CSV's numbers or dates are ambiguous: 12.500 as twelve thousand five hundred or twelve and a half, 05.03.2024 as 5 March or 3 May. Set it from the end user's locale when you know it; it does not translate the data.
formatsNoPer-column number/date FORMAT STRING (e.g. {"Revenue":"$#,##0","Margin":"0.0%"}). PBI supplies these from its model; a CSV can't, so provide them to steer number formatting.
csv_pathNoNot accepted by this hosted server: this hosted server can't read files on your machine, so pass the table as data or csv_text.
csv_textNoInline CSV text (alternative to csv_path).
group_byNoColumns that are the PRIMARY series/breakdown (the PBI 'Group by' well); the backend leads the visualization with these.
languageNoProject source language: javascript/typescript ranks D3, python ranks Plotly and matplotlib. Omit for JavaScript; `renderer`, when given, overrides it.
measuresNoColumns to treat as MEASURES (the PBI 'Values' well — fields the chart aggregates). Numeric non-identifier columns are measures by default.
rendererNoForce a specific renderer (overrides `language`): a concrete renderer ranks that renderer's charts; '' = the full renderer-agnostic eligibility (all renderers, ranked by chart type alone). Omit to use `language`/auto-detection.
dimensionsNoColumns to treat as DIMENSIONS (a PBI category/axis well — fields to group/break by). Use for numeric codes/years that should NOT be aggregated.
chart_styleNoThe user's own preference for which family of charts the list covers, as they've stated it. 'traditional' lists only the familiar forms (bar, stacked and grouped bar, line, area, pie, donut, card, gauge), 'non_traditional' lists only the other chart types; a type outside the chosen family is left out. Unset when they haven't stated one; unset changes nothing.
name_filterNoShow only chart types matching this text (the same matcher the Power BI and Excel chart-type lists use). Three tiers, first non-empty one wins outright: the term starting a WORD in the name ('gan' -> Gantt chart, and NOT Organization chart), then mid-word in the name ('eth' -> Choropleth), then the description. A name match therefore SUPPRESSES description matches. Case- and accent-insensitive and, by default, space- and punctuation-insensitive too ('barchart' and 'bar-chart' find Bar chart; see name_filter_match). Minimum two characters, and it never reorders - the picker's ranking is preserved and the ranks stay as issued. Applied after ranking and before `top`.
project_dirNoNot accepted by this hosted server: this hosted server can't see your project folder, so pass language or renderer instead.
descriptionsNoPer-column human DESCRIPTION — gives the model semantic context the bare column name lacks.
non_additiveNoMEASURE columns that must NOT be summed (a ratio/average/rate — use mean, never stack). Usually auto-detected; this is an authoritative override.
privacy_levelNoHow much detail to compute/share: 0 names only, 10 +counts, 20 +detailed stats (default), 30 +obfuscated sample rows.
level_of_detailNoThe user's own preference for how much of the data to see, as they've stated it. 'High' = every observation as its own mark, 'Medium' = every row shown as a distribution, 'Low' = one mark per category. Ranks this list the same way a generation would. Unset when they haven't stated one; unset changes nothing.
name_filter_matchNoHow name_filter matches a name. 'loose' (the default) ignores accents, case, spaces and punctuation, so 'barchart' finds Bar chart. 'exact' folds accents and case and collapses repeated spaces, and nothing else: a name typed without its space or hyphen matches nothing. The same setting the Power BI and Excel chart-type lists offer.

Output Schema

NameRequiredDescriptionDefault
orderYesThe order the rows are in: by fit to this data, or the picker's selection order.
shownYesHow many rows this answer carries.
chartsYesOne row per chart type; a type that fits only once the rows are totalled is listed once per grain, in the order issued.
filterYesThe name_filter applied, or null.
meteringYesWhat this call cost, in the words the text block states it in.
eligibleCountYesHow many chart types can render this data before any name_filter or top.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / charts / description
      Previous value: -"One row per chart type, in the order issued."New value: +"One row per chart type; a type that fits only once the rows are totalled is listed once per grain, in the order issued."
    • addedOutput schema / properties / charts / items / properties / aggregation
      Added value: +{
      +  "description": "Set on a row that fits only once the rows are totalled: how they are totalled first. Null for a type that fits the rows as they are.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / charts / items / properties / kind
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "app",
      +        "table",
      +        "map",
      +        "kpi"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What the type is beyond a plain chart, in the chart gallery's families: an app (its own controls or logic), a table, a map or a KPI card; null for a plain chart. A label for a badge, never a reason to hide or reorder a row."
      +}
    • addedOutput schema / properties / charts / items / properties / projection
      Added value: +{
      +  "description": "That row's key: the value that selects this row's grain when the type is requested by name. Null on a plain row.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / charts / items / required
      Previous value: -[
      -  "rank",
      -  "name",
      -  "preview",
      -  "fit",
      -  "description",
      -  "language",
      -  "renderer",
      -  "alsoWorthALook"
      -]New value: +[
      +  "rank",
      +  "name",
      +  "preview",
      +  "fit",
      +  "description",
      +  "language",
      +  "renderer",
      +  "alsoWorthALook",
      +  "kind",
      +  "aggregation",
      +  "projection"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations supply only readOnlyHint and openWorldHint, yet the description adds substantial operational context: the hosted server profiles the table in memory, sends only the profile to generation, and neither stores nor logs rows. It also discloses that no model runs but the call is metered with a free hourly allowance followed by credits per call.

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 front-loaded with the authoritative-list claim, then layers in data-handling, ranking defaults and metering in a logical order. It is dense but each sentence carries useful context; minor repetition between 'not a guess' and 'No model runs' keeps it from a 5.

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?

For a 22-parameter listing tool with an output schema, the definition covers purpose, privacy, cost and the main input modes without needing to explain return values. The missing piece is explicit routing against sibling tools, but relative to the tool's complexity the coverage is strong.

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?

With 100% schema description coverage across 22 parameters, the schema already documents the knobs in detail. The description restates the main data-passing and language/renderer behavior but adds little syntax or default information beyond what the schema fields already say.

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 ('The AUTHORITATIVE list of chart types') and scopes it to those that 'can render this dataset', while contrasting the output with a guess. That lets an agent distinguish it from generation or assessment siblings even without naming them.

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?

Usage is only implied: the description makes clear this is the eligibility list for a dataset, but it never explicitly says when to choose it over generate_chart, assess_data_shape or preview_request. The only direct 'use it to choose a chart' guidance sits in the order parameter schema, not in the description body.

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.

Resources