Skip to main content
Glama
ncloud-mcp-server

ncloud-mcp-server

by sjk4425

ncloud_hadoop_create_cluster

Create a Cloud Hadoop cluster with mandatory HA (2 master nodes and 1 edge node), specifying an explicit image product code and using dryRun to preview.

Instructions

Create a new Cloud Hadoop cluster. HA is mandatory and not configurable: always 2 master nodes and 1 edge node. Pass cloudHadoopImageProductCode explicitly — it defaults to the latest image, but the related lookups (ncloud_hadoop_list_cluster_types / _list_addons / _list_products / _list_target_subnets) all require it, so the values you pick must come from the same image. Use dryRun=true to preview.

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": {
      "cloudHadoopClusterName": "<cloudHadoopClusterName>",
      "cloudHadoopClusterTypeCode": "<cloudHadoopClusterTypeCode>",
      "vpcNo": "<vpcNo>",
      "cloudHadoopAdminUserName": "<cloudHadoopAdminUserName>",
      "cloudHadoopAdminUserPassword": "<cloudHadoopAdminUserPassword>",
      "bucketName": "<bucketName>",
      "edgeNodeSubnetNo": "<edgeNodeSubnetNo>",
      "masterNodeSubnetNo": "<masterNodeSubnetNo>",
      "masterNodeDataStorageTypeCode": "<masterNodeDataStorageTypeCode>",
      "masterNodeDataStorageSize": "<masterNodeDataStorageSize>",
      "workerNodeSubnetNo": "<workerNodeSubnetNo>",
      "workerNodeDataStorageTypeCode": "<workerNodeDataStorageTypeCode>",
      "workerNodeDataStorageSize": "<workerNodeDataStorageSize>",
      "loginKeyName": "<loginKeyName>"
    },
    "name": "ncloud_hadoop_create_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpcNoYesVPC number
