Skip to main content
Glama

cfw__ListFirewallDetail

Retrieves Cloud Firewall instance details for a project, optionally filtered by firewall instance ID or name, with pagination to list results.

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>",
      "service_type": "<service_type>"
    },
    "name": "cfw__ListFirewallDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo防火墙名称
limitYes每页显示个数,范围为1-1024
offsetYes偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)
service_typeYes服务类型,目前仅支持0互联网防护
fw_instance_idNo防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
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.5/5.0
Behavior2/5

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

No annotations are supplied, so the description has to explain behavior, and it does not. It does not say whether this is a paginated read, whether a missing fw_instance_id falls back to the first firewall, or whether an empty result means no instance exists; that default behavior appears only in the schema of a different parameter.

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 description is a single short clause with zero padding, but it is concise because it is empty rather than because it is well-structured. The brevity reflects under-specification, not economy of expression.

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?

Seven parameters (four required), no annotations, and no output schema mean the description must carry more weight than this. An agent can call the tool from the schema alone, but the description supplies no behavioral or selection context for a multi-parameter listing tool.

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 seven parameters documented, including pagination bounds and the fw_instance_id fallback; under the rubric that alone establishes a 3. The description adds no meaning beyond the schema.

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?

The description "[CFW] 查询防火墙实例" gives a verb (query) and a resource (firewall instance), but the resource scope is ambiguous against siblings: it is unclear whether this lists instances or returns detail for one, and it is not distinguished from cfw__ListFirewallList, a similarly named sibling. The [CFW] prefix and the tag carry information, but the description itself does not define the resource's scope.

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?

No when-to-use guidance, no prerequisites, and no indication of which sibling to choose for listing versus fetching details. The only guidance is implicit in the name, so the agent must infer usage from cfw__ListFirewallList, cfw__ShowDomainSetDetail, and similar siblings.

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