Skip to main content
Glama

kafka__CreateInstanceByEngine

Create a Kafka instance by specifying engine, version, brokers, storage, VPC, subnet, and security group. Provision managed Kafka clusters with configurable billing, access, and retention settings.

Instructions

[KAFKA] 创建实例。

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": {
      "available_zones": "<available_zones>",
      "broker_num": "<broker_num>",
      "engine": "<engine>",
      "engine_version": "<engine_version>",
      "name": "<name>",
      "product_id": "<product_id>",
      "project_id": "<project_id>",
      "security_group_id": "<security_group_id>",
      "storage_space": "<storage_space>",
      "storage_spec_code": "<storage_spec_code>",
      "subnet_id": "<subnet_id>",
      "vpc_id": "<vpc_id>"
    },
    "name": "kafka__CreateInstanceByEngine"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes实例名称。
tagsNo标签列表。
engineYes消息引擎。取值填写为:kafka。
vpc_idYes虚拟私有云ID。
passwordNo当ssl_enable为true时,该参数必选,ssl_enable为false时,该参数无效。
arch_typeNoCPU架构。当前只支持X86架构。
bss_paramNo表示包周期计费模式的相关参数。
subnet_idYes子网信息。
broker_numYes代理个数。
product_idYes产品ID。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
ssl_enableNo是否开启SASL加密访问。
tenant_ipsNo创建实例时可以手动指定实例节点的内网IP地址,仅支持指定IPv4地址。
access_userNo当ssl_enable为true时,该参数必选,ssl_enable为false时,该参数无效。
descriptionNo实例的描述信息。
ipv6_enableNo是否开启ipv6。仅在虚拟私有云支持ipv6时生效。
publicip_idNo实例绑定的弹性IP地址的ID。
maintain_endNo维护时间窗结束时间,格式为HH:mm。
port_protocolNo设置Kafka实例的接入方式。PLAINTEXT表示明文接入,SASL_SSL或者SASL_PLAINTEEXT表示密文接入。
storage_spaceYes消息存储空间,单位GB。
engine_versionYes消息引擎的版本。取值填写为:
maintain_beginNo维护时间窗开始时间,格式为HH:mm。
available_zonesYes创建节点到指定且有资源的可用区ID。请参考[查询可用区信息](ListAvailableZones.xml)获取可用区ID。
enable_publicipNo是否开启公网访问功能。默认不开启公网。
connector_enableNo是否开启消息转储功能。
retention_policyNo磁盘的容量到达容量阈值后,对于消息的处理策略。
vpc_client_plainNoVPC内网明文访问。
enable_auto_topicNo是否打开kafka自动创建topic功能。
security_group_idYes指定实例所属的安全组。
storage_spec_codeYes存储IO规格。
disk_encrypted_keyNo磁盘加密key,未开启磁盘加密时为空
disk_encrypted_enableNo是否开启磁盘加密。
enterprise_project_idNo企业项目ID。若为企业项目账号,该参数必填。
kafka_security_protocolNo开启SASL后使用的安全协议。
sasl_enabled_mechanismsNo开启SASL后使用的认证机制,如果开启了SASL认证功能(即ssl_enable=true),该字段为必选。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses nothing about billing/charging behavior (bss_param, prePaid vs postPaid), permission or project/enterprise-project requirements, cost implications, or irreversibility of provisioning a billable Kafka instance.

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

Conciseness2/5

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

The text is a single short phrase, but here brevity is under-specification rather than conciseness. Nothing is front-loaded or structured, and the sentence does not earn its place by conveying any usable detail.

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?

For a 35-parameter, 12-required instance-creation tool with no annotations and no output schema, the description is completely inadequate. It omits everything an agent needs to know beyond the schema: billing model, required setup context, and consequences of the call.

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 input schema already documents all 35 parameters, including enums for engine, storage_spec_code, and retention_policy. The description adds no parameter meaning beyond the schema, so the baseline of 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 description states a verb and resource ('创建实例' / create instance) and the '[KAFKA]' prefix names the engine, but it gives no differentiation from close siblings such as kafka__CreatePostPaidKafkaInstance or the rabbitmq/rocketmq create tools. The purpose is decipherable but not distinguishing.

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 guidance, no prerequisites, and no mention of the alternative create-instance siblings. The only implied usage is the trivial one carried by the verb 'create'.

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