Skip to main content
Glama

Create DataLens editor chart

datalens_charts_editor_create

Creates an editor chart from the provided entry configuration and returns its ID, enabling you to add new charts to a workbook or folder.

Instructions

Create a chart of the editor and return it with its id.

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

Input Schema

NameRequiredDescriptionDefault
entryYesThe new chart: where it lies, its kind (`type`) and its code.
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

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds the useful detail that the created chart is returned with its id, but it says nothing about the complex editor entry payload, the dry_run preview mode, or what happens on failure. It adds some context beyond annotations but not rich behavioral detail.

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 short sentence with the action front-loaded and no filler. It is efficient, though the phrasing 'chart of the editor' is slightly unclear and could have used a few more words for precision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a very complex anyOf schema with five chart kinds, a required nested entry object, and no output schema, the description is far too thin. An agent cannot learn from the description which chart type to target or that dry_run exists; nearly all necessary detail lives in the schema.

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 baseline is 3. The description adds no meaning about the 'entry' object or its five kind variants (table_node, d3_node, markdown_node, advanced-chart_node, control_node), nor about dry_run, leaving all semantic work to the schema.

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 uses a specific verb ('Create') and resource ('a chart of the editor') and states the return value (its id). However, 'chart of the editor' is awkward phrasing, and nothing distinguishes this from the sibling editor tools or from datalens_charts_ql_create / datalens_charts_wizard_create, so an agent must infer the difference.

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 mention of when to pick this over the ql or wizard create siblings, and no prerequisites such as which workbook the chart lands in. The only context is implicit in the tool 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