Skip to main content
Glama

Move DataLens workbooks

datalens_workbooks_move_bulk

Move multiple DataLens workbooks into a collection or to the root in one all-or-nothing call, so a single conflict blocks the whole batch.

Instructions

Move several workbooks into a collection, or into the root when none is given.

All or none: if one workbook already lies in the destination, the API answers 409 and moves none of them.

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": {
      "workbook_ids": "<workbook_ids>"
    },
    "name": "datalens_workbooks_move_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
workbook_idsYesWorkbook ids.
collection_idNoThe collection to put the workbook in; the root when left out.

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

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

The annotations already declare a non-read-only, non-idempotent, open-world mutation, so the bar is lower; the description still adds real value by disclosing the atomic all-or-none contract and the specific 409 outcome when any workbook already sits in the destination. It does not cover permission requirements or what happens to prior collection membership.

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?

Two short sentences with zero filler: the action and destination come first, and the atomicity constraint follows as the key caveat. Nothing could be removed without losing information.

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 three-parameter mutation with no output schema, the description supplies the two facts an agent most needs before calling: the destination default and the all-or-none behavior on conflict. Missing only permission/authorization notes and post-move state details, which is a minor gap.

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 coverage is 100%, including a documented dry_run preview and a documented collection_id default of root, so the schema already carries the parameter semantics. The description restates the root-default behavior but adds no new syntax, id-format, or ordering details for the workbook_ids array.

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 several workbooks") plus the destination scope (a collection, or root when none given). The plural "several" implicitly distinguishes it from the singular datalens_workbooks_move sibling, but the definition never names that 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?

Useful context is given about the destination default (root when collection_id is omitted) and about the all-or-none failure mode, which tells the agent when the call is safe to attempt. However, there is no explicit routing guidance such as "use this for multiple ids; use datalens_workbooks_move for a single workbook" or any prerequisite/permission note.

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