Skip to main content
Glama

rocketmq__CreateTopicOrBatchDeleteTopic

Create a RocketMQ topic or batch delete multiple topics on a Huawei Cloud instance, with an optional delete action to select the operation.

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

Input Schema

NameRequiredDescriptionDefault
actionNo批量删除Topic时使用,不配置则为创建接口。删除操作:delete。
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.2/5.0
Behavior1/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: no warning that one mode irreversibly batch-deletes topics, no permission or instance-state prerequisites, no idempotency or failure semantics. For a tool that can destroy multiple topics in a single call, this silence is a serious gap.

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, front-loaded sentence with no filler or repetition. Its brevity is a virtue, but the sentence is a label rather than a specification, so it is efficient without being informative.

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 two-mode mutation tool with a destructive branch and zero annotations needs the description to explain the mode switch and the consequences of deletion; instead it only names the operations. The rich input schema partly compensates, but the behavioral picture an agent needs before calling it is missing.

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?

All three parameters are fully documented in the schema (100% coverage), including the action enum-like value and the project_id lookup reference, so the baseline of 3 applies. The description contributes nothing beyond the schema, not even a note that instance_id and project_id are required in the path.

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

Purpose2/5

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

The description "[ROCKETMQ] 创建主题或批量删除主题" is essentially a Chinese restatement of the tool name CreateTopicOrBatchDeleteTopic, giving no scope, no distinction from siblings like rocketmq__DeleteTopic or rocketmq__UpdateTopic, and no hint about what a "topic" covers here. It conveys two verbs and one resource, which is barely above tautology.

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: it never says that omitting the action parameter means create, that action=delete triggers the destructive path, or when an agent should prefer rocketmq__DeleteTopic over this batch variant. The schema documents the action switch, but the description adds no routing advice.

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