Skip to main content
Glama

ces__UpdateAlarmNotifications

Update alarm notification settings for a CES alarm rule by enabling or disabling notifications, assigning notification targets and actions, and configuring notification time windows.

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": {
      "alarm_id": "<alarm_id>",
      "notification_enabled": "<notification_enabled>",
      "project_id": "<project_id>"
    },
    "name": "ces__UpdateAlarmNotifications"
  }
}

Input Schema

NameRequiredDescriptionDefault
alarm_idYes告警规则ID
project_idYes租户ID
ok_notificationsNo告警恢复触发的动作
alarm_notificationsNo告警触发的动作
notification_enabledYes是否开启告警通知。true:开启,false:关闭。
notification_end_timeNo告警通知关闭时间
notification_begin_timeNo告警通知开启时间

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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 behavioral burden, and it says only that notification info is 'modified.' It does not disclose that this is a mutation that overwrites ok_notifications/alarm_notifications wholesale, whether omitted fields are cleared, permission requirements, or the response shape. For a 7-parameter nested write operation this is a substantial gap.

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 compact sentence with the resource scope front-loaded and the exclusion clause following it; nothing is padded. The '[CES]' prefix and the vague 'corresponding interface' phrase cost a point but not much.

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?

With 7 parameters including two nested action arrays, no annotations, and no output schema, the definition should say more about mutation semantics and the relationship between notification_enabled and the time window. The rich schema descriptions compensate for parameter-level gaps, so it is adequate but thin for the tool's 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%, with detailed enum and format notes on notification_list, type, and the begin/end time patterns, so the schema already does the heavy lifting and the baseline is 3. The description adds only the framing that these parameters are notification-related, nothing about the interaction between notification_enabled and the begin/end time window.

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?

States a specific verb+resource: '[CES] 修改告警规则告警通知信息' (modify alarm rule notification information). This is distinguishable from siblings like ces__UpdateAlarm or ces__UpdateAlarmRulePolicies because it explicitly scopes the tool to notification settings only. It falls short of 5 because it does not name which sibling handles policies/resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The clause '告警策略&资源请使用对应接口' (for alarm policies & resources use the corresponding interface) is an explicit when-not-to-use signal that steers the agent away from this tool for policy/resource changes. It lacks the concrete alternative names (e.g., ces__UpdateAlarmRulePolicies, ces__AddAlarmRuleResources), leaving the agent to infer them from the sibling list.

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