Skip to main content
Glama

rabbitmq__BatchRestartOrDeleteInstances

Batch deletes RabbitMQ instances by instance ID or removes failed creations, simplifying cleanup of multiple resources in a Huawei Cloud project.

Instructions

[RABBITMQ] 批量删除实例。

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": "rabbitmq__BatchRestartOrDeleteInstances"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes对实例的操作:delete
instancesNo实例的ID列表。
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
all_failureNo是否批量删除创建失败的实例。

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 provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether deletion is irreversible, what happens to instances with dependent resources, how partial failures are handled, or what the response looks like. The only behavioral signal is that the operation is a batch delete, which is derivable from the name alone.

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?

The description is a single short sentence with no waste and the operation is front-loaded, but it is under-specified rather than efficiently concise. Brevity here reflects missing content rather than disciplined editing.

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 batch mutation with four parameters, no annotations, and no output schema, the description should at minimum warn about irreversibility and explain batch semantics. Instead it provides only the operation name, leaving an agent unable to reason about risk or outcomes before calling it.

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 and the baseline is 3. The description adds no further meaning, such as how 'all_failure' interacts with an explicit 'instances' list, which would have been genuinely useful.

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 ('批量删除实例') and the [RABBITMQ] tag identifies the service, so the agent knows this deletes RabbitMQ instances in bulk. It does not distinguish itself from sibling operations such as rocketmq__BatchDeleteInstances beyond the service prefix, and it omits the 'restart' half suggested by the tool name (which the schema's delete-only enum makes moot).

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?

The description gives no when-to-use guidance, no prerequisite (project_id) context, and no warning about when not to use it or which alternative to pick. Since this is a destructive batch operation, the absence of any caution or alternative routing is a real gap.

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