Skip to main content
Glama

kafka__ListInstanceConsumerGroupTopics

Lists the Kafka topics associated with a specified consumer group in a Huawei Cloud instance, so you can inspect group topic scope and subscriptions.

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": {
      "engine": "<engine>",
      "group": "<group>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "kafka__ListInstanceConsumerGroupTopics"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYes消费组ID。
limitNo当次查询返回的最大topic个数,默认值为10,取值范围为1~50。
topicNotopic名称。
engineYes引擎。
offsetNo偏移量,表示从此偏移量开始查询, offset大于等于0。
sort_dirNo排序方式。
sort_keyNo排序规则:
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

C2.6/5.0
Behavior2/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 of behavioral disclosure, yet it only restates the operation. It does not say the call is read-only, what happens for an unknown group, whether the response paginates despite limit/offset parameters being present, or how the results are ordered.

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?

It is a single short sentence with the engine tag and the core operation front-loaded and no wasted words. The brevity is not the problem here; the sentence simply lacks the detail that would make it useful.

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?

For a nine-parameter tool with no annotations and no output schema, a single-phrase description leaves the agent without return-shape, pagination, or filtering context. The schema fills in parameter detail but nothing explains the result or the failure modes.

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%, so all nine parameters (including limit range 1-50, offset, topic filter, and sort keys) are already documented in the schema. The description adds no meaning beyond that, which meets but does not exceed the baseline when the schema does the heavy lifting.

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

Purpose3/5

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

The description states a verb and resource (query topics belonging to a specified consumer group), which is more specific than the bare tool name. However, it is a single terse phrase with no scope detail and no indication of how it differs from sibling listings such as ListInstanceTopics or ListInstanceConsumerGroupMembers.

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?

There is no guidance on when to use this tool rather than the sibling listing tools, and no mention of prerequisites such as the group having active subscriptions or requiring instance-level permissions. The agent must infer usage entirely from the tool name and path parameters.

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