Skip to main content
Glama

dsc__DeleteRuleGroup

Deletes a specified DSC scan rule group by its rule group ID and project ID, removing an unneeded scan rule group from the project.

Instructions

[DSC] 根据扫描规则组ID删除指定的扫描规则组

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

Input Schema

NameRequiredDescriptionDefault
group_idYes规则组ID
project_idYes项目ID

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 provided, so the description has to carry the full behavioral-burden. "删除" implies a destructive, likely irreversible mutation, but the description does not say whether it is reversible, what happens to the rules contained in the group, or what permissions are required. It therefore reports only the bare operation.

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?

The description is a single front-loaded sentence that states the operation and the identifying key with no filler. It earns its place, though its brevity partly reflects missing content rather than deliberate economy.

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?

This is a destructive mutation with no annotations and no output schema, so the description should explain the consequences of deletion and the conditions required to proceed. It covers neither, leaving an agent unable to predict side effects, such as whether child rules are removed or whether the operation fails when the group is still in use.

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?

Both parameters are fully documented in the schema at 100% coverage. The description names the rule-group ID but adds no format, sourcing, or constraint details beyond what the schema already supplies, so only the baseline score of 3 applies.

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 gives a concrete verb and resource: delete the specified scan rule group, identified by its rule-group ID. That distinguishes it from dsc__DeleteRule, which operates on individual rules rather than groups. It does not explicitly name any sibling, which keeps it from a 5.

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?

The description gives no guidance on when to use it versus alternatives such as dsc__DeleteRule or any update/change tool. It also does not mention prerequisites, such as whether the group must be empty before deletion, or any conditions under which the call should not be made.

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