Skip to main content
Glama

aom__ListMetricOrEventAlarmRule

List AOM metric or event alarm rules by project, with filters for name, type, status, severity, cluster, and pagination to inspect alerting configuration.

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

Input Schema

NameRequiredDescriptionDefault
nameNo告警规则名称。
limitNo用于限制本次返回的结果数据条数。
offsetNo分页查询起始位置,为非负整数。
sort_byNo根据告警规则名称或者告警创建时间排序。
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
event_sourceNo事件告警规则事件来源。
event_severityNo事件告警级别。
alarm_rule_typeNo告警规则类型。
prom_instance_idNoPrometheus实例id。
alarm_rule_statusNo告警规则状态。
related_cce_clustersNoCCE集群id。
bind_notification_rule_idNo绑定的告警行动规则名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose that this is a read-only query operation and flags the single supported region, which is genuinely useful behavioral context. However, it says nothing about pagination limits, return shape, or whether filtering fields combine as AND/OR.

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 tool's purpose followed by the region caveat. There is no filler; the parenthetical region note is compact and relevant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter listing tool with no output schema and no annotations, the description covers purpose and region but omits return-value structure, pagination behavior, and filter interaction. The rich schema compensates for parameter semantics, but the agent still lacks a picture of what comes back.

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% and each of the 12 parameters is documented in the schema, so the baseline is 3. The description adds no meaning beyond the schema — it does not explain how name, event_source, alarm_rule_type and the other filters interact, nor how sort_by values map to names versus creation time.

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 — querying the AOM2.0 list of metric-type or event-type alarm rules — which is more precise than a bare 'list alarm rules'. It does not explicitly differentiate itself from close siblings like aom__ListAlarmRule or aom__ListEvent2alarmRule, so it falls short of a 5.

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?

The only guidance offered is the region availability note (East China - Shanghai 1), which is an access constraint rather than when-to-use guidance. It never says when an agent should pick this over aom__ListAlarmRule or aom__ListEvent2alarmRule, nor does it mention prerequisites beyond the required project_id.

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