Skip to main content
Glama

aom__ShowActionRule

Retrieves a Huawei Cloud AOM alarm action rule by rule name and project ID so you can inspect its details and configuration.

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

Input Schema

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

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 largely drops it. It does not say what happens when the rule name does not exist (error vs empty), whether the lookup is scoped to the given project_id, what permissions are needed, or what the response contains. Only the read-only nature is weakly implied by 获取.

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?

A single short sentence with the resource and lookup key front-loaded and no filler. The '[AOM]' service tag is minor overhead rather than useful information, which keeps it just below the top mark.

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?

This is a simple two-parameter read tool whose inputs are fully documented by the schema, so little is required. However, with no output schema present, the description should indicate what a successful lookup returns (rule detail fields, or an error on missing rule), and it says nothing about that.

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 parameters (rule_name and project_id) are already fully documented, including the 32-character project id constraint. The description's '通过规则名称' merely restates the rule_name parameter and adds no format, casing, or uniqueness semantics beyond the schema. Baseline 3 applies.

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 (获取/get) and a specific resource (告警行动规则/alarm action rule) plus the lookup key (规则名称/rule name). This distinguishes it from ListActionRule (enumeration) and ShowAlarmRule (a different resource type) without needing to open the schema. It stops short of explicitly naming those siblings, so it is clear but not fully differentiated.

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 explicit when-to-use or when-not-to-use guidance and no named alternative such as ListActionRule for discovery. The phrase '通过规则名称' only signals that a rule name is required as input, not the conditions under which this tool should be chosen over the list or alarm-rule variants.

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