Skip to main content
Glama

ces__UpdateNotificationMask

Modify Huawei Cloud CES alarm notification masking rules, including mask schedules, resources, metrics, and related alarm rules, to control when alerts are silenced.

Instructions

[CES] 修改告警通知屏蔽规则

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": {
      "mask_name": "<mask_name>",
      "mask_type": "<mask_type>",
      "project_id": "<project_id>",
      "resources": "<resources>"
    },
    "name": "ces__UpdateNotificationMask"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo屏蔽截止日期,yyyy-MM-dd。
end_timeNo屏蔽截止时间,HH:mm:ss。
mask_nameYes屏蔽规则名称
mask_typeYes屏蔽类型。START_END_TIME:按起止时间屏蔽,FOREVER_TIME:永久时间屏蔽,CYCLE_TIME:按周期时间屏蔽。
resourcesYes关联资源
project_idYes租户ID
start_dateNo屏蔽起始日期,yyyy-MM-dd。
start_timeNo屏蔽起始时间,HH:mm:ss。
metric_namesNo关联指标名称,relation_type为RESOURCE可选填,不填视为对资源所有指标进行告警屏蔽
product_nameNo资源为云产品时云产品名称
relation_idsNo关联编号,relation_type为ALARM_RULE时填屏蔽的告警规则编号;relation_type为RESOURCE_POLICY_NOTIFICATION、RESOURCE_POLICY_ALARM时填屏蔽的告警策略编号;
relation_typeNo关联类型
resource_levelNodimension: 子维度,product: 云产品
product_metricsNo按云产品维度屏蔽时的指标信息

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 supplied, so the description carries the full behavioral burden, yet it discloses nothing about mutation semantics. It does not say whether the update is a full replace or a partial merge, what happens to fields omitted (start_date/end_time when mask_type is FOREVER_TIME), what permissions are needed, or whether changes are reversible. Only the bare fact of a mutation is conveyed by the verb.

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 clause is front-loaded and wastes no words, but for a 14-parameter nested mutation tool it is under-sized rather than appropriately sized. There is no structure, no conditional logic, and nothing beyond the title restatement.

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?

This is a complex mutation with nested product_metrics, a 4-value relation_type enum, and three mutually exclusive mask_type modes, with no annotations and no output schema. The rich schema covers parameter formats, but the description leaves key behavioral questions (idempotency, partial update, mode-dependent required fields) entirely unaddressed, which is inadequate for a tool of this complexity.

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% across all 14 parameters, including enum definitions and examples, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no cross-parameter meaning, such as the interaction between mask_type and the start/end time fields or when relation_type selects relation_ids.

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 Chinese phrase '修改告警通知屏蔽规则' gives a verb (modify) and a resource (alarm notification masking rule), but it is essentially the tool name restated with 'alarm notification' spelled out. It does nothing to distinguish this single-rule update from close siblings like ces__BatchUpdateNotificationMasks or ces__BatchUpdateNotificationMaskTime.

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 the batch update variants or the time-update variant that appear among its siblings. The agent must infer from the name alone that this affects one rule rather than many.

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