Skip to main content
Glama

rocketmq__BatchCreateOrDeleteRocketmqTag

Batch create or delete tag key-value pairs for a RocketMQ instance by providing the instance ID, project ID, tag list, and create or delete action.

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

Input Schema

NameRequiredDescriptionDefault
tagsNo标签列表。
actionNo操作标识(仅支持小写):
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

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the whole burden. It implies a mutation but does not disclose whether create overwrites an existing key, what happens on delete of a nonexistent tag, whether the batch is atomic or can partially fail, or any tag-count limits — all material for a batch write 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 front-loaded sentence with a clear verb and resource and zero filler or repetition of the schema. It is terse but not wasteful; the shortness reflects missing detail rather than bloat.

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?

The schema fully documents all four parameters, so an agent can construct a call, but for a batch mutation with no annotations and no output schema the description should still state the success/failure/per-tag result shape and any limits. As written, the agent has the parameters but not the operational semantics.

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%, with every parameter including the action enum documented inline, so the baseline is 3. The description adds no extra meaning such as the supported tag-key/value format, batch-size limits, or the default behavior when action is omitted.

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?

Names a specific verb pair and resource: batch add or delete tags on a RocketMQ instance. The scoping is clear ('实例标签' = instance tags) and the [ROCKETMQ] prefix separates it from the Kafka/RabbitMQ tag siblings, but the description itself does not explain why an agent would pick this over kafka__BatchCreateOrDeleteKafkaTag beyond the service name.

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 or when-not-to-use guidance, no mention of alternatives such as the per-service tag tools, and no stated prerequisites (e.g., the instance must exist, the caller needs tag permissions, or whether this replaces existing tags). The only implied guidance is that create/delete is selected via the action parameter.

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