Skip to main content
Glama

Get a DataLens dashboard screenshot

datalens_screenshots_dashboard_get
Read-onlyIdempotent

Capture a screenshot of a saved DataLens dashboard and return a file link by default, with options for image format, dimensions, full-page capture, and query parameters.

Instructions

A picture of a saved dashboard, rendered by DataLens: by default a link to its file.

The picture shows the data. DataLens takes about three of these a minute. Experimental.

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": {
      "dash_id": "<dash_id>"
    },
    "name": "datalens_screenshots_dashboard_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
s3NoPut the file in S3 and `data` is its link; the default unless base64.
typeNoThe format of the picture: png (the default), jpeg or jpg.
widthNoThe width of the page in pixels, at most 6000.
base64NoPut the file itself in `data`, base64-encoded: large, ask first.
heightNoThe height of the page in pixels, at most 6000.
dash_idYesThe dashboard to capture.
full_pageNoCapture the whole page, not one screen of it.
query_paramsNoParameters of the page: {"tab": "<tab id>"} picks a tab, {"_theme": "dark"} the dark theme; a dashboard parameter goes by its name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.145.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely new behavioral facts beyond them: the default response is a link to a stored file, throughput is roughly three calls per minute, and the tool is experimental — all of which affect how an agent should plan calls.

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

Conciseness3/5

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

Three short sentences with the purpose front-loaded, but 'The picture shows the data.' is filler that earns no place, and the fragmentary punctuation ('rendered by DataLens: by default a link') makes the return-format point less crisp than it could be.

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?

With eight parameters, full schema coverage, annotations present and no output schema, the description supplies the missing operational context — default output shape, rate ceiling, experimental status. Only the absence of any comparison to the chart-screenshot sibling keeps it from being fully complete.

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 all eight parameters are already documented (width/height caps, formats, s3 vs base64, query_params tab and theme). The description only reinforces the default-output behavior already stated in the s3/base64 schema fields, adding no new parameter meaning.

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 names a specific resource and action: a rendered picture of a saved dashboard, produced by DataLens. The scope ('saved dashboard') distinguishes it implicitly from the chart-screenshot sibling, though it never names or contrasts that sibling explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as the chart screenshot tool. The only usage-adjacent signals ('about three of these a minute', 'Experimental') constrain frequency but do not route the agent between tools.

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