Skip to main content
Glama

rabbitmq__ResizeEngineInstance

Change RabbitMQ instance specifications by scaling brokers horizontally or vertically, including broker count and storage capacity adjustments in Huawei Cloud.

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

Input Schema

NameRequiredDescriptionDefault
engineYes消息引擎的类型。支持的类型为rabbitmq。rabbitmq
oper_typeYes变更类型。
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
instance_idYes实例ID。
new_spec_codeNo老规格,例如dms.instance.rabbitmq.cluster.c3.8u16g,当oper_type类型horizontal时,为dms.instance.rabbitmq.cluster.c3.8u16g.5,最后的数字5为代理数
new_broker_numNo当oper_type参数为horizontal时,该参数有效。
new_product_idNo规格,例如c6.8u16g.cluster,当oper_type类型是vertical时,该参数才有效且必填。
new_storage_spaceNo扩容后的存储空间。

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 exist, so the description carries the full burden, and it discloses nothing: not that this is a mutating, likely long-running operation, not whether it causes restarts or downtime, not whether billing changes, and not whether the result is synchronous or a job/order ID. '变更' implies mutation but gives no operational context.

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?

It is only one short sentence, so there is no padding, but that brevity comes at the cost of under-specification rather than efficiency. The engine tag is front-loaded, which is the only structural strength.

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?

An 8-parameter mutation tool with three distinct change modes and no annotations or output schema needs far more than a five-word sentence. An agent cannot determine from this definition how to choose oper_type, what the valid enum values are, or what the operation returns.

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%, and the schema already explains the oper_type-dependent parameters (new_spec_code, new_broker_num, new_product_id, new_storage_space) in detail. The description adds no additional meaning, 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?

The description states a resource and action ('实例规格变更' – instance spec change) with a RabbitMQ tag, so the general intent is recoverable. But it never distinguishes horizontal scaling from vertical scaling or storage expansion, which is exactly what the parameter surface is organized around, and it is indistinguishable in wording from the kafka/rocketmq Resize tools.

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, no indication that ShowEngineInstanceExtendProductInfo should be called first to obtain valid spec codes, and no warning about when this cannot be applied (e.g., while another change is in progress). The agent must infer all of this.

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