Skip to main content
Glama

kafka__RestartConnectorTask

Start unstarted Kafka Smart Connect tasks or restart paused or running ones, resetting synchronization progress and restarting data sync.

Instructions

[KAFKA] 用于启动未启动的Smart Connect任务以及重启已暂停或者运行中的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>",
      "task_id": "<task_id>"
    },
    "name": "kafka__RestartConnectorTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesSmart Connect任务ID。
project_idYes项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose a high-value behavioral trait: restarting resets synchronization progress and restarts sync from the beginning. That is exactly the side-effect an agent needs before calling this. It still omits permissions required, whether the call is synchronous, and behavior when the task ID does not exist.

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

Conciseness5/5

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

Two sentences: the first front-loads purpose and qualifying states, the second front-loads the critical destructive caveat. Nothing is redundant, and the bracketed [KAFKA] prefix gives useful scoping.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, fully-described mutation tool with no output schema, the description covers purpose, applicable states, and the key side effect. The remaining gaps (required permissions, return/response shape, error behavior) are modest but real given the absence of annotations.

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 all three path parameters (task_id, project_id, instance_id) are documented in the schema, including a project ID retrieval reference. The description adds no additional meaning about parameter formats or constraints, so the baseline of 3 applies.

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

Purpose4/5

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

The description states a specific verb set (start / restart) and resource (Smart Connect task), and scopes it by task state (unstarted, paused, running). It does not name the closely related sibling ResumeConnectorTask, whose 'start a task' function overlaps with the 'start unstarted task' clause, so the boundaries between tools still require inference.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives qualifying task states, which is real when-to-use context. However, it never says when NOT to use this tool, nor does it route the agent to ResumeConnectorTask (for paused tasks) or PauseConnectorTask, leaving the agent without guidance for the obvious alternative choices among siblings.

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