Skip to main content
Glama

Move DataLens collection

datalens_collections_move

Moves a collection into another collection or to the root when no parent is given, with optional title changes and dry-run preview.

Instructions

Move a collection into another one, or into the root when no parent is given.

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_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title to give it on the way.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
parent_idNoThe collection to put it in; the root when left out.
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, destructiveHint=false, openWorldHint=true and notably idempotentHint=false. The description adds the meaningful behavioral fact that omitting parent_id places the collection at the root, but it says nothing about permissions required, cycle/self-move constraints, or the non-idempotent, possibly renaming side effect (the title param implies a rename during the move).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with zero filler, and the root-destination caveat is placed where it is read before the call is made. Nothing could be removed without losing meaning.

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 simple four-parameter mutation with full schema coverage and annotations, the essentials are present, and no output schema exists so returns need not be explained. Still missing are the constraints that matter for a non-idempotent move (permissions, invalid destinations such as self or descendants), which the description leaves entirely unaddressed.

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 all four parameters including dry_run's exact response shape and parent_id's root default. The description only restates the parent_id default, adding no syntax, constraints, or validation meaning beyond the schema; baseline 3 applies.

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 ('Move a collection') plus the scope of the destination, including the default-to-root behavior. It does not distinguish itself from datalens_collections_move_bulk or datalens_workbooks_move, so sibling differentiation is left to the names.

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?

The 'or into the root when no parent is given' clause tells an agent one concrete conditional behavior, which implies when to omit parent_id. There is no explicit when-to-use vs when-not guidance and no pointer to the bulk variant for multi-collection moves.

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