Skip to main content
Glama

dataartsstudio__CreateSecurityDataClassificationRule

Creates a data classification recognition rule to identify sensitive data and assign a secrecy level using regular expressions, built-in rules, or custom logic.

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

Input Schema

NameRequiredDescriptionDefault
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

C2.5/5.0
Behavior2/5

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

No annotations at all, so the description carries the full behavioral burden. It says nothing about permissions/auth requirements, whether the rule is enabled by default, what the interaction is between rule_type (CUSTOM/BUILTIN) and builtin_rule_id, whether expressions are mandatory for REGULAR methods, or what the response returns. For an 11-parameter creation tool this is a substantial gap.

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

Conciseness4/5

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

Extremely short – a single phrase. Nothing is wasted, but it's arguably too terse rather than verbose; front-loading is fine but there is nothing to 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?

A complex 11-parameter mutation tool with no annotations, no output schema, and a description of five words. An agent cannot tell what the created rule's required field semantics mean, whether the call is destructive/idempotent, or how to handle the enum combinations. Completely inadequate relative to complexity.

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 coverage is 100%, so all 11 parameters are documented in the schema (albeit in terse Chinese labels). The description adds nothing beyond the title – it doesn't explain the relationships between method/rule_type/expression fields, which would be the most valuable addition. Baseline 3 applies when schema is complete.

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?

Description is "[DATAARTSSTUDIO] 创建识别规则" – a verb+resource (create recognition rule), which is specific enough to identify the operation. However, it doesn't distinguish this from siblings like CreateSecurityDataClassificationCombineRule or CreateSecurityDataClassificationRuleGroup, which are also creation tools in the same family. The English scaffolding adds little.

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?

No when-to-use guidance, no prerequisites, no mention of alternatives or when a combine rule or rule group would be the right sibling instead. The agent must infer usage entirely from the name and schema.

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