Skip to main content
Glama

Get a user's permissions on DataLens entries

datalens_audit_entry_permissions_get
Read-onlyIdempotent

Check a user's permissions on specified DataLens entries: execute, read, edit, or admin. Provide the user ID and entry IDs to audit access.

Instructions

What one user may do with each entry: execute, read, edit, admin, by entry id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesThe user's id, as ``createdBy`` of an entry gives it.
entry_idsYesThe ids of the entries to ask about.

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, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds value by enumerating the permission levels returned (execute, read, edit, admin), but says nothing about result shape, how absent permissions are represented, or the one-user-per-call scope.

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 compact sentence with the key scope (one user, per-entry, by id) front-loaded and no wasted clauses. It is terse to the point of being slightly oblique, but nothing is extraneous.

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 tool with two fully documented parameters and annotations covering safety, the description is adequate; it even supplies the set of permission values an agent needs to interpret the response. No output schema exists, yet the return semantics are largely conveyed.

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 coverage is 100%, with both user_id and entry_ids fully documented in the schema. The description only echoes 'by entry id' and adds no syntax or semantic detail beyond the schema, so the baseline of 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?

The description states a specific resource and scope: the permissions ('execute, read, edit, admin') one user has on a set of entries identified by id. This is specific enough to understand the operation, but it does not differentiate from close siblings such as datalens_entries_permissions_get or datalens_permissions_get_bulk, which an agent must distinguish to pick correctly.

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 when-to-use guidance and no mention of alternatives. With near-duplicate siblings like datalens_entries_permissions_get and datalens_permissions_get_bulk present, the absence of any routing signal is a real gap.

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