Skip to main content
Glama

Delete DataLens cloud environment

datalens_cloudenvironments_delete
Destructive

Delete a DataLens cloud environment by ID and return the delete operation; use dry_run to preview the request without sending changes.

Instructions

Delete a cloud environment and return the operation that deletes it.

Experimental in the DataLens API, written from its document and never called: not measured.

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": {
      "id": "<id>"
    },
    "name": "datalens_cloudenvironments_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the cloud environment.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).

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

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, non-idempotent, open-world, so the danger profile is conveyed structurally. The description adds real value by disclosing that the call returns a long-running operation and that the implementation is untested ('written from its document and never called: not measured'), but it never says whether deletion cascades to dependent objects (charts, connections, datasets) or what permissions are required.

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?

Two short sentences, front-loaded with the operation and its return value, with no filler. The only minor redundancy is 'Delete ... the operation that deletes it', and the experimental caveat is compactly stated.

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?

There is no output schema, so noting the returned operation is genuinely necessary and present, and parameters are fully covered by the schema. Missing for a destructive, async tool: whether the operation must be polled, whether deletion is recoverable, and what dependents are affected.

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 `id` and `dry_run` are already documented in the schema, and the description adds no extra syntax, format, or semantic detail. Baseline 3 applies when the schema does the full lifting.

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 first sentence gives a specific verb and resource ('Delete a cloud environment') plus the return shape (an operation). It does not distinguish itself from the sibling create/get/update/list family or say anything about destructive scope, so it stops 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?

There is no when-to-use or when-not-to-use guidance, no prerequisite checks, and no explanation of the `dry_run` preview path despite it being a meaningful calling mode. The only contextual note is an experimental-warning, which is not usage guidance.

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