Skip to main content
Glama

List the roles on a DataLens collection

datalens_collections_access_bindings_list
Read-onlyIdempotent

List access bindings for a DataLens collection to see which users have which roles, optionally including inherited roles, with automatic pagination.

Instructions

Who has which role on a collection, auto-paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax subjects to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS).
collection_idYesCollection id.
get_inherited_bindingsNoAlso list the roles inherited from above.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=true, openWorldHint=true, and idempotentHint=true, so the safety profile is covered. The description adds only one behavioral detail beyond that: that results are 'auto-paginated'. It does not explain pagination mechanics or interaction with the limit parameter.

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 clause with no wasted words, front-loading the core question and appending the pagination behavior. It is efficient, though arguably terse for the tool's role.

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 simple read-only list operation, the description combined with annotations and a fully documented schema gives the agent enough to call it correctly. The lack of a return-shape description is mitigated by the straightforward nature of the tool, though 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%, so all three parameters are documented in the schema. The description adds no parameter-level meaning beyond what the schema already provides, making the baseline 3 appropriate for high-coverage schemas.

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 states a clear resource and outcome: querying role assignments on a collection. It distinguishes from sibling datalens_collections_access_bindings_update by implication of listing, but never explicitly names alternatives or scopes like collection vs. workbook vs. shared entry.

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?

No when-to-use guidance is provided. It does not state prerequisites, when to prefer this over sibling list tools such as datalens_workbooks_access_bindings_list, or any exclusion conditions.

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