Skip to main content
Glama

rocketmq__ResizeInstance

Modify RocketMQ instance specifications to scale vertically, horizontally, or adjust storage, aligning capacity with workload and performance needs.

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

Input Schema

NameRequiredDescriptionDefault
engineYes消息引擎的类型。支持的类型为rocketmq。
oper_typeYes变更类型
project_idYes项目ID,获取方式请参见[获取项目ID](hrm-api-0011.xml)。
instance_idYes实例ID。
publicip_idNo实例绑定的弹性IP地址的ID。
new_broker_numNo代理数量
new_product_idNo当oper_type类型是vertical时,该参数才有效且必填。
new_storage_spaceNo当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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, yet it discloses nothing about this being a mutating, potentially disruptive operation. It says nothing about required permissions, whether the instance restarts or experiences downtime, whether the change is reversible, or how long it takes.

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?

A single bracketed phrase with zero filler, but its brevity comes from under-specification rather than economy — there is no useful front-loaded information to compress. Nothing in the sentence is wasted, but nothing is earned either.

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?

This is a mutating resize operation with 8 parameters and conditional required fields, with no annotations and no output schema to fall back on. The schema covers parameter semantics well, but the description leaves an agent without any understanding of impact, sequencing, or side effects.

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% across all 8 parameters, and the schema itself documents the conditional rules (new_product_id valid only for vertical, new_storage_space for storage/horizontal) and the storage formula. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 '实例规格变更' (instance specification change) essentially restates the tool name ResizeInstance, adding only the word 'specification'. It does not clarify whether this covers vertical scaling, horizontal scaling, or storage expansion even though the schema's oper_type does, and it draws no distinction from siblings such as rocketmq__UpdateInstance or kafka__ResizeEngineInstance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no prerequisites, no indication of when to pick this over rocketmq__UpdateInstance or the storage-specific resize siblings, and no warning about the operation's scope. Everything must be inferred from the name alone.

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