Skip to main content
Glama

rocketmq__DeleteInstance

Delete a specified RocketMQ instance in Huawei Cloud to release all resources associated with it. Use it to clean up unused instances and free project capacity.

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__DeleteInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations present, the description carries the full burden. It does disclose the destructive scope by saying all resources of the instance are released, which is genuine behavioral context beyond the schema. However, it omits irreversibility, whether the deletion is synchronous, and what happens to dependent resources such as topics and consumer groups — significant gaps for a destructive operation.

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?

A single short sentence with no wasted wording, leading with the action and following with the consequence. It is efficient, though its brevity leaves little room for the operational caveats a delete tool needs.

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 tool with no annotations and no output schema, the definition covers the what and the blast radius but not the how-safely: no permissions, no confirmation protocol, no sibling routing. Parameters are fully covered by the schema, so the remaining gap is guidance rather than structure.

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 coverage is 100% with only two path parameters (project_id and instance_id), both already documented in the schema. The description adds no additional semantics about their format or constraints, 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 (delete the specified instance) plus the effect (release all its resources), so the action is unambiguous. It does not distinguish this from the sibling rocketmq__BatchDeleteInstances, which is the obvious alternative for bulk deletion, so the agent gets no help choosing between them.

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?

No guidance on when to use this versus BatchDeleteInstances, and no stated prerequisites, confirmation step, or warnings about dependent topics/consumer groups. The agent must infer everything about the selection context.

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