Skip to main content
Glama

cae__UpdateNoticeRule

Updates a Huawei Cloud CAE event notification rule, letting you change its enabled status, scope, trigger event, and trigger policy for components.

Instructions

[CAE] 修改事件通知规则。

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": {
      "api_version": "<api_version>",
      "kind": "<kind>",
      "project_id": "<project_id>",
      "rule_id": "<rule_id>",
      "spec": "<spec>"
    },
    "name": "cae__UpdateNoticeRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesAPI类型,固定值“NoticeRule”,该值不可修改。
specYes请求数据。
rule_idYes
project_idYes项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。
api_versionYesAPI版本,固定值“v1”,该值不可修改。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, yet it discloses nothing beyond 'modify'. It does not say whether this is a full replacement or a partial merge of the nested spec (critical, since scope/trigger_policy are required and omitted optional fields like enable or event_name may be reset), whether it is idempotent, what permissions are needed, or what happens on an unknown rule_id.

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?

One short sentence with zero waste and the action front-loaded, which is structurally clean. However, for a tool with five required parameters and deep nested objects, this brevity reads as under-specification rather than efficient conciseness.

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?

Given a mutation tool with nested required objects, no annotations and no output schema, the description should at minimum clarify update semantics (replace vs merge) and any preconditions. Neither is present, leaving an agent unable to predict the effect of omitting optional spec fields such as enable or event_name.

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 80%, and the nested scope/trigger_policy/event_name fields are documented in detail inside the schema itself, so the schema does most of the work. The description adds no additional meaning about rule_id, project_id, api_version or kind beyond what the schema already states, so the baseline of 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+resource combination (修改 / event notification rule) prefixed with the service tag [CAE], which distinguishes it from CreateNoticeRule, DeleteNoticeRule and ShowNoticeRule by the 'update' action. It stops short of naming those siblings or scoping what part of the rule is modified, so an agent still infers differentiation from the names alone.

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 when-to-use guidance, no prerequisite (e.g. the rule must already exist, project/rule IDs must be resolved first), and no mention of alternatives such as CreateNoticeRule for new rules. The agent must infer that this is the edit path for an existing rule purely from the verb 修改.

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