UpdateDataQualityRule

更新质量规则

Server Alibabacloud Dataworks alibabacloud-dataworks-mcp-server
Category Write
Risk class Medium
Parameters 102 required

What UpdateDataQualityRule does on Alibabacloud Dataworks

AI agents use UpdateDataQualityRule to create or update resources in Alibabacloud Dataworks — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Alibabacloud Dataworks environment.

ParameterTypeRequiredDescription
Id string | number Yes 规则ID
Name string 规则名称,数字、英文字母、汉字、半角全角标点符号组合,最长255个字符
Enabled boolean 规则是否启用
Severity string 规则对于业务的等级(对应页面上的强弱规则),可选的枚举值:- Normal- High
ProjectId number Yes DataWorks工作空间的ID
Description string 规则描述信息,最长500个字符
TemplateCode string 规则所引用的规则模板唯一标识
ErrorHandlers array 质量规则校验问题处理器列表
CheckingConfig object 样本校验设置
SamplingConfig object 样本采集所需的设置

Parameters from the server's own tool schema.

Why UpdateDataQualityRule needs a policy

An AI agent can call UpdateDataQualityRule faster than any human can review — one bad instruction and it creates or modifies resources in Alibabacloud Dataworks by the hundred, each call as confident as the last.

Risk signalsAccepts freeform code/query input (CheckingConfig.Thresholds.Expected.Expression) · High parameter count (31 properties)

Questions about UpdateDataQualityRule

What does the UpdateDataQualityRule tool do? +

更新质量规则. It is categorised as a Write tool in the Alibabacloud Dataworks MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does UpdateDataQualityRule accept? +

UpdateDataQualityRule accepts 10 parameters: Id, Name, Enabled, Severity, ProjectId, Description, TemplateCode, ErrorHandlers, CheckingConfig, SamplingConfig. Required: Id, ProjectId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on UpdateDataQualityRule? +

Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for UpdateDataQualityRule: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.

What risk level is UpdateDataQualityRule? +

UpdateDataQualityRule is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit UpdateDataQualityRule? +

Yes. Add a rate_limit block to the UpdateDataQualityRule rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block UpdateDataQualityRule completely? +

Set action: deny in the PolicyLayer policy for UpdateDataQualityRule. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides UpdateDataQualityRule? +

UpdateDataQualityRule is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.