dryRunNoPreview without creating
useKdcNoUse Kerberos KDC (default: false)
kdcRealmNoKDC Realm (required when useKdc=true)
bucketNameYesObject Storage bucket name
regionCodeNoRegion code (see ncloud_get_regions)
kdcPasswordNoKDC admin password (required when useKdc=true; 8-20 chars, 9-20 in the Government zone)
loginKeyNameYesLogin key name for SSH access
useDataCatalogNoPublic zone only: use Data Catalog for the Hive metastore (default: false)
bootstrapScriptNoBootstrap script path (required when useBootstrapScript=true)
workerNodeCountNoWorker node count (2-8, default: 2)
edgeNodeSubnetNoYesEdge node subnet number
engineVersionCodeNoEngine version code (for Rocky clusters). Not in the Financial-zone guide
masterNodeSubnetNoYesMaster node subnet number
useBootstrapScriptNoUse bootstrap script (default: false)
workerNodeSubnetNoYesWorker node subnet (private subnet only)
edgeNodeProductCodeNoEdge node server type code
masterNodeProductCodeNoMaster node server type code
workerNodeProductCodeNoWorker node server type code
cloudHadoopClusterNameYesCluster name (3-15 chars: lowercase letters, numbers, '-'; starts with a letter, ends with a letter or number)
cloudHadoopAddOnCodeListNoAdd-on codes (from ncloud_hadoop_list_addons, e.g. PRESTO, HBASE)
cloudHadoopAdminUserNameYesAmbari admin user name (3-15 chars: lowercase letters, numbers, '-'; starts with a letter)
masterNodeDataStorageSizeYesMaster storage GB (100-2000 in 10 GB steps, or 4000, 6000)
workerNodeDataStorageSizeYesWorker storage GB (100-2000 in 10 GB steps, or 4000, 6000)
cloudHadoopClusterTypeCodeYesCluster type code (use ncloud_hadoop_list_cluster_types)
cloudHadoopImageProductCodeNoImage product code (from ncloud_hadoop_list_image_products). Default: latest — explicit value recommended
cloudHadoopAdminUserPasswordYesAdmin password: 8-20 chars (9-20 in the Government zone) mixing letters, numbers and special characters; must not contain ' " ₩ / & ` or spaces
masterNodeDataStorageTypeCodeYesMaster storage type: SSD | HDD (CB2 also in the Public zone)
workerNodeDataStorageTypeCodeYesWorker storage type: SSD | HDD (CB2 also in the Public zone)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed22 schema fields changedv2.2.0
    • changedInput schema / properties / cloudHadoopAddOnCodeList / description
      Previous value: -"Add-on codes (e.g. PRESTO, HBASE)"New value: +"Add-on codes (from ncloud_hadoop_list_addons, e.g. PRESTO, HBASE)"
    • changedInput schema / properties / cloudHadoopAdminUserName / description
      Previous value: -"Admin user name for Ambari (3-15 chars)"New value: +"Ambari admin user name (3-15 chars: lowercase letters, numbers, '-'; starts with a letter)"
    • addedInput schema / properties / cloudHadoopAdminUserName / pattern
      Added value: +"^[a-z][a-z0-9-]{1,13}[a-z0-9]$"
    • changedInput schema / properties / cloudHadoopAdminUserPassword / description
      Previous value: -"Admin password (8-20 chars)"New value: +"Admin password: 8-20 chars (9-20 in the Government zone) mixing letters, numbers and special characters; must not contain ' \" ₩ / & ` or spaces"
    • addedInput schema / properties / cloudHadoopAdminUserPassword / maxLength
      Added value: +20
    • addedInput schema / properties / cloudHadoopAdminUserPassword / minLength
      Added value: +8
    • changedInput schema / properties / cloudHadoopClusterName / description
      Previous value: -"Cluster name (3-15 chars, lowercase+numbers+'-')"New value: +"Cluster name (3-15 chars: lowercase letters, numbers, '-'; starts with a letter, ends with a letter or number)"
    • addedInput schema / properties / cloudHadoopClusterName / pattern
      Added value: +"^[a-z][a-z0-9-]{1,13}[a-z0-9]$"
    • changedInput schema / properties / cloudHadoopImageProductCode / description
      Previous value: -"Image product code. Default: latest"New value: +"Image product code (from ncloud_hadoop_list_image_products). Default: latest — explicit value recommended"
    • changedInput schema / properties / engineVersionCode / description
      Previous value: -"Engine version code (for Rocky cluster)"New value: +"Engine version code (for Rocky clusters). Not in the Financial-zone guide"
    • changedInput schema / properties / kdcPassword / description
      Previous value: -"KDC admin password (required when useKdc=true)"New value: +"KDC admin password (required when useKdc=true; 8-20 chars, 9-20 in the Government zone)"
    • addedInput schema / properties / kdcPassword / maxLength
      Added value: +20
    • addedInput schema / properties / kdcPassword / minLength
      Added value: +8
    • changedInput schema / properties / masterNodeDataStorageSize / description
      Previous value: -"Master storage GB (100-2000/10GB, or 4000, 6000)"New value: +"Master storage GB (100-2000 in 10 GB steps, or 4000, 6000)"
    • changedInput schema / properties / masterNodeDataStorageTypeCode / description
      Previous value: -"Master storage type (SSD|HDD|CB2)"New value: +"Master storage type: SSD | HDD (CB2 also in the Public zone)"
    • changedInput schema / properties / regionCode / description
      Previous value: -"Region code (e.g. KR)"New value: +"Region code (see ncloud_get_regions)"
    • changedInput schema / properties / useDataCatalog / description
      Previous value: -"Use Data Catalog for Hive metastore (default: false)"New value: +"Public zone only: use Data Catalog for the Hive metastore (default: false)"
    • addedInput schema / properties / workerNodeCount / maximum
      Added value: +8
    • addedInput schema / properties / workerNodeCount / minimum
      Added value: +2
    • changedInput schema / properties / workerNodeCount / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / workerNodeDataStorageSize / description
      Previous value: -"Worker storage GB (100-2000/10GB, or 4000, 6000)"New value: +"Worker storage GB (100-2000 in 10 GB steps, or 4000, 6000)"
    • changedInput schema / properties / workerNodeDataStorageTypeCode / description
      Previous value: -"Worker storage type (SSD|HDD|CB2)"New value: +"Worker storage type: SSD | HDD (CB2 also in the Public zone)"
  3. First observedv1.10.1

TDQS

A4.4/5.0
Behavior4/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 behavioral load and does so well: it discloses the mandatory HA topology, the image-code defaulting behavior, and a preview mode. It omits provisioning duration/asynchrony, permission requirements, and what a successful response returns, which are the remaining gaps for a provisioning call.

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?

Three sentences, front-loaded with purpose and the mandatory-constraint fact, then the image-code dependency, then the preview hint. The parenthetical list of lookup tools is dense but each name earns its place by explaining the dependency.

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

Completeness4/5

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

For a 29-parameter, 14-required provisioning call with no output schema, the description covers the highest-risk pitfalls (HA topology, image-code coupling, dry-run). It leaves lifecycle behavior, permissions, and return value undocumented, though the exhaustive schema picks up most parameter-level detail.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real cross-parameter semantics the schema cannot express: the image product code implicitly constrains cluster type, add-on, product, and subnet lookups and all chosen values must be consistent with it. It also flags that dryRun is a preview rather than a real create.

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

Purpose5/5

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

Opens with a specific verb and resource ("Create a new Cloud Hadoop cluster") and immediately adds the fixed-topology fact (2 masters, 1 edge, HA not configurable) that separates this from a generic cluster-create. It also names the four lookup siblings it depends on, so an agent can see how this tool relates to them.

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

Usage Guidelines4/5

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

Gives concrete operational guidance: pass cloudHadoopImageProductCode explicitly, source all related values from the same image, and use dryRun=true to preview. It stops short of stating when NOT to use this tool (e.g., versus cdss_create_cluster or other create_cluster siblings), so it is clear context without exclusions.

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