Skip to main content
Glama

Update DataLens workbook

datalens_workbooks_update
Idempotent

Update a DataLens workbook's title or description without changing unspecified fields, enabling targeted metadata edits.

Instructions

Change a workbook'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": {
      "workbook_id": "<workbook_id>"
    },
    "name": "datalens_workbooks_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.
workbook_idYesWorkbook 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.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is supplied. The description adds the useful non-destructive PATCH semantic that omitted fields are preserved, but says nothing about the dry_run preview path, permission requirements, or what an error/conflict looks like.

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 front-loaded sentence with the mutation scope first and the partial-update guarantee second; no filler or repetition of the title.

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 field-update tool with full schema coverage, no nested objects, and annotations carrying the risk profile, the description is nearly sufficient. A note on required permissions or on the dry_run alternative would close the remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3; however the description resolves a real ambiguity in the schema by clarifying that a null/omitted title or description means 'leave unchanged' rather than 'clear the field'. It still adds nothing about workbook_id semantics or the dry_run parameter beyond the schema text.

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 (change) and resource (a workbook) plus the exact mutable fields (title, description), which distinguishes it from siblings like delete/move/create. It does not explicitly name those alternatives, but the mutation scope is unambiguous.

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 partial-update rule ("what is not given stays as it is") gives clear context for when this tool is appropriate versus a full replace, but it never states when not to use it or which sibling to use for other workbook changes such as moving or renaming folders.

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