Skip to main content
Glama

Change the roles on a DataLens collection

datalens_collections_access_bindings_update

Update access bindings for a DataLens collection by adding or removing roles; any roles not specified remain unchanged.

Instructions

Give or take away roles on a collection; the roles not named stay as they are.

Grants access: a client that honours the mark asks a person on every call.

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": {
      "collection_id": "<collection_id>",
      "deltas": "<deltas>"
    },
    "name": "datalens_collections_access_bindings_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
deltasYesThe roles to add (`ADD`) and remove.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
collection_idYesCollection id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  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 readOnly=false, destructive=false, idempotent=false, and openWorld=true. The description adds useful partial-update semantics by noting that roles not named remain unchanged. However, the sentence about granting access and 'a client that honours the mark asks a person on every call' is cryptic and does not clearly explain authorization or confirmation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is concise and front-loads the core behavior. The second sentence is short but poorly structured and ambiguous, which weakens clarity rather than adding usable context. It is appropriately sized overall, but not every sentence clearly earns its place.

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 three-parameter mutation tool with annotations and full schema coverage, the definition covers the core operation and partial-update semantics. It still lacks usage guidance relative to siblings and does not clarify the confusing authorization note. The dry_run behavior is left to the schema, which is acceptable given the schema description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all three parameters. The description adds meaning beyond the schema by clarifying that the deltas are incremental: roles not named in the request are left as they are. It does not elaborate on dry_run or collection_id, but those are adequately covered by the schema.

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 specific verb and resource: giving or taking away roles on a collection. The clause 'the roles not named stay as they are' clarifies the scope of the update. It does not explicitly differentiate this tool from sibling access-binding or collection-update tools, 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?

The description does not state when to use this tool versus alternatives such as listing access bindings or updating the collection itself. Usage is only implied by the verb 'give or take away roles'. No exclusions or prerequisites are provided.

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