Skip to main content
Glama

aom__UpdateActionRule

Modifies an AOM alarm action rule to update notification settings, rule type, SMN topics, message template, description, time zone, or sub-account assignment for a project.

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": {
      "notification_template": "<notification_template>",
      "project_id": "<project_id>",
      "rule_name": "<rule_name>",
      "smn_topics": "<smn_topics>",
      "type": "<type>",
      "user_name": "<user_name>"
    },
    "name": "aom__UpdateActionRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
descNo规则描述。规则描述长度为0到1024个字符,并且只能是数字、字母、特殊字符(_*)、空格和中文组成,不能以下划线开头和结尾。
typeYes规则类型。"1":通知,"2":用户
rule_nameYes规则名称
time_zoneNo时区
user_nameYes子账号名称
project_idYes项目ID
smn_topicsYesSMN主题信息,不能大于5
create_timeNo创建时间
update_timeNo修改时间
notification_templateYes消息模板

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, and it discloses nothing beyond the bare mutation. It does not say whether the update is a full replacement (6 of 10 parameters are required, which strongly implies fields not supplied are overwritten), whether permissions or an existing rule are required, or whether changes are reversible.

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 single 12-character sentence is front-loaded and contains no filler, but it is under-specified rather than concise. There is no structure to speak of, and none of the space saved buys useful guidance.

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 10-parameter mutation with 6 required fields, no annotations, and no output schema, the description should carry substantial weight. Instead, it says nothing about destructive potential, full-replacement semantics, or the response, so an agent cannot safely invoke it from the definition alone.

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%, with each of the 10 parameters documented in the schema, including enum meanings for 'type' and nested SMN topic fields. The description adds no meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('修改告警行动规则' — modify alarm action rule), so the basic operation is identifiable. However, it offers zero differentiation from close siblings such as aom__UpdateAlarmRule, aom__UpdateEventRule, or aom__AddActionRule, so an agent must guess which update tool applies.

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?

No when-to-use guidance whatsoever: no prerequisites, no statement about which rules may be updated, and no pointer to an alternative such as aom__ShowActionRule for reading first or aom__AddActionRule for creation. The name is the only usage signal.

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