Skip to main content
Glama

waf__UpdateValueList

Updates an existing WAF reference table's name, type, values, or description using its list and project IDs.

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

Input Schema

NameRequiredDescriptionDefault
nameYes引用表名称,2-32位字符串组成
typeYes引用表类型,参见枚举列表
valuesNo引用表的值
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
descriptionNo引用表描述,最长128字符
valuelistidYes引用表id,通过查询引用表列表(ListValueList)接口获取
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are supplied, so the description bears the full behavioral burden, and it discloses nothing: not whether omitted fields are preserved or cleared, not whether the `values` array replaces or appends, and not what permissions or preconditions (e.g. an existing valuelistid) are required. For a write operation with zero annotation coverage this is a serious gap.

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

Conciseness2/5

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

The single five-character fragment is free of padding but is under-specification rather than concision. There is no front-loaded statement of behavior, scope, or effect — nothing for the agent to act on beyond the tool's own name.

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 rich, fully documented schema and the required-parameter list cover the mechanical invocation, and there is no output schema to explain. However, for a 7-parameter destructive-adjacent mutation with no annotations, the definition leaves the agent without any account of side effects, replace-vs-merge semantics, or failure conditions.

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 all 7 parameters documented in-schema (including a 10-value enum for `type` and path-vs-query locations), so the baseline of 3 applies. The description adds no meaning beyond the schema — notably it says nothing about how `values` and `type` interact or what happens when `values` is omitted.

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] 修改引用表" is a literal restatement of the tool name UpdateValueList in Chinese — a verb-plus-resource label with no additional specificity. It does not indicate which aspects of the value list are modified (name, type, values, description) nor how it differs from CreateValueList / DeleteValueList / ShowValueList.

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

Usage Guidelines1/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 prerequisites, and no mention of alternatives. An agent must infer entirely from the name that this is the mutation counterpart to the sibling list/create/show tools.

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