Skip to main content
Glama
atengk

mcp-server-kafka

by atengk

kafka_delete_topic

Delete a Kafka topic from a cluster with an explicit confirm=True flag, ensuring destructive actions require deliberate confirmation.

Instructions

从 Kafka 集群中删除主题(高危破坏操作,必须传入 confirm=True 显式确认)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
topic_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/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 the critical trait: this is a destructive, high-risk operation that requires explicit confirm=True. It stops short of stating irreversibility, required permissions, or the effect on active consumers/producers.

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?

A single front-loaded sentence carrying the action, the risk level, and the confirmation requirement with zero filler. Nothing to trim.

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?

An output schema exists, so return values need no explanation. The description covers the destructive nature and the confirm gate, but omits permissions/auth requirements and irreversibility, which matter for a destructive operation with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It fully explains the non-obvious `confirm` parameter (must be explicitly True), which is the semantically important one; `topic_name` is self-evident from its name. It adds real meaning beyond the bare boolean/default in the schema.

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

Purpose5/5

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

States a specific verb and resource ('delete topic from Kafka cluster'), which is unambiguous and inherently distinct from all siblings (list/describe/create/produce). An agent immediately knows what this tool does without opening the schema.

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?

The description flags the operation as high-risk and states the confirm=True prerequisite, which is useful gating guidance. However, it never says when to use this versus alternatives (e.g. kafka_describe_topic to verify before deleting) or when not to use it, so usage routing is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.