Skip to main content
Glama

create_network_acl

Creates a CloudStack network ACL rule to allow or deny ingress or egress traffic by protocol, port range, and CIDR list.

Instructions

Create a network ACL item (rule)

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": {
      "protocol": "<protocol>",
      "aclid": "<aclid>"
    },
    "name": "create_network_acl"
  }
}

Input Schema

NameRequiredDescriptionDefault
aclidYesACL list ID
actionNoAction (allow, deny)
numberNoRule number (priority order)
endportNoEnd port
cidrlistNoCIDR list (comma separated)
icmpcodeNoICMP code (-1 for all)
icmptypeNoICMP type (-1 for all)
protocolYesProtocol (tcp, udp, icmp, all)
startportNoStart port
traffictypeNoTraffic type (ingress, egress)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/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 behavioral burden, yet it only restates the verb. It says nothing about whether a numeric rule number collides with or overwrites existing rules, what default applies if action/number are omitted, whether the rule takes effect immediately, or what permissions are required.

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 single line is front-loaded and free of waste, but its brevity is under-specification rather than true conciseness — the entire definition is one fragment with nothing about defaults or ordering behavior.

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 10-parameter mutation with no annotations and no output schema, the description provides essentially no context. An agent cannot tell from it whether omitted optional fields default sensibly or whether rule numbers must be chosen deliberately.

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 parameter (protocol, action, number, ports, CIDR, ICMP, traffictype) is documented in-schema, so the baseline of 3 applies. The description adds no semantics beyond that, for example the relationship between startport/endport and protocol, or the priority meaning of number.

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?

"Create a network ACL item (rule)" names a specific verb and resource, and the parenthetical clarifies that an "item" is a rule, which separates it from create_network_acl_list and update_network_acl_item. It does not explicitly differentiate itself from those siblings, but the verb+resource pair is unambiguous.

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 guidance on when to use this versus create_network_acl_list (create the container) or update_network_acl_item (modify an existing rule), nor any prerequisite such as needing an existing aclid. The agent must infer the calling order from the schema alone.

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