Skip to main content
Glama

vpc__BatchCreateSecurityGroupRules

Batch create security group rules under a specified security group to control inbound and outbound traffic, with options to dry-run the request and ignore duplicate rules.

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": {
      "project_id": "<project_id>",
      "security_group_id": "<security_group_id>",
      "security_group_rules": "<security_group_rules>"
    },
    "name": "vpc__BatchCreateSecurityGroupRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo功能说明:是否只预检此次请求
project_idYes项目ID
ignore_duplicateNo创建时是否忽略重复的安全组规则
security_group_idYes安全组ID
security_group_rulesYes待创建的安全组规则列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing beyond the operation itself. For a batch mutation it says nothing about whether creation is atomic, what happens when some rules fail or duplicate, permission requirements, or rate limits, even though the schema exposes dry_run and ignore_duplicate flags whose effect is never explained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact, front-loaded sentence with no filler and the scope constraint placed correctly. It is efficient, though so terse that brevity shades into under-specification rather than tight structure.

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 5-parameter batch mutation with no annotations and no output schema, so behavior and results must come from the description. It omits batch failure semantics, idempotency behavior, and any hint of what is returned, leaving significant gaps for an agent deciding whether a call succeeded.

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 the nested rule fields, is already documented inline. The description adds no extra meaning about rule defaults, priority ordering, or the semantics of dry_run and ignore_duplicate beyond the schema text, 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 single sentence states a specific verb+resource: batch-create security group rules scoped to a particular security group ('在特定安全组下批量创建安全组规则'). The word '批量' (batch) implicitly contrasts with the single-rule sibling vpc__CreateSecurityGroupRule, so an agent can orient itself, though no sibling is named explicitly.

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 choose this over the single-rule CreateSecurityGroupRule or NeutronCreateSecurityGroupRule, nor on prerequisites such as whether the security group must exist or be empty. Only the bare operation is described; the agent must infer selection criteria from the tool name.

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