Skip to main content
Glama

dataartsinsight__CreateAndUpdatePermission

Create or update dataset permission rules in DataArts Insight, including row-level conditions and column masking, to control which users and groups can access data.

Instructions

[DATAARTSINSIGHT] 配置数据集权限

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": {
      "dataset_id": "<dataset_id>",
      "display_fields": "<display_fields>",
      "id": "<id>",
      "is_open": "<is_open>",
      "name": "<name>",
      "permission_type": "<permission_type>",
      "project_id": "<project_id>",
      "rule_content": "<rule_content>",
      "rule_scope": "<rule_scope>",
      "rule_type": "<rule_type>",
      "rule_user": "<rule_user>"
    },
    "name": "dataartsinsight__CreateAndUpdatePermission"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes规则ID
nameYes规则名称
is_openYes当前规则是否生效
rule_typeYes规则类型:
rule_userYes生效用户或用户组列表。
dataset_idYes数据集ID
project_idYes项目ID
rule_scopeYes规则范围:ALL:全部用户生效;SPECIFIED:指定用户生效;SPECIFIED_NOT:指定用户不生效。
rule_contentYes规则条件详情
display_fieldsYes用户、用户组、字段ID和名称映射关系
permission_typeYes权限类型:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 disclosure burden, yet it reveals nothing about behavior: not whether existing rules with the same id are overwritten, whether row-level and mask rules coexist on the same dataset, what permissions the caller needs, or whether changes are reversible. The word 配置 signals a mutation, but the destructive/overwrite semantics of an upsert on an 11-field required payload are left entirely unexplained.

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 text is a single short clause with no filler, so it is concise, but it is concise to the point of being uninformative and has no internal structure (no differentiation of create vs update, no note on required context). The '[DATAARTSINSIGHT]' prefix is namespacing noise rather than useful content.

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?

For an 11-required-parameter mutation tool with deeply nested condition trees, no annotations, and no output schema, the description is far too thin. An agent would have to reverse-engineer the create-vs-update semantics, the row/column distinction between rule_content and rule_user, and the id allocation contract entirely from the schema.

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 nested properties (rule_scope, rule_type, is_open, rule_user, rule_content, display_fields) are all individually documented, so the baseline of 3 applies. The description contributes no additional meaning about parameter interactions — for example, that rule_scope=SPECIFIED requires rule_user, or which rule_content fields apply to row rules versus masking rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb+resource pair ("配置数据集权限" / configure dataset permission), so the general domain is clear. But it is generic: it never clarifies that this is an upsert (the name says CreateAndUpdate), nor does it distinguish the tool from near neighbors like UpdatePermissionConfig, ListPermission, or ListPermissionConfig. An agent could not tell from this sentence alone whether a call creates, replaces, or merges a rule.

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 UpdatePermissionConfig or SaveOrUpdateAuthProperties, and no mention of preconditions such as the dataset/project needing to exist or the rule ID needing to be pre-allocated. The only implied usage is 'you want to configure a dataset permission', which adds nothing over the name.

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