Skip to main content
Glama

List DataLens REST catalogs

datalens_restcatalogs_list
Read-onlyIdempotent

List DataLens REST catalogs with auto-pagination, filters, sorting, and optional permission details so you can inspect available catalogs or resume long results.

Instructions

The REST catalogs of the DataLens instance, auto-paginated.

Experimental in the DataLens API. An instance with none answers an empty list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "datalens_restcatalogs_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 catalogs to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
filterNoConditions such as ``name="…"``; only matching catalogs are kept.
sort_byNoThe field to sort by.
reverse_orderNoSort the other way round.
include_permissionsNoAlso say what the caller may do with it.
cloud_environment_idNoOnly the catalogs of this cloud environment.

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 catalogs to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max catalogs 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

B3.4/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 the safety profile is covered. The description adds real context beyond that: the endpoint is experimental in the DataLens API, and an instance with no catalogs returns an empty list rather than an error, plus it flags auto-pagination. Return shape and permission semantics (despite the include_permissions param) remain undisclosed.

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?

Three compact sentences, front-loaded with the resource identity, then the stability caveat, then the empty-result behavior. Nothing is padded, though the second and third sentences could be merged without loss.

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?

Adequate for a read-only list tool with fully documented parameters and no output schema, but it never says what a catalog is or what a returned record contains, and it does not explain the interaction between filter/sort and the pagination token. Given 8 parameters and an openWorld read, an agent still has to infer a fair amount.

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 every one of the 8 parameters already carries its own documentation, including the all/next/limit pagination contract. The description adds only the generic 'auto-paginated' notion and no field-specific meaning, so the 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?

Names the specific resource (REST catalogs of the DataLens instance) and the implicit list operation, which is enough to separate it from datalens_restcatalogs_create and the other *_list siblings. It does not explicitly name or contrast any alternative, so it falls short of a 5.

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?

Gives no when-to-use or when-not-to-use guidance relative to alternatives such as datalens_entries_list or datalens_cloudenvironments_list, which an agent could easily confuse with catalog listing. Only the pagination remark ('auto-paginated') hints at how to drive the call, and that is restated more precisely in the schema.

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