Skip to main content
Glama

Create DataLens collection

datalens_collections_create

Create a DataLens collection inside another collection or at the root when no parent is given, specifying a title and optional description.

Instructions

Create a collection in another one, or in the root when no parent is given.

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>"
    },
    "name": "datalens_collections_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesTitle of the collection.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
parent_idNoThe collection to put it in; the root when left out.
descriptionNoDescription of the collection.

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
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so safety is covered. The description adds the parent/root placement rule but says nothing beyond the structured fields about duplicate-title behavior, permissions, or failure modes for a non-idempotent write.

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

Conciseness5/5

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

One short sentence with the key scoping rule front-loaded and zero filler. Nothing in it is wasted or out of order.

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?

A simple four-parameter create tool with full schema coverage and safety annotations needs little prose, and the description covers the one non-obvious placement behavior. No output schema exists, but the return value is not described, which is the only minor gap.

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 title, parent_id, description, and dry_run are already documented inline. The description restates the parent_id default-to-root semantics the schema already states, adding no new meaning, so baseline 3 applies.

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?

States a specific verb and resource ("Create a collection") plus a nesting scope rule ("in another one, or in the root"). This distinguishes it from mutation siblings like datalens_collections_update or datalens_collections_move, though it never names them.

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?

Gives one implicit usage condition: omit the parent to create at root. It offers no exclusions or pointers to alternatives such as datalens_collections_move for relocating existing collections, so guidance is only partially covered.

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