Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_create_subnet

Create a subnet in a VPC by specifying CIDR block, zone, and network ACL, with optional dry-run preview to validate configuration before the subnet is provisioned.

Instructions

Create a new subnet in a VPC. Use dryRun=true to preview without creating.

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": {
      "vpcNo": "<vpcNo>",
      "subnet": "<subnet>",
      "zoneCode": "<zoneCode>",
      "networkAclNo": "<networkAclNo>",
      "subnetTypeCode": "<subnetTypeCode>"
    },
    "name": "ncloud_create_subnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpcNoYesVPC number to create the subnet in
dryRunNoIf true, returns a preview without actually creating the subnet
subnetYesSubnet CIDR block (e.g., 10.0.1.0/24)
zoneCodeYesZone code (see ncloud_get_zones)
subnetNameNoSubnet name (max 30 characters)
networkAclNoYesNetwork ACL number to associate
usageTypeCodeNoUsage type code (GEN, LOADB, BM, NATGW, SFC). Default: GEN. SFC = Service Function Chain dedicated subnet — only allowed for a PUBLIC subnet in a Transit VPC
subnetTypeCodeYesSubnet type code (PUBLIC or PRIVATE)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.1.0
    • changedInput schema / properties / usageTypeCode / description
      Previous value: -"Usage type code (GEN, LOADB, BM, NATGW). Default: GEN"New value: +"Usage type code (GEN, LOADB, BM, NATGW, SFC). Default: GEN. SFC = Service Function Chain dedicated subnet — only allowed for a PUBLIC subnet in a Transit VPC"
  2. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  3. Changed1 schema field changedv2.2.0
    • changedInput schema / properties / zoneCode / description
      Previous value: -"Zone code (e.g., KR-1, KR-2)"New value: +"Zone code (see ncloud_get_zones)"
  4. First observedv1.10.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the burden. It usefully discloses that dryRun=true performs a non-mutating preview, but says nothing about required permissions, what happens on CIDR conflicts, or whether the subnet is immediately usable. No contradiction with annotations.

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

Conciseness5/5

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

Two short sentences with the primary action front-loaded and the preview escape hatch second. Nothing is wasted and nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a create tool with five required parameters, no output schema, and minimal annotations, the description is thin. It never indicates what is returned on success (e.g. the new subnet ID) or how the required networkAclNo and zoneCode must be sourced, relying entirely on the schema for that context.

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 the schema already documents all eight parameters including dryRun, CIDR format, and the usageTypeCode constraint. The description only echoes the dryRun semantics and adds no cross-parameter meaning beyond the schema, making the baseline 3 the right call.

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?

States a specific verb and resource: "Create a new subnet in a VPC." This is clearly distinguishable from read/detail siblings such as ncloud_get_subnet_detail or ncloud_delete_subnet. It stops short of naming any alternative explicitly, which keeps it just below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage guidance is the dryRun preview path, which is genuinely helpful for a mutation tool. There is no guidance on when to choose this over sibling tools (e.g. add-route-table-subnet, nks_add_subnet) or on prerequisites such as needing an existing VPC and network ACL.

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