Skip to main content
Glama

rocketmq__ListRocketMqMigrationTask

Lists all RocketMQ migration tasks for a specified instance and project, with optional task ID, name, type, and pagination filters to locate migration activity.

Instructions

[ROCKETMQ] 1. 查询实例下所有迁移任务

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

Input Schema

NameRequiredDescriptionDefault
idNo任务ID。
nameNo- 查询vhost列表时,该字段可为空。
typeNo查询类型。
limitNo当前页大小。
offsetNo当前页,从1开始。
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.8/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 full disclosure burden, and it only says the tool lists all tasks. It does not disclose pagination behavior (limit/offset), whether required path IDs are validated, the return shape, or access requirements. For a 7-parameter list tool this leaves significant behavioral gaps.

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?

The description is a single short sentence with no wasted words, but the leading '1.' suggests a truncated multi-step doc that was cut off. It is efficient yet underspecified relative to the tool's parameter surface.

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?

With seven parameters, one enum, no output schema, and no annotations, the agent needs more than a one-line summary. The definition never explains pagination, filtering semantics, or what a migration task record contains, leaving the agent to infer behavior from a schema whose field descriptions appear borrowed from an unrelated API.

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 seven parameters are documented there and the description adds nothing. It also does not reconcile the schema's confusing generic fields (name is described in terms of vhost lists, and type enumerates vhost/exchange/queue/all) with the migration-task purpose. Baseline 3 applies when the schema does the heavy lifting.

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?

The description names a specific verb and resource: query all migration tasks under an instance. That distinguishes it from the sibling Create/Delete/Show/Update migration-task tools without needing the schema. It stops short of explicitly contrasting alternatives, so it lands just below a 5.

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 guidance on when to call this instead of, say, CreateRocketMqMigrationTask or DeleteRocketMqMigrationTask, and no stated prerequisites such as required instance state or permissions. The only hint of scope is 'under the instance', which is implied rather than explained.

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