Skip to main content
Glama

kafka__CreateConnector

Creates Smart Connect nodes by submitting a provisioning task for a Kafka instance, enabling data transfer or dump operations.

Instructions

[KAFKA] 开启Smart Connect,提交创建Smart Connect节点任务。

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "kafka__CreateConnector"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_cntNoSmart Connect节点数量。不能小于2个。
spec_codeNo转储节点规格编码。仅老规格实例需要填写。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
specificationNo部署Smart Connect的规格,基准带宽,表示单位时间内传送的最大数据量。请保持和当前实例规格一致。仅老规格实例需要填写。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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. It hints at an asynchronous job ('提交创建...任务') but never states whether the call returns a task ID, whether the operation is idempotent, what happens if Smart Connect is already enabled, or what permissions are required. For a mutation tool this is a significant gap.

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

Conciseness3/5

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

A single short sentence with no wasted words, but it is terse to the point of under-specification. The structure is fine; the content is too thin for a 5-parameter mutation tool.

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?

A 5-parameter write operation with no annotations and no output schema needs more: the description should explain the resulting effect on the instance, the async task model, and any state prerequisites. What is present is a one-line summary that leaves the agent guessing about outcomes.

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% and the per-parameter constraints (node_cnt minimum of 2, spec_code only for old-spec instances, specification bandwidth enum) are already fully documented in the schema. The description adds no parameter meaning beyond that, so the baseline 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 names an action ('开启Smart Connect' / submit a task to create Smart Connect nodes) and the resource, but it sits awkwardly against the tool name CreateConnector and does not distinguish this from the sibling kafka__CreateConnectorTask, which sounds nearly identical. An agent cannot tell from the text alone whether this creates the connector itself or an execution task.

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 when-to-use guidance, no prerequisites (e.g. instance must be in a certain state, or that this is a distinct step from CreateConnectorTask), and no named alternatives. The agent is left to infer routing from the tool name and sibling list.

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