Skip to main content
Glama

kafka__ListTopicProducers

Retrieve the current producers connected to a Kafka topic to monitor active clients and troubleshoot producer connectivity.

Instructions

[KAFKA] 查询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>",
      "topic": "<topic>"
    },
    "name": "kafka__ListTopicProducers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo**参数解释**:
topicYes**参数解释**:
offsetNo**参数解释**:
project_idYes**参数解释**:
instance_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it supplies almost nothing. 'Query' implies a read, but there is no statement about permissions required, whether the list is paginated (offset/limit exist in the schema but are unexplained), how stale the producer data may be, or what the response looks like.

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

Conciseness3/5

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

A single short sentence with the resource front-loaded and no wasted words, which is good. But the brevity is under-specification rather than economy: the sentence is too thin to guide invocation.

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?

Five parameters (three required), no annotations, and no output schema, so the description is the only source of behavioral context and it provides none. For a tool that returns producer records keyed to a specific instance/project/topic, an agent needs at least pagination and scope hints that are absent here.

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 nominally 100%, but every parameter description is the empty placeholder '**参数解释**:', so the schema contributes only types and min/max bounds. The tool description adds no meaning for instance_id, project_id, topic, offset or limit; the baseline 3 applies only because the schema at least constrains the parameters structurally.

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: querying the current producer list for a Topic. That resource ('producers of a topic') is distinct from the sibling tools, which cover partitions, quotas, access policies and topic CRUD, so an agent can tell what this returns 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 Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of alternatives such as ShowInstanceTopicDetail or ListTopicPartitions. The agent must infer the context (e.g. diagnosing which clients are writing to a topic) on its own.

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