Skip to main content
Glama

create_cloud_db

Create new Cloud DB instances on Naver Cloud Platform by specifying service name, server configuration, product codes, and network settings.

Instructions

새로운 Cloud DB 인스턴스를 생성합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cloudDBServiceNameYesCloud DB 서비스 이름
cloudDBServerNamePrefixYes서버 이름 접두사
cloudDBServerCountYes서버 개수
cloudDBProductCodeYes상품 코드
cloudDBImageProductCodeYes이미지 상품 코드
dataStorageTypeCodeYes스토리지 타입 코드
vpcNoNoVPC 번호
subnetNoNo서브넷 번호

Implementation Reference

  • Core handler function in NCPClient class that performs the actual Cloud DB creation by making an authenticated GET request to the NCP API endpoint /clouddb/v2/createCloudDBInstance.
    async createCloudDB(params: {
      cloudDBServiceName: string;
      cloudDBServerNamePrefix: string;
      cloudDBServerCount: string;
      cloudDBProductCode: string;
      cloudDBImageProductCode: string;
      dataStorageTypeCode: string;
      vpcNo?: string;
      subnetNo?: string;
    }) {
      return await this.request("GET", "/clouddb/v2", "/createCloudDBInstance", params);
    }
  • MCP tool call dispatcher switch case that handles incoming 'create_cloud_db' tool requests by casting arguments to the correct type and delegating to ncpClient.createCloudDB.
    case "create_cloud_db": {
      const typedArgs = args as {
        cloudDBServiceName: string;
        cloudDBServerNamePrefix: string;
        cloudDBServerCount: string;
        cloudDBProductCode: string;
        cloudDBImageProductCode: string;
        dataStorageTypeCode: string;
        vpcNo?: string;
        subnetNo?: string;
      };
      result = await ncpClient.createCloudDB(typedArgs);
      break;
  • Input schema definition for the 'create_cloud_db' tool, specifying parameters and required fields, matching the handler function signature.
    inputSchema: {
      type: "object",
      properties: {
        cloudDBServiceName: { type: "string", description: "Cloud DB 서비스 이름" },
        cloudDBServerNamePrefix: { type: "string", description: "서버 이름 접두사" },
        cloudDBServerCount: { type: "string", description: "서버 개수" },
        cloudDBProductCode: { type: "string", description: "상품 코드" },
        cloudDBImageProductCode: { type: "string", description: "이미지 상품 코드" },
        dataStorageTypeCode: { type: "string", description: "스토리지 타입 코드" },
        vpcNo: { type: "string", description: "VPC 번호" },
        subnetNo: { type: "string", description: "서브넷 번호" },
      },
      required: ["cloudDBServiceName", "cloudDBServerNamePrefix", "cloudDBServerCount", "cloudDBProductCode", "cloudDBImageProductCode", "dataStorageTypeCode"],
    },
  • src/index.ts:535-552 (registration)
    Registration of the 'create_cloud_db' tool in the MCP server's tool list response, including name, description, and schema.
    {
      name: "create_cloud_db",
      description: "새로운 Cloud DB 인스턴스를 생성합니다",
      inputSchema: {
        type: "object",
        properties: {
          cloudDBServiceName: { type: "string", description: "Cloud DB 서비스 이름" },
          cloudDBServerNamePrefix: { type: "string", description: "서버 이름 접두사" },
          cloudDBServerCount: { type: "string", description: "서버 개수" },
          cloudDBProductCode: { type: "string", description: "상품 코드" },
          cloudDBImageProductCode: { type: "string", description: "이미지 상품 코드" },
          dataStorageTypeCode: { type: "string", description: "스토리지 타입 코드" },
          vpcNo: { type: "string", description: "VPC 번호" },
          subnetNo: { type: "string", description: "서브넷 번호" },
        },
        required: ["cloudDBServiceName", "cloudDBServerNamePrefix", "cloudDBServerCount", "cloudDBProductCode", "cloudDBImageProductCode", "dataStorageTypeCode"],
      },
    },

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states that it creates an instance, but does not mention potential side effects such as provisioning time, cost implications, required permissions, or whether the operation is asynchronous. This leaves significant ambiguity.

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?

The description is a single sentence with no wasted words, which is appropriately concise. However, it is slightly under-specified for a tool with 8 parameters, but the brevity does not harm clarity significantly.

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?

Given the complexity of creating a Cloud DB instance (8 parameters, no output schema), the description is incomplete. It lacks information about expected outcomes, potential errors, or any unique aspects of the process. This leaves the agent without sufficient context to invoke the tool confidently.

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?

The input schema has full description coverage (100%), so the baseline is 3. The tool description itself adds no parameter semantics beyond what the schema already provides. The schema descriptions are standard and clear, so this dimension is adequately covered by the structured data.

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?

The description states 'Creates a new Cloud DB instance' in Korean, which is a specific verb+resource combination. It clearly distinguishes from sibling tools like list_cloud_dbs and delete_cloud_db, as creation is a distinct operation.

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?

No guidance is provided about when to use this tool versus alternatives. While the name implies usage for creating a Cloud DB, there is no explicit context or exclusions, making it unclear whether there are prerequisites or constraints.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.