Skip to main content
Glama

Create DataLens dashboard

datalens_dashboards_create

Create a DataLens dashboard with its workbook, name, data, and meta, returning the new dashboard ID. Use dry_run to preview the request before any write.

Instructions

Create a dashboard and return it with its id.

data needs counter, salt, settings and tabs; a tab may be empty. entry.meta must be an object, {} when empty: without it DataLens answers 400 entry.meta: expected record, received undefined.

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": {
      "entry": "<entry>"
    },
    "name": "datalens_dashboards_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
entryYesThe new dashboard: where it lies (`workbookId`, `name`), `data` and `meta`. Its schema is not listed here: read `DashboardCreate` with schema_get(service="datalens", name="DashboardCreate"), then the definitions it refers to.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).

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

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false, so the mutation profile is covered by structured data. The description adds genuinely non-structured behavior: the call returns the created dashboard with its id, and omitting entry.meta produces a specific 400 "expected record, received undefined" response. It says nothing about permissions or what a non-dry_run failure does to partial state, keeping it short of a 5.

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?

Front-loaded purpose sentence, then compact constraint clauses in the order an agent needs them (data, then meta). The quoted 400 error earns its space because it is a concrete, non-obvious failure mode; wording is slightly telegraphic but never padded.

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 create tool with a nested externally-defined schema and no output schema, the description does the right things: it tells the agent where to read the entry schema (schema_get on DashboardCreate), flags the mandatory data members and the meta edge case, and states what comes back (the dashboard with its id). Missing only cross-resource prerequisites (workbook existence, permissions) to be fully self-sufficient.

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 baseline is 3 — but the entry object's real shape is only a pointer to an external ycli model (DashboardCreate, fetched via schema_get), so the description carries real explanatory weight. It names the required members of data (counter, salt, settings, tabs), notes a tab may be empty, and states entry.meta must be an object ({} when empty), none of which the schema spells out. It stops short of describing how those fields interrelate.

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?

Specific verb+resource: "Create a dashboard and return it with its id" — unambiguous about both the action and the return value. It does not, however, name a sibling (e.g. datalens_dashboards_update or tracker_dashboards_create) to say what it is not, so differentiation relies on the tool name alone.

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?

Usage is only implied by the verb: an agent infers 'use this to make a new dashboard.' There is no explicit when-to-use/when-not, no mention of prerequisites such as an existing workbookId, and no reference to the update or workbooks_create alternatives.

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