Skip to main content
Glama

dataartsstudio__UpdateSecurityDynamicMaskingPolicy

Update a dynamic data masking policy for a DataArts Studio table, defining column-level masking rules and algorithm details to protect sensitive data.

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>",
      "cluster_name": "<cluster_name>",
      "conn_id": "<conn_id>",
      "conn_name": "<conn_name>",
      "database_name": "<database_name>",
      "datasource_type": "<datasource_type>",
      "id": "<id>",
      "name": "<name>",
      "policy_list": "<policy_list>",
      "project_id": "<project_id>",
      "table_name": "<table_name>"
    },
    "name": "dataartsstudio__UpdateSecurityDynamicMaskingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes脱敏策略id
nameYes策略名称。英文和汉字开头, 支持英文、汉字、数字、下划线, 2-64字符。
usersNo用户列表,用户名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置),例如:"user1,user2"。
conn_idYes数据连接id,获取方法请参见[查询数据连接列表](ListDataconnections.html)。
table_idNo数据表id,获取方法请参见[获取数据源中的表](getDataTables.html)。
conn_nameYes数据连接名称,获取方法请参见[查询数据连接列表](ListDataconnections.html)。
cluster_idYes集群id。请于集群管理页面查看集群ID信息。。
project_idYesproject id
table_nameYes数据表名称, 获取方法请参见[获取数据源中的表](getDataTables.html)。
policy_listYes动态数据脱敏策略列表。
schema_nameNoDWS数据源的模式名称。
user_groupsNo用户组列表,用户组名称逗号分隔(非必填项,但用户、用户组必须二选其一进行配置)。例如:"userGroup1,userGroup2"。
cluster_nameYes集群名称。请于集群管理页面查看集群名称信息。。
database_nameYes数据库名称。获取方法请参见[获取数据源中的表](getDataTables.html)。
datasource_typeYes数据源类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing beyond the verb already in the name. It does not disclose whether the update is a full replacement of policy_list, whether omitted fields are cleared, required permissions, or any side effects — critical for a mutation touching 15 parameters including user/group access lists.

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

Conciseness2/5

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

It is a single short phrase with no wasted words, but the sizing reflects under-specification rather than efficiency for a tool with 11 required parameters. Nothing is front-loaded because there is essentially nothing to front-load.

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

Completeness1/5

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

For a high-complexity mutation tool with 15 parameters, 11 of them required, no annotations, and no output schema, a one-line restatement of the name is completely inadequate. The agent has no description-level information about update semantics, authorization, or return behavior.

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%, including nested policy_list field descriptions and the datasource_type enum, so parameter meaning is already fully documented by the schema. The description contributes nothing additional, which meets the baseline for high-coverage schemas.

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

Purpose2/5

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

The description '(更新动态数据脱敏策略)' is essentially a Chinese restatement of the tool name UpdateSecurityDynamicMaskingPolicy; it adds no scope, target resource detail, or contrast with siblings such as CreateSecurityDynamicMaskingPolicy or ShowSecurityDynamicMaskingPolicy. An agent learns only that this is an update on a dynamic masking policy.

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, no mention of the create/show/list siblings, and no prerequisites. The agent must infer from the name alone that this must be used to modify an existing policy rather than to create one.

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