Skip to main content
Glama

List the roles on a DataLens shared entry

datalens_sharedentries_access_bindings_list
Read-onlyIdempotent

Lists who has which role on a shared DataLens entry, with optional inherited roles and pagination via limit/next. Use it to audit or review access permissions.

Instructions

Who has which role on a shared entry, auto-paginated.

An entry that lies in a workbook, or an id nothing knows, answers an empty list.

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": {
      "entry_id": "<entry_id>"
    },
    "name": "datalens_sharedentries_access_bindings_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 subjects to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
entry_idYesId of a shared entry: one that lies in a collection.
get_inherited_bindingsNoAlso list the roles inherited from above.

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

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds genuinely new behavior: results are auto-paginated, and non-shared or unknown ids produce an empty list rather than an error — important for interpreting a null result.

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 purpose, with no filler. The phrasing "an id nothing knows" is slightly cryptic but compact; nothing needs trimming.

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?

With five parameters, no output schema, and full schema descriptions, the definition covers the main ambiguity an agent faces: why a listing might be empty. It does not describe what a binding contains (subject, role fields), which would round out expectations for the untagged return value.

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% and the pagination parameters (all, limit, next) are fully documented in the schema itself. The description only echoes the pagination trait via "auto-paginated" and adds no meaning for entry_id or get_inherited_bindings, 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?

"Who has which role on a shared entry" is a precise verb+resource statement, and "auto-paginated" adds the delivery shape. The note that a workbook entry returns an empty list implicitly separates this from the workbook/collection bindings siblings, though no sibling is named.

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?

The second sentence gives an implicit when-not signal: entries inside workbooks or unknown ids yield an empty list, so the agent learns this is only for collection-style shared entries. It stops short of redirecting to the workbook/collection variants or stating prerequisites.

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