Skip to main content
Glama

waf__ListInstance

Retrieve Huawei Cloud WAF dedicated engine instances by project ID, with pagination and name filtering to inspect available 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": {
      "project_id": "<project_id>"
    },
    "name": "waf__ListInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo分页查询参数,第page页,默认值为1
pagesizeNo分页查询参数,每页pagesize条记录,默认值为10
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
instancenameNo模糊查询,独享引擎名称
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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. It usefully discloses the regional availability limit of dedicated mode, but omits whether the call is read-only (implied by 'query' but unstated), what permissions or subscription are required, and whether results are paginated beyond the schema defaults.

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?

The purpose is front-loaded and the regional constraint follows in a second sentence with no filler. The region enumeration is somewhat long but directly relevant to whether the tool can be used, so it earns its place.

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 moderate five-parameter list tool with full schema coverage and no output schema, the definition covers purpose and regional availability adequately. It still lacks the sibling differentiation and return-content context an agent would need to reliably pick this over waf__ListPremiumHost or waf__ListHost.

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 explains page, pagesize, project_id, instancename and enterprise_project_id. The description adds no additional meaning about any parameter, which is acceptable at baseline but not value-adding.

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: query the WAF dedicated engine list (查询WAF独享引擎列表). An agent knows exactly what is returned, but the description does not distinguish this from sibling list tools such as waf__ListPremiumHost or waf__ListHost, leaving the agent to infer the difference from names alone.

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 provides a meaningful precondition — dedicated mode is only supported in specific regions such as Beijing-4, Shanghai-1, Guangzhou, Shenzhen, Hong Kong, Bangkok and Singapore — which implicitly tells the agent when this tool is applicable. However, it never explicitly says when to choose this over the other WAF list tools or what to do when the region is unsupported.

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