Skip to main content
Glama

Delete DataLens Trino cluster

datalens_trinoclusters_delete
Destructive

Delete a Trino cluster in DataLens and return the deletion operation. Use dry_run to preview the request without writing.

Instructions

Delete a Trino cluster 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_trinoclusters_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the Trino cluster.
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, readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the danger profile is known. The description adds genuine value beyond that by disclosing the async operation return value and the important caveat that this path was written from documentation and never exercised. It still says nothing about irreversibility, cascade effects, or required permissions.

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 action, and the untested-endpoint warning is compact and worth its space. The phrase "return the operation that deletes it" is slightly circular but not confusing.

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?

For a destructive mutation with no output schema, the description gives enough to invoke it safely at a basic level (it returns an operation, and it is unvetted). It omits whether deletion is permanent, what the returned operation must be polled with, and any side effects on related objects, which leaves meaningful gaps for a destructive tool.

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 coverage is 100%, with both `id` and `dry_run` fully described in the schema, including dry_run's response shape. The description adds no parameter-level meaning beyond that, 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?

States a specific verb and resource ("Delete a Trino cluster") and adds the return behavior ("return the operation that deletes it"). It does not, however, distinguish itself from the similarly named sibling datalens_trinoclusters_catalog_delete, so a reader must rely on the tool name to tell the two deletions apart.

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: nothing about prerequisites (must the cluster be stopped first?), what happens to dependent objects, or why one would choose this over the sibling catalog delete or stop. The only contextual remark is that the endpoint is experimental and untested.

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