Skip to main content
Glama
atengk

mcp-server-kafka

by atengk

kafka_produce_message

Publish messages to a specified Apache Kafka topic with keys, JSON/text payloads, and headers; not available in read-only mode.

Instructions

向指定 Kafka 主题发送消息(支持 Key、JSON/文本载荷与 Headers;只读模式下不可用)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNo
topicYes
valueYes
headersNo
partitionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the read-only-mode restriction and supported payload formats, which adds real context, but omits key behavioral traits for a write operation: required permissions, delivery guarantees, error behavior, and whether the write is idempotent/reversible.

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

Conciseness4/5

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

A single front-loaded sentence that leads with the core action and then appends the mode restriction and format notes. No wasted words, though the parenthetical bundles several facts tightly.

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?

An output schema exists, so return values need not be explained, and the read-only caveat is helpful. Still, for a 5-parameter mutation tool with zero schema description coverage, the missing partition semantics and lack of operational context leave it only adequate.

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 0%, so the description must compensate. It mentions key, value/payload (clarifying JSON or text), and headers, adding format meaning beyond the bare schema. But it never addresses the partition parameter or what the key does with respect to partitioning, leaving a coverage gap.

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?

States a specific verb and resource (send a message to a Kafka topic), which is clearly distinct from the sibling tools that only manage topic metadata (list/create/delete/describe). However, it does not explicitly name an alternative to route away from, so sibling differentiation is implicit rather than stated.

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?

Includes one useful condition — unavailable in read-only mode — which is a genuine 'when not to use' signal. It does not mention any alternative tools or when to prefer other approaches, and lacks prerequisites (e.g. topic must exist, broker connectivity).

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