Skip to main content
Glama

dataartsstudio__ListSecurityRoleActions

Queries the intersection of permissions a role holds for specified databases, schemas, and tables to support access reviews and authorization checks.

Instructions

[DATAARTSSTUDIO] 查询角色对一组库、表的权限交集

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": {
      "cluster_id": "<cluster_id>",
      "database_names": "<database_names>",
      "datasource_type": "<datasource_type>",
      "parent_permission_set_id": "<parent_permission_set_id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__ListSecurityRoleActions"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemasNodws权限涉及 schema,预留字段,在做DWS批量授权时应保持单schema下的批量授权,或者对单库下schema批量授权
cluster_idYes集群id
project_idYesproject id
table_namesNo数据表列表
column_namesNo数据字段列表
database_namesYes目前批量授权只支持单库下的多表授权,或同一集群下个多库授权,区分这两类可通过 传参中tables是否为空来判断
datasource_typeYes数据源类型, HIVE
parent_permission_set_idYes父权限集id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description alone must disclose behavior, and it does not. It never confirms the operation is read-only, says nothing about result size, pagination, or what 'intersection' means when the role holds permissions on only some of the requested resources.

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?

One short, front-loaded sentence with a bracketed source tag and zero filler. It is efficiently structured, though the brevity edges into under-specification that is better scored under completeness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is an 8-parameter bulk-authorization query with five required inputs, no annotations, and no output schema, so the description should explain the intersection semantics and how parent_permission_set_id relates to the returned actions. Instead it provides a single clause, leaving the agent to reconstruct the bulk-grant model from the schema comments alone.

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 the parameter documentation is already carried by the schema, including the single-database versus multi-database bulk-authorization note. The description adds no parameter meaning beyond restating 'a set of databases/tables', 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 gives a specific verb and resource: it queries the permission intersection a role holds over a set of databases/tables. That is distinguishable from a plain permission-set listing. However, it offers no differentiation from siblings such as ListSecurityPermissionSetPermissions or ListSecurityDatasourceActions, which look superficially similar.

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 tool versus alternatives, and no prerequisites or exclusions. An agent has to infer from the name and the 'intersection' wording that this is a bulk multi-resource permission check rather than a single-object lookup.

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