Skip to main content
Glama

List the entries of a DataLens workbook

datalens_workbooks_entries_list
Read-onlyIdempotent

Lists the connections, datasets, charts and dashboards inside a DataLens workbook, with filtering by kind, name or owner and pagination for long results.

Instructions

What a workbook holds: connections, datasets, charts and dashboards, auto-paginated.

scope says the kind of each entry; its id opens it with the tools of that kind. Capped at the configured item cap unless limit 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": {
      "workbook_id": "<workbook_id>"
    },
    "name": "datalens_workbooks_entries_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
limitNoMax entries to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
scopeNoKeep only these kinds of entries.
filtersNoKeep the entries whose name has a text.
only_myNoKeep only what the caller created.
order_byNoWhat to sort by and in which direction.
created_byNoKeep only what this user created.
workbook_idYesWorkbook id.
include_permissions_infoNoAlso say what the caller may do with it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max entries to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max entries to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS)."
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. Addedv0.122.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds real behavioral context beyond them: results are auto-paginated, capped at a configured item cap unless `limit` overrides it, and entry ids feed into scope-specific tools.

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?

Two short paragraphs, front-loaded with what is returned before the pagination and scope notes. Slight terseness ('What a workbook holds') but no wasted sentences.

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?

For a 10-parameter listing tool with no output schema, the description covers the essentials (content kinds, cap, scope routing) but says nothing about return shape (id/name/scope fields) or the filtering/sorting options that dominate the parameter list, leaving the agent to rely on 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 parameters like `next`, `filters`, `order_by`, `only_my` and `include_permissions_info` are already fully documented. The description only re-explains `scope` and the cap/`limit` relationship, adding little beyond the schema's own wording.

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+resource: lists what a workbook holds, and enumerates the entry kinds (connections, datasets, charts, dashboards). The workbook scoping distinguishes it from the broader datalens_entries_list, though it does not name siblings to sharpen the contrast.

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 implied through 'auto-paginated' and 'its id opens it with the tools of that kind,' which tells the agent this is a discovery step before kind-specific tools. No explicit when-not or named alternative (e.g. datalens_entries_list for cross-workbook queries) is given.

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