Skip to main content
Glama

sa__DeleteAlertRule

Delete an alert rule from a Huawei Cloud Security Advisor workspace to remove obsolete notifications. Specify the project and workspace IDs to complete removal.

Instructions

[SA] Delete alert rule

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>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__DeleteAlertRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesproject_id
workspace_idYesworkspace_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/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, yet it discloses nothing about irreversibility, permission requirements, cascade effects on alerts or playbooks, or the response. For a destructive delete operation this is a critical gap.

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?

The text is a single fragment with no structure and no front-loaded actionable information. Brevity here reflects under-specification rather than efficiency, and the unexplained '[SA]' prefix consumes part of the already minimal content.

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 destructive delete tool with no annotations, no output schema, and only two path parameters needs substantial description to be safely callable. Nothing about scope, confirmation, side effects, or failure modes is present, so an agent cannot judge the consequences of invoking it.

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 nominally 100%, so the baseline of 3 applies even though the field descriptions just echo the parameter names. The description adds no additional meaning about what project_id and workspace_id identify or how they constrain the deletion.

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?

The description '[SA] Delete alert rule' merely restates the tool name sa__DeleteAlertRule in prose, adding no scope, target, or effect detail. Only the '[SA]' prefix adds anything, and it is an unexplained abbreviation. It does not distinguish this from sibling Delete tools such as sa__DeleteAlert or sa__DeletePlaybookRule.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to delete versus disable (sa__DisableAlertRule) or update an existing rule. No prerequisites, no warnings, and no named alternatives are given, leaving the agent to infer everything from the tool name alone.

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