Skip to main content
Glama

Create DataLens Trino cluster

datalens_trinoclusters_create

Create a Trino cluster in DataLens and return the operation used to provision it. Confirm billing with the user before running.

Instructions

Make a Trino cluster and return the operation that makes it.

A cluster is cloud resources, billed while it runs: ask the person before calling. 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": {
      "collection_id": "<collection_id>",
      "cloud_environment_id": "<cloud_environment_id>",
      "name": "<name>",
      "worker_config": "<worker_config>"
    },
    "name": "datalens_trinoclusters_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe cluster's name.
labelsNoLabels, a name to a value.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
descriptionNoA description.
collection_idYesThe DataLens collection to make it in.
trino_versionNoThe version of Trino; the service's own when left out.
worker_configYesThe workers: their resource preset and how many there may be.
catalogs_configNoThe REST catalogs to attach.
cloud_environment_idYesThe cloud environment to make it in.

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.8/5.0
Behavior4/5

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

Annotations already declare it as a non-read-only, non-idempotent, non-destructive write with open-world access. The description adds critical context beyond that: it returns an operation (long-running), incurs billing while the cluster runs, and is marked experimental with no real-world validation. These are meaningful behavioral disclosures for a create tool.

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?

Three tightly packed sentences: the first gives the core action and return, the second warns of billing and asks for confirmation, the third flags experimental status. No wasted words; information is front-loaded and well-sequenced.

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 complex create tool with nine parameters, nested objects, and no output schema, the description is largely complete. It covers purpose, cost, return (operation), and reliability caveat. Minor gaps include permissions requirements and whether the operation must be polled, but these are not critical given the rich schema and annotations.

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 all nine parameters are documented in the input schema. The description does not add any parameter-specific meaning beyond the schema. Baseline 3 is appropriate when the schema carries the full parameter semantics.

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: 'Make a Trino cluster and return the operation that makes it.' It is explicit about the action but does not distinguish from any sibling tools (e.g., other cluster creation tools for different services), which keeps it from 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 Guidelines3/5

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

It offers a single usage constraint: 'ask the person before calling' because billing accrues. There is no explicit guidance on when to use this versus alternatives, nor any when-not conditions. Usage is implied but not fully specified.

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