Skip to main content
Glama

rocketmq__UpdateTopic

Modify an existing RocketMQ topic by changing its permissions and read/write queue counts for a specified instance and project.

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>",
      "topic": "<topic>"
    },
    "name": "rocketmq__UpdateTopic"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYes主题名称。
permissionNo权限。
project_idYes项目ID,获取方式请参见[获取项目ID](hrm-api-0011.xml)。
instance_idYes实例ID。
read_queue_numNo总读队列个数。
write_queue_numNo总写队列个数。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 for a mutation tool, yet it discloses nothing about required permissions, whether changes are reversible, what happens to existing queue counts when read/write queue numbers are changed, or what the response looks like. It only establishes that this is a modification operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence contains no filler, but it is under-specified rather than concise — there is essentially no content to structure, and nothing is front-loaded beyond the bare operation name.

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

Completeness1/5

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

For a six-parameter mutation tool with three required parameters, no annotations, and no output schema, a one-clause description is wholly inadequate. An agent cannot determine permission requirements, side effects, or result semantics from this definition.

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 six parameters including topic, permission, instance_id, project_id, read_queue_num, and write_queue_num are already documented in the schema. The description adds no meaning beyond that, 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 gives a verb and resource ('修改主题' / modify topic), so the basic operation is identifiable, but it says nothing about what aspects of a topic can be modified or how this differs from sibling operations such as CreateTopicOrBatchDeleteTopic, DeleteTopic, or ShowOneTopic.

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 at all: no prerequisites, no distinction from create/delete/query siblings, and no indication of when an agent should prefer this over the other topic-management tools.

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