Skip to main content
Glama

Delete DataLens QL chart

datalens_charts_ql_delete
Destructive

Delete a specified chart by its chart_id; dashboards that displayed it will lose that chart.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chart_idYesChart id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds useful collateral-impact context beyond annotations: dashboards displaying the chart will lose it. It still omits permissions, reversibility, and confirmation behavior.

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: it begins with the action and immediately states the side effect. Every clause earns its place.

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 simple one-parameter delete tool with no output schema, the description covers the action and one important side effect, while annotations carry the destructive safety profile and the schema documents chart_id. It is complete enough to call correctly, though it could mention required permissions or irreversibility.

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?

There is one required parameter, chart_id, and schema description coverage is 100%, so the schema already documents it fully. The description adds no parameter-specific meaning beyond the schema, making the baseline 3 appropriate.

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," and adds the consequence that dashboards showing it lose the chart. This is clear and concrete, but it does not distinguish this QL-chart deletion from sibling deletion tools such as datalens_charts_editor_delete or datalens_charts_wizard_delete.

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 guidance, no prerequisites, and no alternatives. It does not say when to delete a QL chart versus another chart type or how to recover from deletion, so the agent must infer usage entirely from the tool name.

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