Skip to main content
Glama

Update DataLens collection

datalens_collections_update
Idempotent

Update a DataLens collection's title or description while leaving omitted fields unchanged. Use it to rename a collection or revise its description without affecting other properties.

Instructions

Change a collection's title or description; what is not given stays as it is.

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

Input Schema

NameRequiredDescriptionDefault
titleNoNew title.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
descriptionNoNew description.
collection_idYesCollection id.

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

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing partial-update semantics (unspecified fields are preserved), which annotations do not convey. It says nothing about permission requirements, behavior on a nonexistent collection_id, or what the dry_run response looks like beyond the schema's own text.

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?

A single compact sentence with the action front-loaded and the patch semantics as a trailing qualifier; nothing is wasted. It is perhaps too terse for a mutation tool, but there is no filler or redundancy.

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 low-complexity, four-parameter mutation with full schema coverage and no output schema, the definition covers what changes and how partial inputs behave. Missing pieces are edge cases: permission prerequisites, failure on bad ids, and the meaning of passing null explicitly.

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 both title and description and the dry_run flag are already documented, which sets the baseline at 3. The description's 'what is not given stays as it is' slightly clarifies the null/default semantics, but it does not resolve the ambiguous case of explicitly passing null, so it adds little beyond the schema.

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 ('Change a collection's title or description'), so the agent knows exactly what is mutated and which fields are in scope. It does not name or distinguish itself from the many sibling update/get/move tools, but the resource is unambiguous enough to separate it from the move, delete, and access-binding siblings.

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 implied: this is for editing metadata on an existing collection, and the phrase 'what is not given stays as it is' signals a patch-style call rather than a full replacement. There is no explicit when-to-use/when-not guidance, no mention of required permissions, and no routing to siblings such as collections_move for relocation vs. this tool for metadata edits.

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