Skip to main content
Glama

Update DataLens cloud environment

datalens_cloudenvironments_update
Idempotent

Update a DataLens cloud environment by ID, including its name, description, storage settings, and security groups, and return the resulting operation.

Instructions

Change the fields given of a cloud environment 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": {
      "id": "<id>"
    },
    "name": "datalens_cloudenvironments_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the cloud environment.
nameNoA new name.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
storageNoNew settings of its storage bucket.
descriptionNoA new description; an empty one clears it.
security_group_idsNoThe security groups the environment uses.

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.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds two genuinely new facts beyond that: the call returns an operation object (asynchronous-style response) and the implementation is documented but never executed. It does not say what happens to fields omitted from the request or what permissions are needed.

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, front-loaded with the action and its return value. The second sentence is a provenance/status caveat that earns its place given the tool has never been executed, though the phrasing 'never called: not measured' is terse to the point of being cryptic.

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?

For a 6-parameter mutation with full schema coverage, annotations and no output schema, most of the picture is already structured. The description covers the operation-return and untested status, but leaves out partial-update semantics (whether null clears, whether omitting leaves unchanged) and any permission requirements, which matter for a write tool with an openWorld hint.

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 every parameter, including the dry_run preview semantics and the storage.maxSize meaning, is already documented in the schema. The description contributes only the general notion that unspecified fields are not changed, which is implied by 'fields given' rather than spelled out. 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?

Names a specific verb ('Change the fields given') and resource ('cloud environment'), and adds that it returns the operation, which distinguishes it from a plain read sibling like datalens_cloudenvironments_get. It does not explicitly contrast itself with other *_update tools, but the resource scoping makes the target unambiguous.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no statement of prerequisites (e.g., that the environment must exist or that partial updates leave omitted fields untouched), and no named alternative such as datalens_cloudenvironments_create for new environments. Only the meta-note about being experimental is present.

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