Skip to main content
Glama

kafka__ShowPartitionBeginningMessage

Retrieves the earliest message offset for a Kafka topic partition, helping you identify the starting point of retained messages in a specified instance.

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": {
      "instance_id": "<instance_id>",
      "partition": "<partition>",
      "project_id": "<project_id>",
      "topic": "<topic>"
    },
    "name": "kafka__ShowPartitionBeginningMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes**参数解释**:
partitionYes**参数解释**:
project_idYes**参数解释**:
instance_idYes**参数解释**:

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 behavioral burden, yet it says nothing beyond the one-line purpose. It does not state whether this is a non-destructive read (only implied by '查询'), whether the partition must exist, whether it requires instance/topic permissions, or what form the '位置' takes (offset number vs. timestamp).

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?

One short sentence with the resource and scope front-loaded and no filler. It earns its place but is terse to the point of leaving ambiguity about the returned 'position'.

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?

With four required path parameters, no annotations, and no output schema, an agent needs more than a one-liner. The definition never explains what the returned position represents (offset, timestamp, or message body) or any precondition such as topic/partition existence, which is a meaningful gap for a lookup tool.

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 reported at 100%, so the baseline is 3 even though the description adds no parameter-level detail. In practice the schema entries are empty stubs ('**参数解释**:'), so the description likewise offers no clarification of topic format, partition numbering, or project_id/instance_id roles.

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 ('分区最早消息的位置'), which inherently contrasts with the sibling 'ShowPartitionEndMessage' (latest message). It is clearly a read of a partition's earliest offset, though it never names or explicitly distinguishes itself from that sibling.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as ShowPartitionEndMessage or ShowPartitionMessage. Usage is only implied by the word 'earliest', which lets an agent infer it is for finding the low-water-mark offset rather than reading messages.

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