Skip to main content
Glama

Get a preview link of a DataLens HTML page

datalens_htmlpages_preview_url_get
Read-onlyIdempotent

Generate a temporary signed preview URL for a DataLens HTML page. The link stops working after a while.

Instructions

A temporary signed link that shows the page; it stops working after a while.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoLanguage of the preview: `en` or `ru`.
themeNoTheme of the preview.
branchNoThe version to read when no revision is named: `saved` or `published`.
rev_idNoOne revision, as it is; give it or `branch`, not both.
entry_idYesEntry id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.122.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that by disclosing that the link is signed, temporary, and expires ('stops working after a while'), though the TTL is left vague and nothing is said about permissions or the shape of the returned URL.

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?

A single efficient sentence with the key caveat front-loaded and no filler. It is slightly under-sized for a five-parameter tool, but there is no wasted text.

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?

With no output schema, the description usefully characterizes the return value as a signed, expiring link. However, for a tool with five parameters covering language, theme, and revision selection, it omits how the link should be used or how branch/rev_id affect it, leaving the picture only partially 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 five parameters (lang, theme, branch, rev_id, entry_id) are already documented in the schema, including the branch/rev_id exclusivity note. The description adds no parameter meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase describing the artifact ('A temporary signed link that shows the page') rather than stating the action. Combined with the name and title the intent is inferable, but the description itself never says it retrieves/generates a link, and it does nothing to distinguish itself from siblings like datalens_htmlpages_get.

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 guidance, no prerequisites, and no mention of alternatives (e.g., datalens_htmlpages_get vs. this preview tool). The agent must infer usage entirely from the name.

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