Skip to main content
Glama

kafka__CreateConnectorTask

Creates Kafka Smart Connect tasks to replicate topics between Kafka instances or export topic data to OBS using specified source and sink settings.

Instructions

[KAFKA] 创建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__CreateConnectorTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicsNoSmartConnect任务配置的Topic。
sink_taskNoSmartConnect任务的目标端配置。
sink_typeNoSmartConnect任务的目标端类型。
task_nameNoSmartConnect任务名称。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。
source_taskNoSmartConnect任务的源端配置。
source_typeNoSmartConnect任务的源端类型。
start_laterNo是否稍后再启动任务。如需要创建任务后立即启动,请填false;如希望稍后在任务列表中手动开启任务,请填true。
topics_regexNoSmartConnect任务配置的Topic正则表达式。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/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 disclosure burden, yet it says nothing beyond the bare action. It does not state that this is a mutating create operation with billing or resource-allocation consequences, whether the task starts immediately (the start_later semantics are only in the schema), what permissions are needed, or what happens on failure.

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 single sentence is not verbose, but it is severely under-specified rather than concise, and the bracketed '[KAFKA]' prefix adds no navigational value. There is no front-loaded explanation of what gets created.

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?

This is a complex tool with 10 parameters, two nested configuration objects, two enums, no annotations and no output schema. A one-line restatement of the name is not sufficient context for an agent to decide when and how to invoke it correctly.

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 nested source_task/sink_task properties are richly documented inline, so parameters are already well explained by the schema. The description contributes no additional meaning about how topics, topics_regex, source_type and sink_type interact, so the baseline 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?

The description 'Create Smart Connect task' essentially restates the tool name CreateConnectorTask, adding only the 'Smart Connect' product concept. It does not identify what a Smart Connect task consists of (source/sink configuration) or distinguish this tool from sibling kafka__CreateConnector.

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 guidance at all: no prerequisites, no statement of when a Smart Connect task is appropriate versus kafka__CreateConnector, and no mention of the source_type/sink_type selection that governs the call. An agent must infer everything from the schema alone.

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