Skip to main content
Glama

create_security_group_rule

Create a Neutron security group rule to allow or restrict network traffic by protocol, port range, direction, and remote IP or group.

Instructions

Create a Neutron security group rule. Service: Neutron (network). Mutates state.

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": {
      "security_group_id": "<security_group_id>"
    },
    "name": "create_security_group_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
protocolNo
directionNoingress
ethertypeNoIPv4
descriptionNo
port_range_maxNo
port_range_minNo
remote_group_idNo
remote_ip_prefixNo
security_group_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and 'Mutates state' is the only disclosure — useful but minimal. It says nothing about permission requirements, whether the rule takes effect immediately, what the defaults (ingress/IPv4) imply, or how conflicts or duplicates are handled, all of which matter for a network security mutation.

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?

Three short sentences, front-loaded and free of redundancy, so it is structurally clean. However, the brevity comes at the cost of substance: for a nine-parameter mutation tool the description is under-specified rather than genuinely concise.

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?

An output schema exists, so return values need not be explained, but the tool is otherwise complex: nine parameters, one required, zero coverage and zero annotations. Given that complexity, the definition leaves the agent without the parameter semantics or safety context needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 9 parameters, and the description adds no meaning for any of them. Critical fields such as protocol, direction, ethertype, port_range_min/max, remote_ip_prefix, and remote_group_id — whose combination determines the actual firewall effect — are entirely undocumented in both the schema and the description.

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?

The description gives a specific verb and resource — 'Create a Neutron security group rule' — and adds the service namespace ('Neutron (network)'), which lets an agent separate it from the many other create_* siblings. It does not explicitly contrast with siblings like create_security_group or list_security_group_rules, but the resource name is distinct enough for correct selection.

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: nothing says when a rule is required versus when modifying the parent group, no prerequisites (e.g. the security group must exist), and no alternatives named among the delete/list siblings. The agent must infer all of this from the tool name 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