Skip to main content
Glama

rabbitmq__CreateExchange

Creates a RabbitMQ exchange in a specified instance and vhost with configurable type, durability, and auto-delete settings for routing messages.

Instructions

[RABBITMQ] 创建Exchange。

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>",
      "type": "<type>",
      "vhost": "<vhost>"
    },
    "name": "rabbitmq__CreateExchange"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExchange名称
typeYes类型(direct、fanout、topic、headers)
vhostYesVhost名称
durableNo是否持久化(AMQP版本默认持久化,不涉及此参数)。
internalNo内部Exchange(AMQP版本不支持内部Exchange,不涉及此参数)。
argumentsNo参数列表
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
auto_deleteYes是否自动删除
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 behavioral burden, and it discloses essentially nothing. It does not state that this is a mutating/write operation with lasting effects, whether creation is idempotent or fails on an existing name, what permissions the project or instance require, or what happens on a duplicate. The only behavioral signal is the verb 'create' itself.

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 single short sentence is front-loaded and contains zero filler, but its brevity reflects under-specification rather than disciplined concision. There is no wasted wording, but also no second sentence that would earn its place by explaining usage or effects.

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 9-parameter (6 required) mutating resource-creation tool with no annotations and no output schema, so the description was the only place to explain side effects, idempotency, and permission requirements, and it omits all of them. The parameter semantics are fully covered by the schema, but the behavioral and selection context is not.

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 one of the 9 parameters individually documented, including the meaningful enum-like values for 'type' (direct/fanout/topic/headers) and the AMQP caveats on durable and internal. 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ('创建' / create) with a specific resource ('Exchange'), so an agent knows exactly what operation the tool performs. It does not, however, distinguish this from siblings such as rabbitmq__ListExchanges, rabbitmq__BatchDeleteExchanges, or rabbitmq__CreateBinding, which it leaves to the tool name alone.

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 use this tool versus the sibling listing, batch-delete, or binding tools, and no mention of prerequisites such as a pre-existing vhost or instance state. The only implied context is that a create operation is being requested.

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