Skip to main content
Glama

aom__DeleteMetricOrEventAlarmRule

Deletes specified AOM 2.0 metric or event alarm rules by rule name for a Huawei Cloud project, supporting cleanup of obsolete alerts in the CN East-Shanghai1 region.

Instructions

[AOM] 删除AOM2.0指标类或事件类告警规则。(注:接口目前开放的region为:华东-上海一)

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

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
alarm_rulesYes告警规则名称列表。

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, and it only discloses the region restriction (East China - Shanghai 1). It never states that deletion is irreversible, what happens when some names in the list do not exist, whether the operation is atomic across the batch, or what permissions the caller needs.

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?

Two short sentences, front-loaded with the action and resource, with the region caveat correctly subordinated in parentheses. Nothing is padded, though the terseness comes partly from omission rather than 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?

For a destructive, unannotated batch-delete with no output schema, the definition is thin: no irreversibility warning, no partial-failure or not-found semantics for the name list, and no indication of prerequisites beyond the region. An agent could invoke it but could not predict the consequences of a partially invalid name list.

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 both project_id and alarm_rules are already documented in the schema, and the description adds no format, matching, or batch semantics beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 clear verb+resource pair ("删除" / delete, "AOM2.0指标类或事件类告警规则" / metric- or event-type alarm rules) and scopes the resource to the 2.0 rule family. The "AOM2.0" qualifier implicitly separates it from the legacy aom__DeleteAlarmRule, but it never names a sibling or states the distinction outright.

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 pick this tool over aom__DeleteAlarmRule, aom__DeleteAlarmRules, aom__DeleteEvent2alarmRule or the other delete-flavored siblings. The only contextual note is a region availability remark, which is useful but is not usage guidance.

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