Skip to main content
Glama

List the objects of a DataLens storage bucket

datalens_cloudenvironmentstorage_bucket_objects_list
Read-onlyIdempotent

Lists object paths in a cloud environment storage bucket with auto-pagination, prefix filtering, and continuation tokens for long listings.

Instructions

The paths of the objects in a cloud environment's storage bucket, auto-paginated.

Experimental in the DataLens API and written from its document: not measured. An environment nothing knows answers 403 Permission denied, not 404: it is not a lack of rights.

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": {
      "cloud_environment_id": "<cloud_environment_id>"
    },
    "name": "datalens_cloudenvironmentstorage_bucket_objects_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 paths to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
prefixNoOnly the paths that start with this.
cloud_environment_idYesId of the cloud environment the bucket belongs to.

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 paths to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max paths 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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description adds genuinely useful behavior beyond them: results are auto-paginated, the tool is experimental and unmeasured, and an unknown environment yields 403 Permission denied rather than 404, which is not a permission issue. That error-semantics note is valuable, though return shape and the details of how pagination advances are left to the schema.

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 sentences, front-loaded with the resource and pagination trait, with zero filler. The phrasing of the 403 sentence is slightly convoluted ('An environment nothing knows answers 403...'), but it still parses and earns its place by flagging a non-obvious error mapping.

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 five-parameter listing tool with full schema coverage and no output schema, the description covers purpose, pagination behavior, experimental status and error semantics adequately. It does not state what fields each returned object carries beyond paths, which is a minor gap given no output schema exists.

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%, including detailed notes on all, next, limit and prefix, so the baseline of 3 applies. The description adds no parameter-level meaning of its own beyond echoing that the listing is paginated.

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?

The description names the resource precisely (the paths of the objects in a cloud environment's storage bucket) and notes it is auto-paginated, so an agent knows it is a read/list operation. It does not explicitly contrast with the sibling download_url_create, object_metadata_get or upload_url_create tools, but the resource scope is specific enough to separate them in practice.

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 statement of when to use this instead of a sibling such as object_metadata_get, nor any prerequisite (e.g. needing a known bucket/environment). The only situational hint, taking a long listing in pieces via limit/next, lives in the schema rather than the description, leaving the description without usage routing.

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