Skip to main content
Glama

kafka__CreatePostPaidKafkaInstance

Creates a post-paid Kafka instance on Huawei Cloud, configuring VPC, subnet, brokers, storage, and security for message streaming workloads.

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__CreatePostPaidKafkaInstance"
  }
}

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

D1.7/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 disclosure burden, and it discloses nothing: not that this is an irreversible, billable provisioning action, not that creation is asynchronous, not the permission/tenant requirements, and not what state the instance lands in. For a 12-required-parameter resource-creation tool this is a severe gap.

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?

It is short, but it is vacuous rather than concise: a bracketed tag plus three words that add no information beyond the tool name. Nothing is front-loaded because there is nothing to front-load.

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?

Given a 35-parameter, billing-relevant instance creation operation with nested billing and access-protocol objects and no annotations or output schema, the description should explain prerequisites, cost model, and outcome. It explains none of these.

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 all 35 parameters, including the nested bss_param and port_protocol objects, are documented in the schema itself. The description contributes no additional meaning, but with full schema coverage the baseline of 3 applies.

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

Purpose2/5

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

"创建实例" merely restates the tool name (CreatePostPaidKafkaInstance); the only added token is the redundant "[KAFKA]" prefix already implied by the name. It does not distinguish this tool from the sibling kafka__CreateInstanceByEngine, which by name alone appears to also create an instance.

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

Usage Guidelines1/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, no mention of prerequisites (project, VPC, subnet, security group must exist), and no pointer to the near-identical sibling kafka__CreateInstanceByEngine. An agent has nothing to decide between the two creation paths.

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