Skip to main content
Glama

cfw__CreateFirewall

Creates a Huawei Cloud firewall with configurable flavor, billing mode, tags, and enterprise project, enabling project-level network security provisioning.

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": {
      "charge_info": "<charge_info>",
      "flavor": "<flavor>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "cfw__CreateFirewall"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes防火墙名称
tagsNo服务资源标签列表,防火墙资源添加标签后,可根据键、值组合查询资源,同时可根据键、值组合进行话单合并统计。
flavorYes防火墙规格信息
project_idYes项目ID, 可以从调API处获取,也可以从控制台获取。[项目ID获取方式](cfw_02_0015.xml)
charge_infoYes计费类型信息,支持包年/包月和按需,默认为按需。
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 provided, so the description carries the full disclosure burden, yet it only restates the name. It does not state that this is a billable mutation driven by charge_info/flavor, whether creation is synchronous, whether it requires a project scope, or what happens on partial failure.

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?

It is a single bracketed phrase with zero waste, but that brevity reflects under-specification rather than disciplined conciseness. There is no structure or front-loaded guidance for the agent to act on.

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?

This is a 6-parameter creation tool that handles billing (prePaid/postPaid, auto-renew, auto-pay) with no annotations and no output schema. The description says nothing about what is returned (for example, the new firewall ID), which is essential for a create operation whose result is typically chained into follow-up calls.

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 every parameter, including nested charge_info and flavor fields, is already documented in the schema. The description adds no additional meaning, so the baseline of 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 specific verb+resource (创建防火墙 / create firewall), which is better than nothing, but adds no distinguishing detail against siblings such as cfw__CreateEastWestFirewall or vpc__CreateFirewall. An agent cannot tell from this text which create variant to pick.

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?

There is no when-to-use guidance, no prerequisites (project_id, enterprise project scoping), and no mention of alternatives. The agent must infer everything from the tool name and schema.

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