Skip to main content
Glama

Create DataLens Trino cluster

datalens_trinoclusters_create

Creates a Trino cluster in a DataLens collection and returns the operation that provisions it.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe cluster's name.
labelsNoLabels, a name to a value.
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. Addedv0.122.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations cover the safety profile (openWorld, non-idempotent, non-destructive), and the description adds real context beyond them: the call is asynchronous (returns an operation), it incurs ongoing billing while the cluster runs, and it is experimental and never actually exercised. The billing and untested caveats are exactly the kind of behavioral warning annotations cannot convey.

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 short sentences, front-loaded with the core action, and no filler. The final experimental caveat is somewhat meta but earns its place as a reliability warning.

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 an 8-parameter, deeply nested create tool with no output schema, the description covers the essentials: it is a creation, it is async (operation returned), it costs money, and it is experimental. An agent has enough to decide and invoke correctly, with only fine-grained parameter detail left to the schema.

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% across all 8 parameters, including nested worker_config, so the schema already documents every field. The description contributes nothing about parameter meaning or defaults, which is the expected baseline when the schema does the heavy 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?

States a specific verb and resource ("Make a Trino cluster") and even notes the return value is an operation. The resource name clearly separates it from sibling create tools like datalens_sparkclusters_create and from the trinoclusters list/get/start/stop siblings, though it never explicitly contrasts with them.

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?

"A cluster is cloud resources, billed while it runs: ask the person before calling" gives a genuine precondition for invocation (human confirmation due to cost). However it names no alternative tool or when-not-to-use condition, leaving routing between this and sibling cluster tools to inference.

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