Skip to main content
Glama

charts

Destructive

Create, publish and update interactive Plotly charts on autario.com from autario data, each with its insight text and cited sources.

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": {
      "action": "<action>"
    },
    "name": "charts"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNocreate_from_spec: Chart title (also settable via builder_spec.title; this top-level wins if both set). Format: "{Topic} | {Scope} ({YYYY-YYYY}, {unit})". The YYYY-YYYY year range is REQUIRED whenever the chart has a time axis (pull from the actual data span you queried). The unit is REQUIRED whenever find_data action "info" → unit is a non-empty string (copy verbatim, e.g. "Mt CO2e", "% of GDP", "per 1,000 live births"). If find_data action "info" → unit is null/empty, omit the unit | NEVER invent one. Example with both: "Greenhouse Gas Emissions by Country (2010-2024, Mt CO2e) | World Bank". Example unit-only: "Infant Mortality by Race (per 1,000 live births) | NCHS". publish: Chart title. Include time range in parentheses, use pipe | as separator (e.g. "GDP Growth | Major Economies (2000-2024)") update: Updated chart title
actionYesWhich operation to run. create_from_spec = a chart from a builder spec, needs builder_spec, dataset_ids; publish = a chart from a Plotly spec, needs title, dataset_ids; update = replace spec, title or text of your chart, needs chart_id, plotly_spec.
insightNocreate_from_spec: 2-3 sentence data insight using ONLY numbers from get_data action "query"/find_data action "schema" results. Hallucinated numbers are rejected with the available anchor list. publish: 2-3 sentence data insight with specific numbers from the queried data. Must use verified numbers from get_data action "query" results, never from training data update: Updated insight text with verified numbers
chart_idNoThe chart ID or slug returned by charts action "publish"
narrationNocreate_from_spec: Longer description (optional, defaults to insight) publish: Longer description of the analysis methodology and context update: Updated analysis description
dataset_idsNocreate_from_spec: UUID array of datasets backing this chart. Autario pulls real data from these tables. publish: Array of dataset UUIDs that this chart uses. Autario pulls real data from these datasets to ensure no hallucinated values
plotly_specNopublish: Plotly specification with traces array and layout object. Traces use x_col/y_col for column references and group_by/group_value for filtering (e.g. {"traces": [{"x_col": "year", "y_col": "value", "group_by": "country", "group_value": "USA"}], "layout": {}}) update: Updated Plotly specification with traces and layout
builder_specNoStructured Builder spec. Required: chart_type + x_col + y_col/y_cols (axis charts), label_col + value_col (pie/donut), x_col + group_by + value_col (heatmap). Optional: group_by, group_values, facet_by/facet_values (donut grid), heatmap_scale, title, palette/color_scheme, axis (x_title, y_title, y_min, y_max, log_scale, y_format, tick_angle, x_date_format), annotations, event_bands, overlays, legend_pos, bg_color, font_color, chart_height. See chart_instructions() for full reference.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, readOnlyHint=false, and idempotentHint=false. The description says charts are created, published, and updated on autario.com, but it does not disclose what publishing makes public, what update overwrites, whether operations are reversible, or permission/rate-limit considerations beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no filler, and every clause contributes useful context: operations, chart type, hosting domain, data source, and output artifacts. It is appropriately sized for a high-level tool description.

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?

Given the tool's complexity, the schema and annotations carry most of the needed detail, and the description correctly states the core operations and that charts include insight text and cited sources. However, it omits guidance on selecting actions, alternatives such as chart_instructions, and destructive/open-world behavioral implications, leaving meaningful gaps.

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 description coverage is 100%, so the schema already documents all eight parameters, including the action enum and nested builder_spec/plotly_spec details. The description adds no parameter-level meaning beyond what the schema provides, which is the baseline 3 case.

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 states specific verbs (create, publish, update) and a clear resource: interactive Plotly charts on autario.com from autario data. It does not explicitly distinguish this tool from chart_instructions or other chart-related siblings, so it falls short of a 5.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and does not name alternatives. The action enum in the schema lists operations, but the description itself does not explain how to choose between create_from_spec, publish, and update, nor prerequisites for publishing or updating.

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.