Skip to main content
Glama

vpc__NeutronCreateSecurityGroupRule

Creates a security group rule to control inbound or outbound traffic for a specified security group, enabling precise network access control in Huawei Cloud VPC.

Instructions

[VPC] 创建安全组规则

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_rule": "<security_group_rule>"
    },
    "name": "vpc__NeutronCreateSecurityGroupRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
security_group_ruleYes安全组规则对象

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 disclosure burden, yet it only restates the operation name. It says nothing about required permissions, whether the rule becomes active immediately, idempotency or duplicate handling, or what identifiers a successful create returns — all important for a mutation of a nested rule object.

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 definition is a single front-loaded phrase with zero waste, which is good structurally. However, it is undersized for a tool with a ten-field nested request object, so brevity here reflects under-specification rather than discipline.

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?

Complexity is high — a mutation with a nested object of ten properties — and there are no annotations and no output schema. The description contributes nothing about prerequisites, side effects, or results, so an agent cannot reliably determine correct invocation from it alone despite the strong schema.

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 nested field (direction, protocol, port ranges, remote_group_id, remote_ip_prefix, etc.) is already documented in the schema, including enum values and ICMP semantics. The description adds no meaning beyond that, so the baseline of 3 applies.

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 names a specific verb and resource ("创建安全组规则" / create security group rule), which is clearly distinguishable from list, show, or delete operations. However, it gives no hint about how it differs from near-identical siblings such as vpc__CreateSecurityGroupRule or vpc__BatchCreateSecurityGroupRules, and the Neutron-vs-non-Neutron distinction is left entirely to the name.

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 (for example, whether the parent security group must already exist), and no mention of alternatives such as the batch variant. The agent must infer the entire usage context 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