Skip to main content
Glama

vpc__UpdateFirewallRules

Updates inbound and outbound rules for a specified VPC network ACL, enabling changes to rule actions, protocols, ports, and IP/CIDR ranges.

Instructions

[VPC] 网络ACL更新规则

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": {
      "firewall": "<firewall>",
      "firewall_id": "<firewall_id>",
      "project_id": "<project_id>"
    },
    "name": "vpc__UpdateFirewallRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
firewallYes更新ACL入方向或出方向规则
project_idYes项目ID
firewall_idYes网络ACL唯一标识

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/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 and delivers almost nothing. It conveys only that a mutation happens; it does not say whether the supplied rule arrays replace all existing rules (destructive to omitted rules), whether rules with unknown ids error out, what permissions the project_id requires, or whether the call is idempotent. For a nested-object mutation tool this is a serious gap.

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 one-line phrase is short but that is under-specification rather than conciseness; there is no structure, no front-loaded explanation of effect, and no sentence that earns its place beyond a label. Length is not the problem — absence of content is.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool takes three required parameters, one of which is a deeply nested object with two arrays of thirteen-field rule objects, and it has no annotations and no output schema. Against that complexity a single label line leaves the agent without any of the information needed to invoke it safely or predict its effect.

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% and every field in the nested rule objects carries its own Chinese description, so the schema does the heavy lifting and the baseline of 3 applies. The description adds nothing about the critical semantics of the `firewall` wrapper — notably whether egress_rules/ingress_rules are a full replacement set or a partial patch.

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

Purpose2/5

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

"[VPC] 网络ACL更新规则" restates the tool name (UpdateFirewallRules) almost verbatim, adding only the 'VPC' scope tag. It never says what kind of update occurs — full replacement of the ingress/egress rule lists versus an in-place edit — which is exactly what distinguishes it from siblings like vpc__AddFirewallRules, vpc__RemoveFirewallRules and vpc__NeutronUpdateFirewallRule.

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, and no mention of alternatives, despite a crowded sibling set of add/remove/update/neutron-variant firewall rule tools. The agent must infer from the name alone that this is the modify-existing-rules path rather than the add or remove paths.

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