Skip to main content
Glama

Create DataLens REST catalog

datalens_restcatalogs_create

Create a DataLens REST catalog and return an operation for tracking progress; confirm cloud bucket billing with the user before calling.

Instructions

Make a REST catalog and return the operation that makes it.

It creates a bucket in a cloud, which may be billed: ask the person before calling. Ask lakehouseoperations_get for the operation until done. 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": {
      "cloud_environment_id": "<cloud_environment_id>",
      "name": "<name>",
      "bucket_settings": "<bucket_settings>"
    },
    "name": "datalens_restcatalogs_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe catalog'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.
bucket_settingsYesThe settings of its bucket; an empty object is valid.
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

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the billing consequence of the underlying bucket creation, the requirement for human confirmation, the polling workflow needed to reach completion, and the experimental, never-tested status. These are exactly the traits an agent cannot infer from readOnlyHint/destructiveHint/openWorldHint.

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 with the purpose and the billing warning front-loaded, and the polling instruction last. The backtick-quoted tool name and mid-sentence line breaks are slightly awkward but cost little.

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 nested-object mutation with no output schema, the description covers what is returned (an operation) and how to consume it, plus the cost/confirmation risk. The experimental caveat is present; only explicit alternative-tool routing is missing.

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 documents name, labels, dry_run, description, cloud_environment_id and the nested bucket_settings. The description adds no syntax or constraint detail for those parameters, so the baseline 3 is appropriate.

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 REST catalog') and adds what it returns ('the operation that makes it'), so the agent knows this is an async create. It does not explicitly contrast with the sibling datalens_trinoclusters_catalog_create, leaving the REST-vs-Trino distinction to the resource name alone.

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

Usage Guidelines4/5

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

Gives a clear precondition ('creates a bucket in a cloud, which may be billed: ask the person before calling') and a concrete follow-up path ('Ask lakehouseoperations_get for the operation until done'). It never names when-not-to-use or an alternative creation tool, so it falls short of the explicit alternatives guidance a 5 requires.

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