Skip to main content
Glama

vpc__CreateSecurityGroup

Creates a VPC security group in a specified project to control network access for cloud resources; optionally applies tags, description, and enterprise project binding.

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": "<security_group>"
    },
    "name": "vpc__CreateSecurityGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo功能说明:是否只预检此次请求
project_idYes项目ID
security_groupYes功能说明:创建安全组的请求体

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 and discloses nothing: it does not say the call is a mutating, non-idempotent create, does not mention the dry_run precheck parameter, does not describe required permissions, and does not say whether the created group is empty (no rules) by default. For a write operation with zero annotation coverage this is a complete gap.

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 description is a single front-loaded phrase with zero waste, which is structurally clean. But at this length it amounts to under-specification rather than genuine conciseness, and the bracketed service tag is the only structuring element.

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 a nested request body, has no output schema, and has no annotations, so the description needed to explain the create semantics, the dry_run precheck, and the empty-by-default rule set. None of that is present, leaving an agent unable to predict the effect of the call from the definition alone.

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 security_group fields and dry_run is already documented in the schema. The description adds no meaning beyond that — not even the purpose of dry_run or the significance of enterprise_project_id binding — so baseline 3 applies.

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

Purpose3/5

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

The phrase "[VPC] 创建安全组" names a specific verb (创建/create) and resource (security group), so the core action is recoverable even for a non-Chinese-reading agent via the tool name. However, it gives no scope detail and does not distinguish this from the near-identical sibling vpc__NeutronCreateSecurityGroup, which appears to create the same resource through a different API surface. The "[VPC]" tag hints at the API family but is not an explicit differentiation.

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 or when-not-to-use guidance at all. The description does not say when to prefer this over vpc__NeutronCreateSecurityGroup, nor that rules must be added afterwards via vpc__CreateSecurityGroupRule. Only the name and tag imply any context.

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