Skip to main content
Glama

dsc__AddRuleGroup

Creates a sensitive data scan rule group from a specified group name and list of rule IDs to organize DSC scanning rules.

Instructions

[DSC] 根据指定的规则组名称和扫描规则列表创建敏感数据扫描规则组

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": {
      "project_id": "<project_id>"
    },
    "name": "dsc__AddRuleGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo规则组ID
categoryNo规则类别,内置规则(BUILT_IN)或自建规则(BUILT_SELF)
rule_idsNo包含的规则ID列表
group_descNo规则组描述
group_nameNo规则组名称
project_idYes项目ID
default_statusNo是否默认规则组

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 behavioral burden. 'Create' implies mutation, but nothing is said about required permissions, what happens when a group name already exists, whether default_status changes other groups, or what the call returns. The mention of the rule list partially hints at composition, but the disclosure is thin for a write tool with zero annotation coverage.

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?

One front-loaded sentence with no filler and the resource/verb stated early. It is appropriately sized but underspecified rather than verbose.

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?

A 7-parameter mutation tool with no annotations and no output schema needs considerably more: preconditions, duplicate-name behavior, and the role of project_id and default_status. The description explains only two of the seven inputs and no side effects, so an agent could call it but not predict the outcome.

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%, so the baseline is 3. The description adds meaning by tying group_name and rule_ids together as the defining inputs of the operation, but it says nothing about category, default_status, id, or project_id, all of which are documented only in the schema.

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

Purpose4/5

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

The description states a specific verb and resource: create a sensitive data scanning rule group (敏感数据扫描规则组). It also names the two driving inputs (group name and rule list), which distinguishes it from sibling DeleteRuleGroup/ListRuleGroups. It stops short of explicitly contrasting with dsc__AddRule or the dataartsstudio rule-group siblings.

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 prerequisites, and no alternative named. An agent gets no help deciding between creating a group here versus using dsc__AddRule first or dsc__ListRuleGroups to check for an existing group.

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