Skip to main content
Glama

Stop DataLens Trino cluster

datalens_trinoclusters_stop

Stops a running Trino cluster in DataLens and returns the operation that performs the stop. Use it to shut down a cluster by its cluster ID, optionally as a dry run.

Instructions

Stop a running Trino cluster and return the operation that stops 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": {
      "cluster_id": "<cluster_id>"
    },
    "name": "datalens_trinoclusters_stop"
  }
}

Input Schema

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

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
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it returns the operation that stops the cluster, and it discloses that the path is experimental and never exercised ("not measured") so the agent can distrust the result. It still omits side effects such as whether in-flight queries are killed or whether the cluster must be in a specific state.

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 sentences, no filler, and the core action plus return value are front-loaded. The second sentence is meta-commentary about API maturity but earns its place because it warns the agent the behavior is unverified.

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?

No output schema exists, and the description partially compensates by saying it returns the stop operation. For a single-required-param mutation with full annotation coverage, that is close to sufficient; only the post-call cluster state and the fate of running queries are left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters are documented in the schema, including the unusual dry_run semantics ("Send nothing: answer {dry_run: true, request}"). The description adds nothing about parameters, so the schema does all the work; baseline 3 would apply, but the schema itself is unusually explicit about the non-obvious dry_run parameter, which reduces the burden on the description.

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+resource ("Stop a running Trino cluster") and adds that it returns the operation object, which tells the agent this is an asynchronous state change rather than a synchronous mutation. It implicitly separates itself from datalens_trinoclusters_start and datalens_trinoclusters_delete via the "running" qualifier, but never names or contrasts those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Stop a running Trino cluster" implies the precondition that the cluster must currently be running, which is useful selection context. However, there is no explicit when-to-use/when-not guidance, no mention of the start/delete alternatives, and no note about what happens to running queries or workloads.

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