Skip to main content
Glama

waf__UpdateAlertNoticeConfig

Updates an existing WAF alert notification configuration, letting you change the alert name, notification type, trigger thresholds, send frequency, language, or enabled status for event and certificate-expiry alerts.

Instructions

[WAF] 更新告警通知配置

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": {
      "alert_id": "<alert_id>",
      "name": "<name>",
      "notice_class": "<notice_class>",
      "project_id": "<project_id>",
      "topic_urn": "<topic_urn>"
    },
    "name": "waf__UpdateAlertNoticeConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes告警通知名称
timesNo当通知类型为防护事件时,需要填写该参数。在该时间间隔内,当攻击次数大于或等于您设置的阈值时才会发送告警通知
localeNo语言
threatNo事件类型
enabledNo是否开启
alert_idYes告警通知id
sendfreqNo时间间隔,单位为分钟。当通知类型为防护事件时,该参数表示在该时间间隔内,攻击次数等于或者大于设定阈值时,将发送告警通知,支持的值:5、15、30、60、120、360、720、1440;当通知类型为证书到期时,该参数表示每隔多长时间发送一次告警通知,支持的值为1440、10080(单位为分钟)。
topic_urnYes主题URN,通过消息通知服务获取
project_idYes用户项目ID
notice_classYes通知类型
nearly_expired_timeNo提前通知天数,通知类型为证书到期通知需要填写该参数
is_all_enterprise_projectNo是否是所有企业项目

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden, yet it says nothing beyond 'update'. It does not state that this is a mutation of an existing alert notice config, whether omitted fields are preserved or reset, whether required project_id/alert_id must reference existing resources, or what permissions are needed.

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?

It is a single front-loaded phrase with zero waste, which is structurally sound. However, the brevity comes at the cost of under-specification rather than disciplined concision for a 12-parameter mutation tool.

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?

With 12 parameters, no annotations, no output schema, and conditional parameter rules, this definition is far too thin for the tool's complexity. An agent would have to reconstruct intent purely from the schema and sibling names.

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 every one of the 12 parameters, including the conditionally-required times, nearly_expired_time, and sendfreq ranges, is documented in the schema itself. The description adds no parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[WAF] 更新告警通知配置" is a direct Chinese restatement of the tool name UpdateAlertNoticeConfig, adding only a service tag. It gives no scope, no target resource identity beyond the generic label, and nothing that distinguishes it from sibling update tools such as waf__UpdateLtsInfoConfig or waf__UpdatePolicy.

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 state (e.g. the notice config must already exist, retrieved via waf__ListNoticeConfigs), and no exclusion conditions. The agent must infer the entire invocation context from the name alone.

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