Skip to main content
Glama

kafka__BatchDeleteInstanceTopic

Deletes multiple Kafka instance topics in one batch, returning success status and listing any topics that failed to delete.

Instructions

[KAFKA] 该接口用于向Kafka实例批量删除Topic。批量删除多个Topic时,部分删除成功,部分失败,此时接口返回删除成功,并在返回中显示删除失败的Topic信息。

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

Input Schema

NameRequiredDescriptionDefault
topicsNo**参数解释**:
project_idYes**参数解释**:
instance_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one genuinely non-obvious behavior: partial success returns an overall success with the failed topic names in the response. That is valuable, but it omits other critical traits for a destructive operation — irreversibility, required permissions, whether topics with active producers/consumers can be removed, and whether the failure list is the only error signal.

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 tight sentences with zero filler: the first front-loads the operation, the second front-loads the non-obvious partial-failure behavior. Nothing could be removed without losing information.

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

Completeness3/5

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

For a three-parameter destructive tool with no annotations and no output schema, the description covers the operation and its partial-result semantics but leaves out the irreversibility and permission context an agent needs before invoking a delete. Adequate, not complete.

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 reported as 100%, so the baseline is 3 even though the description says nothing per-parameter. It implies the topics array holds multiple topic names, adding a little meaning about multiplicity, but adds no format, limits, or batching constraints beyond the schema.

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 and resource — batch deleting Topics on a Kafka instance — which an agent can immediately map to the operation. It does not name a sibling (e.g. the single-topic delete) to contrast against, so the differentiation is implied rather than explicit.

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?

Usage is implied by '批量删除多个Topic' (use this when removing multiple topics at once), which is enough for an agent to prefer it over a single-topic delete. There is no explicit when-not guidance, no mention of prerequisites such as instance state or topic dependencies, and no alternative tool is named.

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