Skip to main content
Glama

waf__CreateValueList

Creates a WAF reference value list of URLs, IPs, headers, or cookies that CC attack protection and precise access protection rules can reference when filtering requests.

Instructions

[WAF] 创建引用表,引用表能够被CC攻击防护规则和精准访问防护中的规则所引用。

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": {
      "name": "<name>",
      "project_id": "<project_id>",
      "type": "<type>",
      "values": "<values>"
    },
    "name": "waf__CreateValueList"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes引用表名称,只能由数字、字母、中划线、下划线和英文句点组成,长度不能超过64
typeYes引用表类型,参见枚举列表
valuesYes引用表的值
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
descriptionNo引用表描述,最长128字符
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.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 behavioral burden, and it only adds the downstream-consumption fact. It says nothing about permissions, name uniqueness or conflicts, quota limits, or what happens to rules already referencing a list — gaps that matter for a create operation on a shared security resource.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler: the action comes first and the downstream usage follows. Nothing in it is redundant with the schema.

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?

For a 6-parameter create tool with no output schema and no annotations, the definition covers purpose and downstream use but omits what is returned (e.g., the created list's id) and any operational constraints. Adequate, but with clear gaps an agent would want filled.

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 name constraints, an enum of list types, values, project_id, and enterprise_project_id all documented inline. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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?

The description gives a specific verb+resource ("创建引用表" / create value list) and explains what the resource is for: it can be referenced by CC attack protection rules and precise access protection rules. That distinguishes it from DeleteValueList/ListValueList/ShowValueList/UpdateValueList by verb alone, though it never explicitly names those siblings.

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

Usage Guidelines3/5

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

It implies the usage context by stating that rules in CC and precise access protection reference value lists, which tells the agent why one would create one. However, it gives no explicit when-to-use vs. an alternative, no prerequisite (policy/host must exist first), and no exclusion guidance.

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