Skip to main content
Glama

cfw__ListFirewallList

Retrieve a paginated list of cloud firewalls, filtered by project, tags, or keyword, to inspect firewall IDs and names.

Instructions

[CFW] 查询防火墙列表

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": {
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "cfw__ListFirewallList"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo标签列表,可通过查询标签服务查询标签接口获得,返回值即为标签列表
limitYes每页显示个数,范围为1-1024
offsetYes偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
key_wordNo查询关键字,可为防火墙id或防火墙名称的一部分。可通过[防火墙ID获取方式](cfw_02_0028.xml)获取
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)
enterprise_project_idNo企业项目ID,用户根据组织规划企业项目,对应的ID为企业项目ID,可通过[如何获取企业项目ID](cfw_02_0027.xml)获取,用户未开启企业项目时为0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/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, yet it discloses nothing about read-only semantics, pagination behavior, authorization requirements, or scoping by project/enterprise project. The only hint of behavior is the word "列表", which merely restates the tool name.

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 description is a single short phrase with no structure, but this is under-specification rather than effective conciseness. It is front-loaded only in the trivial sense that there is nothing else to place.

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?

For a six-parameter, three-required listing tool with no annotations and no output schema, the definition should explain what the returned list contains, how filtering by key_word or tags behaves, and how pagination is applied. None of that is present, leaving a substantial gap for the caller.

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 six parameters including tags, key_word, project_id, and enterprise_project_id are documented in the schema itself. The description adds no extra meaning such as keyword matching rules or tag filtering semantics beyond what the schema already provides, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"查询防火墙列表" names a verb (query/list) and a resource (firewall), so the basic operation is identifiable. However, it offers no differentiation from close siblings such as cfw__ListFirewallDetail, cfw__ListEastWestFirewall, or vpc__ListFirewall, leaving the agent to guess which list tool applies.

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?

The description contains no when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer from the required project_id/limit/offset that this is a paginated, project-scoped listing, but nothing in the text states that.

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