Skip to main content
Glama

rabbitmq__CreateQueue

Creates a queue on a Huawei Cloud RabbitMQ instance with settings for durability, auto-deletion, message TTL, lazy mode, and dead-letter routing.

Instructions

[RABBITMQ] 创建Queue。

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": {
      "auto_delete": "<auto_delete>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>",
      "vhost": "<vhost>"
    },
    "name": "rabbitmq__CreateQueue"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesQueue名称
vhostYesVhost名称
durableNo是否持久化(AMQP版本默认持久化,不涉及此字段)
lazy_modeNo若设置惰性队列,请输入lazy。惰性队列模式会在磁盘上存储尽可能多的消息以减少内存使用;若不设置,队列将消息存储在内存缓存以尽可能快地传递消息。(AMQP版本默认将消息存储到磁盘,不涉及此字段)
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
auto_deleteYes是否自动删除
instance_idYes实例ID
message_ttlNo发布到Queue的消息在被丢弃之前可以存活多长时间
dead_letter_exchangeNo死信Exchange名称,消息被拒绝或过期时将重新发布到该Exchange。
dead_letter_routing_keyNo死信Exchange的RoutingKey,死信Exchange会发送死信消息到绑定对应RoutingKey的Queue上。

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 provided, so the description carries the full disclosure burden, yet it says nothing about behavior: not whether the call fails or is idempotent when the queue already exists, not what defaults apply (durable, auto_delete), not the required permissions, and not what is returned. For a mutating create operation with zero annotation coverage, this is a serious gap.

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 is technically concise, but here brevity reflects under-specification rather than efficiency. Nothing is front-loaded beyond a restatement of the name, so the description cannot orient an agent before it opens the schema.

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?

This is a 10-parameter create tool with 5 required parameters, no annotations, and no output schema, so the description must explain creation semantics, conflicts, and side effects. It supplies none of that, leaving the agent dependent entirely on the input schema.

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 all 10 parameters documented in the schema, including durable, lazy_mode, message_ttl, and dead-letter settings, so the schema does the heavy lifting. The description adds no meaning beyond it, but the baseline of 3 applies when coverage is high.

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 reads "[RABBITMQ] 创建Queue。", which merely restates the tool name CreateQueue in another language. There is no scope, no target resource detail (instance/vhost context), and nothing to distinguish it from siblings such as rabbitmq__BatchDeleteQueues or rabbitmq__CreateExchange beyond the bare verb+noun.

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 prerequisites (e.g., vhost must exist, instance must be running), and no mention of alternatives such as batch creation or instance/vhost creation that must precede it. The only usage signal comes from the tool name itself.

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