Skip to main content
Glama

waf__DeleteInstance

Deletes a WAF dedicated engine instance using its project ID and instance ID, helping clean up unused or misconfigured dedicated WAF engines.

Instructions

[WAF] 删除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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "waf__DeleteInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
instance_idYes独享引擎ID(通过调用WAF的ListInstance接口获取所有独享引擎信息查询独享引擎ID)
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says 'delete' but never states that the action is irreversible, what happens to the engine's associated policies or hosts, or whether the engine must first be disabled. The region-availability constraint is a useful behavioral detail, but the destructive semantics are left undisclosed.

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 purpose is front-loaded in the first sentence, which is good. However, the long enumeration of supported regions consumes most of the text and could be condensed (e.g., 'only in select regions, see docs'). The structure is clear but not optimally efficient.

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 simple delete tool with 100% parameter coverage and no output schema, most of what an agent needs is present. The notable gap is the absence of destructive-action context (irreversibility, dependent resources), which matters more here because no annotations exist to carry that information.

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 three parameters (project_id, instance_id, enterprise_project_id) are already documented in the schema. The description adds no parameter-level meaning beyond that. A baseline 3 is appropriate because the schema does the heavy lifting.

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 states a specific verb and resource: delete a WAF dedicated engine (删除WAF独享引擎信息). The '[WAF]' prefix and the resource name make it easy to tell this apart from the many sibling delete tools for other resources. It stops short of explicitly naming a sibling alternative, but the operation itself is unambiguous.

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?

The description gives one real precondition: dedicated mode is only available in the listed regions (华北-北京四, 华东-上海一, etc.), which tells the agent when the tool can succeed. It does not say when to choose this over alternatives, nor when not to delete (e.g., an engine that is still in use), so guidance is only implied.

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