Skip to main content
Glama

rocketmq__ResetConsumeOffset

Resets RocketMQ consumer group offset for a topic to a specified timestamp, helping replay or recover message consumption from a chosen point.

Instructions

[ROCKETMQ] 重置消费进度。

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_id": "<group_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "timestamp": "<timestamp>",
      "topic": "<topic>"
    },
    "name": "rocketmq__ResetConsumeOffset"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes重置的主题。
engineYes引擎类型:reliability。reliability
group_idYes消费组名称。
timestampYes重置的时间。
project_idYes项目ID,获取方式请参见[获取项目ID](hrm-api-0011.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 behavioral burden, and it discloses nothing. It does not say that resetting an offset changes the consumption position (risking duplicate or skipped messages), whether it is reversible, whether the group must be stopped first, or what permissions are needed — all critical for a destructive-ish mutation.

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?

It is a single front-loaded sentence with no waste, but for a six-parameter mutation it is under-specified rather than concise. The bracketed product tag is mildly redundant given the tool name already carries the rocketmq prefix.

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?

A six-required-parameter mutation with no annotations, no output schema, and a one-line description leaves the agent without the operational context needed to invoke it safely. The schema covers the inputs, but nothing explains the effect or result of the reset.

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 topic, group_id, instance_id, project_id, and timestamp is already documented in the schema. The description adds no meaning beyond that (e.g. what format the timestamp takes or which direction the offset moves), so the 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?

States a specific verb and resource ("重置消费进度" / reset consume offset) plus the product tag [ROCKETMQ], so an agent can tell what object is affected. It does not distinguish itself from the closest analog (kafka__ResetMessageOffsetWithEngine) or explain how the offset is chosen, but the core operation is unambiguous.

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 the Kafka/Roma offset-reset siblings, no preconditions (consumer group must be online/offline, messages retained), and no exclusions. The agent must infer everything 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