Skip to main content
Glama

anti-ddos__UpdateAlertConfig

Update Anti-DDoS alert configuration to enable or disable notifications for DDoS attacks, brute force, weak passwords, and other security events.

Instructions

[ANTI-DDOS] 更新用户配置信息,用户可以通过此接口更新是否接收某类告警,同时可以配置是手机短信还是电子邮件接收告警信息。

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": {
      "display_name": "<display_name>",
      "project_id": "<project_id>",
      "topic_urn": "<topic_urn>",
      "warn_config": "<warn_config>"
    },
    "name": "anti-ddos__UpdateAlertConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
topic_urnYes告警群组的唯一标识。
project_idYes项目id
warn_configYes告警配置信息。
display_nameYes告警群组描述。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full behavioral burden and does not meet it. 'Update' implies mutation, but nothing says whether existing config is overwritten, whether omitted toggles are cleared, what permissions are needed, or whether the change is reversible.

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 front-loaded sentence led by the [ANTI-DDOS] tag, with little wasted wording. The two clauses partially restate each other ('更新用户配置信息' then '更新...告警'), costing a little tightness but not readability.

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?

For a 4-required-parameter mutation tool with a nested object, no annotations, and no output schema, the description is thin. It never explains warn_config's attack-type toggles, the role of topic_urn/display_name, or the sms/email claim, leaving real gaps an agent must resolve from the schema alone.

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 the schema already documents all four parameters (including the nested warn_config booleans), which sets the baseline at 3. The description adds no field-level meaning and in fact introduces a confusing SMS/email notion absent from the schema.

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 description states the verb/resource ('更新用户配置信息' / update user config) and adds that it controls which alert types are received. However, it frames the operation around choosing 'SMS vs email' delivery, a detail that maps to no field in the schema (which instead has topic_urn, display_name, and per-attack-type booleans in warn_config), so the stated purpose is partly misaligned with what the tool actually accepts.

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?

No guidance on when to use this versus siblings like ShowAlertConfig or waf__UpdateAlertNoticeConfig, and no prerequisites or exclusions. The reader must infer that this is the mutating counterpart to the Show variant purely from the verb 'update'.

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