Skip to main content
Glama

rocketmq__BatchDeleteInstances

Batch-delete RocketMQ instances by ID or remove all failed instances for a project; deleted instance data is permanently removed without backup.

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": {
      "action": "<action>",
      "project_id": "<project_id>"
    },
    "name": "rocketmq__BatchDeleteInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes对实例的操作:delete。
instancesNo实例的ID列表。
project_idYes项目ID,获取方式请参见[获取项目ID](hrm-api-0011.xml)。
all_failureNo参数值为reliability,表示删除租户所有创建失败的RocketMQ实例。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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; it does disclose the critical destructive behavior that instance data is deleted with no backup. Beyond that it says nothing about required permissions, whether the deletion is reversible, partial-failure behavior, or what the response returns.

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?

Two short clauses with the destructive warning bolded and front-loaded; every sentence carries weight. Slightly reduced because the bracketed service tag and bold markup are cosmetic rather than informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive batch operation with no annotations and no output schema, the description covers the most important risk (irreversible data loss) but leaves out how the batch handles partial failure and what the response looks like, which an agent invoking it would want to know.

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 all four parameters (action, instances, project_id, all_failure) are already documented in the schema with enums. The description adds no parameter-level meaning such as the interaction between instances and all_failure, 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?

The description names a specific verb and resource (批量删除实例 / batch delete instances), and the word 批量 distinguishes it from the singular sibling rocketmq__DeleteInstance. It does not, however, mention any other sibling such as BatchRestartOrDeleteInstances explicitly.

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 or when-not-to-use guidance: nothing tells the agent to prefer this over the single-instance DeleteInstance, nor are prerequisites or conditions for the all_failure/reliability path stated. The only advisory is a generic caution about data loss, which is not usage routing.

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