Skip to main content
Glama

dsc__DeleteRule

Deletes a specified sensitive data identification rule using its project ID and rule ID to manage Huawei Cloud DSC detection policies.

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>",
      "rule_id": "<rule_id>"
    },
    "name": "dsc__DeleteRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes规则ID
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it delivers only the bare fact that this deletes. It says nothing about irreversibility, whether rules in use can be deleted, required permissions, or what happens to dependent scan jobs — all critical for a destructive 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?

One short sentence with zero padding, and the action is front-loaded. It is efficient, though the bracketed [DSC] prefix adds little for an agent already scoped to this server.

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?

For a destructive, non-read-only tool with no annotations and no output schema, the definition is far too thin: no confirmation semantics, no failure behavior, no side effects. An agent cannot assess risk or predict the result from this text.

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% (both project_id and rule_id documented with in:path), so the schema already carries parameter meaning. The description adds nothing beyond that, which is the expected baseline when the schema is complete.

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 specific verb+resource in Chinese: delete a sensitive data identification rule (删除...敏感数据识别规则). That is clearly distinct from a rule-group operation, though it never explicitly names dsc__DeleteRuleGroup as the sibling to avoid.

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 guidance on when to use this versus dsc__DeleteRuleGroup or dsc__ChangeRule, no prerequisites, and no stated exclusions. The only implied usage is 'you have a rule to remove', which is inferred rather than stated.

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