Skip to main content
Glama

Delete DataLens dashboard

datalens_dashboards_delete
Destructive

Deletes a DataLens dashboard by ID, optionally previewing the request with dry run or supplying a lock token when the dashboard is locked.

Instructions

Delete a dashboard.

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": {
      "dashboard_id": "<dashboard_id>"
    },
    "name": "datalens_dashboards_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
lock_tokenNoThe token of the lock held on the dashboard, when it is locked.
dashboard_idYesDashboard 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

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description contributes nothing on top: it does not state that deletion is permanent, whether it cascades to widgets/tabs, or how the lock_token interacts with a locked dashboard before deletion.

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 words, front-loaded, zero waste. There is no clutter to trim, though the brevity is achieved by omitting content rather than by tight editing.

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?

Between the annotations (destructive, non-idempotent) and a fully documented schema, an agent can execute a call correctly. It cannot learn from the description what the deletion actually does to a dashboard's contents or what the dry_run response looks like in practice, so some meaningful context is missing for an irreversible operation.

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% and all three parameters (dashboard_id, dry_run, lock_token) are documented in the schema itself. The description adds no syntax, constraints, or interaction details beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete a dashboard" names a concrete verb and resource, so the agent knows what operation it performs. However, it is essentially a verbatim restatement of the title ("Delete DataLens dashboard") and offers no differentiation from the many sibling delete tools (datalens_workbooks_delete, datalens_datasets_delete, etc.) beyond the noun in the name.

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?

No when-to-use guidance, no preconditions, and no mention of any alternative tool for the same goal. The agent gets no signal about what must be true before deleting a dashboard (e.g. ownership, lock state, or whether to prefer update over delete).

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