Skip to main content
Glama

Create DataLens embed

datalens_embeds_create

Create an embed for a DataLens entry using a workbook embedding key and return it. Configure signed, unsigned, and public parameters plus export settings; a dry run shows the request without writing.

Instructions

Embed an entry and return the embed.

The key for embedding is one of the workbook the entry lies in (embeddingsecrets_list).

Grants access: a client that honours the mark asks a person on every call.

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": {
      "title": "<title>",
      "embedding_secret_id": "<embedding_secret_id>",
      "entry_id": "<entry_id>",
      "public_params_mode": "<public_params_mode>",
      "settings": "<settings>"
    },
    "name": "datalens_embeds_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe name of the embed.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
deps_idsNoThe entries the embedded one depends on.
entry_idYesThe entry to embed.
settingsYesThe settings of the embed; an empty object is valid.
private_paramsNoThe parameters that go signed, inside the token.
unsigned_paramsNoThe parameters a link may carry unsigned.
public_params_modeYesWhether the default mode of parameters is on.
embedding_secret_idYesThe key for embedding that signs its links.

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

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

The annotations already declare that this is a non-read-only, non-idempotent, open-world, non-destructive operation. The description adds a genuine access-control trait beyond them: the resulting embed grants access, and 'a client that honours the mark asks a person on every call' — an important consent/auth behavior an agent could not infer from the annotations. The phrasing is cryptic, but the disclosure itself is substantive.

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, front-loaded with the action, so nothing is padded. But the second sentence is grammatically broken ('one of the workbook the entry lies in'), and the third is elliptical enough that an agent may misread it. The content earns its place, but the expression is muddled.

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 9 parameters, 5 required, a nested settings object, and no output schema, the description should say more about what the created embed contains and how it is used. It covers the prerequisite key and the access-granting behavior, but 'return the embed' leaves the result shape undefined, and nothing is said about dry_run or deps_ids beyond the schema.

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 description coverage is 100%, so the baseline is 3. The description still adds a cross-parameter constraint not expressed in the schema: the embedding_secret_id must be a key of the workbook in which entry_id lives. That is meaningful guidance beyond field-level descriptions.

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 gives a specific verb and resource: 'Embed an entry and return the embed.' That is clearly distinct from sibling operations like datalens_embeds_list, datalens_embeds_update, and datalens_embeds_delete. It never explicitly contrasts itself with those siblings, though, and 'return the embed' is vague about what is actually produced.

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?

It states a real prerequisite: the embedding secret must be one belonging to the workbook that contains the entry, and it points to embeddingsecrets_list as the source of such keys. That is useful context for choosing the right inputs. However, it gives no explicit when-to-use or when-not-to-use guidance relative to embeds_update or embeds_list, so usage must be inferred.

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