Skip to main content
Glama

rocketmq__SendDlqMessage

Resend specified dead-letter messages in a RocketMQ instance to retry failed message delivery and recover undelivered messages.

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>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "rocketmq__SendDlqMessage"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoTopic名称。
engineYes消息引擎。reliability
project_idYes项目ID,获取方式请参见[获取项目ID](hrm-api-0011.xml)。
instance_idYes实例ID。
msg_id_listNo消息列表。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 fails to do so. "Resend" implies a state-changing operation, but the description does not say whether the message is removed from the DLQ, re-delivered to the original consumer, whether the action is reversible or repeatable, or what permissions/rate limits apply.

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 no filler, so nothing is wasted. The problem is under-specification rather than verbosity, and the bracketed engine tag consumes part of the already minimal content.

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 five-parameter, state-changing tool with no annotations and no output schema, the definition is far too thin: it omits side effects, outcome reporting, and batching semantics of msg_id_list. The only thing filling the gap is the schema itself.

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 (engine, instance_id, project_id, topic, msg_id_list) is already documented in the schema. The description adds no extra meaning about how msg_id_list batching behaves or whether topic is required for re-delivery, so the baseline of 3 applies.

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?

"重发死信消息" names a concrete verb (resend) and resource (dead-letter message), so the general purpose is recoverable. However it never states where the message is resent to, under what scope (single message vs. list), or how it differs from the sibling ExportDlqMessage, so the agent cannot fully disambiguate it.

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 when-to-use guidance at all: no precondition (e.g. message must already be in the DLQ), no exclusion, and no pointer to ExportDlqMessage or other RocketMQ siblings. The agent has to infer the workflow 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