Skip to main content
Glama

Update DataLens wizard chart

datalens_charts_wizard_update
Idempotent

Save a DataLens wizard chart by replacing its entire data, with mode=save for a draft or mode=publish to publish the shown version.

Instructions

Save a chart of the wizard as given: read it, change it, send it back whole.

DataLens does not check a revision here: a save overwrites what was saved since you read it (measured).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesWhat the chart holds; it replaces the whole of it. Its schema is not listed here: read `WizardChartData` with schema_get(service="datalens", name="WizardChartData"), then the definitions it refers to.
modeYes`save` keeps a draft; `publish` makes it the version shown.
rev_idNoThe revision the change is made on; DataLens does not check it (measured).
chart_idYesChart id.
annotationNoA description of the chart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.122.1

TDQS

A3.8/5.0
Behavior4/5

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

It adds key behavioral context beyond the annotations: DataLens does not check the revision, and saving overwrites anything written since the chart was read. This is important for avoiding lost concurrent edits. There is mild tension with destructiveHint=false, but the warning concerns overwrite risk rather than direct resource deletion, so it is not a clear contradiction.

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?

Two compact sentences, front-loaded with the essential workflow and followed by a critical overwrite warning. There is no wasted text.

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?

For a mutation tool with rich schema descriptions, no output schema, and annotations covering idempotency and destructiveness, the description supplies the critical operational warning about overwrites. It could still say more about when to choose this tool over sibling chart-update tools, but it is largely complete.

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 parameter meanings are already well documented. The description reinforces whole-object replacement and ignored revision checking, but adds little parameter-specific detail beyond what the schema provides.

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 a specific verb and resource: saving/updating a wizard chart, with the full read-change-send workflow. It clearly distinguishes the wizard chart subtype, though it does not explicitly contrast with sibling update tools for editor or QL charts.

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?

The description implies the update workflow: read the chart, change it, send it back whole. However, it gives no explicit when-to-use guidance versus alternatives such as datalens_charts_wizard_create, datalens_charts_editor_update, or datalens_charts_ql_update.

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