Skip to main content
Glama

Delete DataLens wizard chart

datalens_charts_wizard_delete
Destructive

Deletes a DataLens chart and removes it from dashboards that display it; supports a dry-run preview to verify the deletion request before sending.

Instructions

Delete a chart; the dashboards that show it lose it.

The API has no way to bring it back, and a dashboard that shows it keeps naming its id (measured).

The interface lists what was deleted under Service settings, Deleted objects, with a Restore button (measured: the entry appears there; restoring was not tried).

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": {
      "chart_id": "<chart_id>"
    },
    "name": "datalens_charts_wizard_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
chart_idYesChart id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Addedv0.122.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the description's added value is the concrete fallout: dashboards that display the chart lose it but keep referencing its id, and the API offers no restore. It further notes a possible UI recovery path under Service settings, Deleted objects, while honestly flagging that restore was not tested — useful context beyond the annotations, though it omits permission or auth requirements.

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 short paragraphs with the destructive consequence front-loaded, and every sentence carries information. The '(measured)' qualifiers and the parenthetical about restore not being tried are slightly clunky but serve to signal confidence level.

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 two-parameter destructive delete with no output schema, the definition covers what is destroyed, the referential side effects on dashboards, irreversibility, and a recovery avenue. An agent has enough to decide whether to call it and what to warn about.

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 both chart_id and dry_run are already documented in the schema, including dry_run's exact return shape. The description adds no parameter-level detail, so the baseline of 3 applies.

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 ('Delete a chart') plus the immediate consequence for dashboards. It does not, however, distinguish this wizard-chart delete from the sibling delete variants (datalens_charts_editor_delete, datalens_charts_ql_delete), leaving the agent to infer which chart type this applies to from the tool name alone.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative for deleting other chart types or for checking a chart before removal. The only implied guidance is the irreversibility warning, which discourages rather than directs usage.

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