Skip to main content
Glama

Start DataLens workbook export

datalens_workbookexports_start

Start exporting a workbook and return an export ID; poll the status until success, then retrieve the resulting document.

Instructions

Start exporting a workbook and return the id of the export.

The export runs on its own: ask workbookexports_status_get until status is success, then workbookexports_result_get for the document.

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

Input Schema

NameRequiredDescriptionDefault
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
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.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so safety profile is already covered. The description adds meaningful behavior beyond that: the operation is asynchronous, returns an export id, and must be polled to completion. It doesn't disclose failure modes, retention of the export, or concurrency limits.

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 return value, then the follow-up workflow. No filler; the only nit is slightly awkward formatting with double backticks around tool names.

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 two-parameter async-start tool with no output schema, the description supplies what's needed: what it returns and how to retrieve the eventual result. It could be more complete by mentioning cancel/cleanup behavior or what a non-success status means, but the core calling path is fully covered.

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%, with workbook_id and dry_run both documented in the schema, so the baseline is 3. The description adds nothing about parameter meaning beyond noting an id is returned; it does not explain the dry_run preview semantics in its own 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 and resource ('Start exporting a workbook') and its immediate return value ('return the id of the export'). It also names the two follow-up siblings (workbookexports_status_get, workbookexports_result_get), making it distinguishable from those, though it doesn't contrast with other *start tools like workbookimports_start.

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

Usage Guidelines4/5

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

Explicitly describes the usage flow: call this, then poll workbookexports_status_get until status is 'success', then call workbookexports_result_get. That gives clear when-to-use guidance for the follow-ups. It lacks explicit exclusions, e.g., when to prefer workbookexports_cancel or how to handle failures.

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