Skip to main content
Glama

aom__UpdateEventRule

Updates Huawei Cloud AOM event alarm rules by modifying trigger policies, notification actions, enabled status, and SMN topics to align alerting with monitoring needs.

Instructions

[AOM] 更新事件类告警规则。

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": {
      "action_rule": "<action_rule>",
      "alarm_type": "<alarm_type>",
      "create_time": "<create_time>",
      "enable": "<enable>",
      "metadata": "<metadata>",
      "name": "<name>",
      "project_id": "<project_id>",
      "trigger_policies": "<trigger_policies>",
      "user_id": "<user_id>"
    },
    "name": "aom__UpdateEventRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes规则名称。规则名称包含大小写字母,数字,特殊字符(_-)和汉字组成,不能以特殊字符开头或结尾,最大长度为100。
enableYes规则是否启用
topicsNosmn信息
user_idYes用户项目id
metadataYes源数据
migratedNo是否迁移到2.0
alarm_typeYes告警类型。notification:直接告警。denoising:告警降噪。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
action_ruleYes告警行动规则
create_timeYes创建时间
descriptionNo规则描述。描述包含大小写字母,数字,特殊字符(_-<>=,.)和汉字组成,不能以下划线、中划线开头结尾,最大长度为1024。
event_namesNo事件名称
update_timeNo更新时间
inhibit_ruleNo告警抑制规则
route_group_ruleNo告警分组规则
trigger_policiesYes触发策略
resource_providerNo事件源

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Update' implies mutation, but the description does not explain whether this replaces the rule, what permissions are required, what happens to omitted fields, or what is destroyed or overwritten.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence with no wasted words, but it is under-specified rather than appropriately concise for a mutation tool with 17 parameters and 9 required fields. There is no structure beyond the bare purpose statement.

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?

This is a complex update operation with 9 required parameters, nested policy objects, no annotations, and no output schema. The description provides no information about required fields, update semantics, side effects, permissions, or return behavior, leaving it completely inadequate for safe invocation.

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 schema already documents all 17 parameters in detail. The description adds no additional parameter meaning, which is acceptable at the baseline for high schema coverage but does not compensate for the complex nested and required fields.

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: '更新' (update) '事件类告警规则' (event alarm rule). It is clear what the tool does, but it does not distinguish this from closely named siblings such as UpdateAlarmRule, AddOrUpdateMetricOrEventAlarmRule, or AddEvent2alarmRule.

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 tool versus alternatives, no mention of prerequisites, and no exclusions. The agent must infer usage entirely from the tool name and schema.

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