Skip to main content
Glama

Attach a REST catalog to a DataLens Trino cluster

datalens_trinoclusters_catalog_create

Attach a REST catalog to a Trino cluster and return the operation, with a dry-run option to preview the request before making it.

Instructions

Attach a REST catalog to a Trino cluster and return the operation.

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>",
      "catalog": "<catalog>"
    },
    "name": "datalens_trinoclusters_catalog_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
catalogYesThe REST catalog to attach, by its id.
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

B3.4/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-destructive, non-idempotent, open-world write, so the safety profile is covered. The description adds real value beyond them: it says the call returns an operation, and it warns that the tool is experimental and untested, which tells the agent to treat results with suspicion. It does not say what the operation contains or whether the call can fail partway.

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, with the action front-loaded and the experimental caveat immediately after. The closing "written from its document and never called: not measured" is a little cryptic in phrasing, but it 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.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three parameters, one nested object, and no output schema, the description should say more about the returned operation. "Return the operation" is the only word on the return value, and it is thin. The call-critical essentials are present, so this is adequate but not complete.

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 the schema already explains `cluster_id`, `catalog.catalogId`, and the `dry_run` echo behavior. The description contributes nothing further about parameter meaning or formats, which makes the baseline 3 correct here.

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 pair: "Attach a REST catalog to a Trino cluster." That is enough to separate it from the sibling delete tool without opening either schema. It stops short of naming any alternative explicitly.

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?

Usage is only implied by "Attach a REST catalog to a Trino cluster"; there is no statement of when to prefer this over `datalens_trinoclusters_catalog_delete` or `datalens_restcatalogs_create`, and no prerequisites are listed. The "Experimental ... never called: not measured" caveat does act as a caution signal, which lifts it above a bare 2.

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