Skip to main content
Glama

kafka__ListInstanceConsumerGroupMessageOffset

Query Kafka consumer group message offsets for a specific instance and group, with optional topic, partition, offset, and limit filters to inspect consumption progress.

Instructions

[KAFKA] 查询消费组消息位点。

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

Input Schema

NameRequiredDescriptionDefault
groupYes消费组名称。
limitNo最大值。
topicNotopic名称。
engineYes消息引擎。
offsetNo偏移值。
partitionNo分区名称。
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.8/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. It implies a read operation via '查询' but says nothing about required permissions, whether results are paginated by limit/offset, what happens with a missing topic or partition, or rate limits. For an 8-parameter tool with zero annotation coverage this is a substantial gap.

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 front-loaded sentence with no wasted words, which is structurally clean. However, brevity here shades into under-specification: one clause is not appropriately sized for a tool with eight parameters and no annotations to lean on.

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?

The tool has 8 parameters, 4 of them required, paging controls, no output schema, and no annotations. The description supplies none of the context an agent needs about return shape, empty-result behavior, or how paging works. Relative to this complexity, it is inadequate.

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 every parameter including group, engine, instance_id, project_id, topic, partition, limit, and offset is already documented in the schema. The description adds no meaning beyond that baseline, such as how limit and offset interact for paging or whether topic/partition are optional filters. Baseline 3 applies.

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: querying message offsets for a consumer group, with a [KAFKA] product tag. An agent can tell this is a read of offset/position data rather than group metadata or topic listings. It does not name a sibling or explicitly contrast with ListInstanceConsumerGroup or ResetMessageOffsetWithEngine, so it stops short of a 5.

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 versus alternatives such as ListInstanceConsumerGroupTopics, ShowPartitionMessage, or ResetMessageOffsetWithEngine. No prerequisites, no exclusions, and no statement of what question this answers that a sibling cannot. The agent must infer usage entirely from the name.

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