Skip to main content
Glama

dataartsstudio__UpdateSecurityDataClassificationRule

Updates an existing DataArts Studio security data classification rule by ID, so you can revise its name, type, secrecy level, category, and matching expressions.

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": {
      "id": "<id>",
      "name": "<name>",
      "project_id": "<project_id>",
      "rule_type": "<rule_type>",
      "secrecy_level_id": "<secrecy_level_id>"
    },
    "name": "dataartsstudio__UpdateSecurityDataClassificationRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes识别规则id
nameYes规则名称
methodNo规则方式, REGULAR, NONE, DEFAULT
rule_typeYes规则类型, CUSTOM, BUILTIN
project_idYesproject id
category_idNo分类ID
descriptionNo规则描述
builtin_rule_idNo内置规则id
secrecy_level_idYes密级ID
column_expressionNo列表达式
commit_expressionNo备注表达式
content_expressionNo内容表达式

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 supplied, so the description must carry the full behavioral burden, and it says nothing. For a mutation tool it never states whether the update is full-replace or partial (relevant given 5 required and 7 optional fields), what permissions are needed, or what happens to unspecified fields.

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?

One short phrase is technically waste-free, but this is under-specification rather than conciseness — there is no front-loaded statement of effect, scope, or return behavior for an agent to anchor on.

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?

With 12 parameters, 5 required, no annotations and no output schema, the description should explain update semantics and side effects but supplies none of it. An agent cannot judge what this call changes or how to handle the required id/project_id path parameters from the description 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% and all 12 parameters carry inline descriptions plus two enums (method, rule_type), so the schema does the explanatory work. The description adds nothing beyond that, which is the baseline 3 case rather than a failure.

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?

"修改识别规则接口" restates the tool name (Update...ClassificationRule) as 'modify recognition rule interface' without adding scope, and the trailing "接口" (interface) is filler. It gives no way to distinguish this from siblings like UpdateSecurityDataClassificationRuleGroup or UpdateSecurityDataClassificationCombineRule.

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 at all: no mention of prerequisites, no condition for choosing this over the RuleGroup or CombineRule update tools, and no note on when an update is preferable to delete-and-recreate via the sibling tools.

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