Skip to main content
Glama

dataartsstudio__BatchCreateSecurityPermissionSetPermissions

Batch-add permissions to a DataArts Studio permission set, specifying permission actions and resource details such as cluster, database, table, and columns for HIVE datasources.

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": {
      "permission_set_id": "<permission_set_id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__BatchCreateSecurityPermissionSetPermissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNourl路径名称, MRS存算分离或者HIVE指定location场景下使用。
dw_idNo数据连接id
auto_syncNo是否自动触发同步, 默认false
namespaceNo命名空间。无效参数,待下线。
cluster_idNo集群id
project_idYesproject id
table_nameNo表名称
column_nameNo列名称
schema_nameNo模式名称
cluster_nameNo集群名称
database_nameNo数据库名称
datasource_typeNo数据源类型, HIVE
permission_typeNo权限类型, DENY, ALLOW
permission_set_idYes权限集id
permission_actionsNo权限操作列表
row_level_securityNo行级策略。无效参数,待下线。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about this being an add-only (non-replacing) operation, the 32-item cap on permission actions, required authorization, or how partial failures in a batch are handled. Only the bare 'batch add' verb hints at mutating 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 single sentence is front-loaded and free of waste, but for a 16-parameter batch mutation it is under-specified rather than appropriately concise. Brevity here costs information rather than saving it.

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?

A 16-parameter batch-write tool with no annotations and no output schema needs more than one sentence, particularly to distinguish additive semantics from the singular and delete siblings. Key operational context an agent would need to call this correctly is absent.

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 16 parameters are documented inline, including the permission_actions enum and the deprecated namespace/row_level_security fields. The description adds no meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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: batch-adding permissions to a permission set (批量添加权限集的权限). An agent can tell this is a bulk write against a permission set. It offers no differentiation from sibling tools such as BatchCreateSecurityPermissionSetMembers or CreateSecurityPermissionSetPermission, so it stops 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?

There is no guidance on when to use this tool versus the singular CreateSecurityPermissionSetPermission or the member-creation siblings, and no stated preconditions. The reader must infer everything about applicability from the name alone.

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