Skip to main content
Glama

waf__UpdateIpGroup

Updates a WAF IP address group's name, description, and IP entries, including adding or deleting specific IPs or ranges for access control management.

Instructions

[WAF] 修改ip地址组

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": {
      "id": "<id>",
      "ips": "<ips>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "waf__UpdateIpGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesip地址组id
ipsYes以逗号分隔的ip或ip段
nameYes地址组名称
actionNo增量修改ip地址组时,此为必传字段,传入“add”;删除一个或者多个ip时传入“delete”
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
descriptionNo地址组描述
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id

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?

With no annotations, the description must explain the behavior, but it says only that the group is modified. It does not say that the action field switches between incremental adds and deletes, whether omitted fields are cleared, whether the change is reversible, or what permissions the call needs. The critical overloaded behavior is described only in the schema, not in the description.

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 description is a single short phrase with no wasted words and is front-loaded, so it is easy to scan. However, it is too brief for a seven-parameter mutation tool with an overloaded enum-like action field, so the concision comes from under-specification rather than from good editing.

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?

The tool requires four of seven parameters, is a mutation, has no annotations, and has no output schema. A single line cannot convey the incremental-update semantics the schema hints at, so the description leaves an agent with real gaps. This context needs substantially more disclosure.

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 all seven parameters, including the tricky action add/delete switch, are already documented in the schema. The description adds no meaning about parameter formats or interactions 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?

"[WAF] 修改ip地址组" restates the tool name (waf__UpdateIpGroup) almost verbatim: a verb plus its resource, with no further detail. It does not distinguish this tool from siblings such as waf__CreateIpGroup, waf__DeleteIpGroup, or waf__ShowIpGroup beyond what the name already tells an agent.

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 tool versus the sibling IP-group tools; nothing about prerequisites, permissions, or when not to call it. An agent must infer from the name that this is the edit path for an existing group.

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