delete_exchange
Delete an exchange from RabbitMQ by name, with an optional virtual host to remove it from the correct vhost.
Instructions
删除交换机
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 交换机名称 | |
| vhost | No | 虚拟主机名称 (默认: /) | / |
Delete an exchange from RabbitMQ by name, with an optional virtual host to remove it from the correct vhost.
删除交换机
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 交换机名称 | |
| vhost | No | 虚拟主机名称 (默认: /) | / |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Delete' implies a destructive, likely irreversible mutation, but the description says nothing about whether dependent bindings are removed, whether the exchange must be empty, what permissions are needed, or what the response is.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is a single short phrase with no wasted words, so it is not bloated. However, brevity here reflects under-specification rather than disciplined conciseness, since nothing is front-loaded beyond the bare action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive two-parameter tool with no annotations and no output schema, the description is far too thin. An agent gets no information about side effects, safety, or failure conditions that would let it invoke this confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and both parameters ('name' and 'vhost') are documented in the schema with a default noted for vhost. 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.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource ('删除交换机' / delete exchange), which is unambiguous about what the tool does. It does not explicitly contrast itself with siblings such as delete_queue, delete_vhost, or delete_binding, but the resource noun is specific enough for an agent to distinguish it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 alternatives, no prerequisite checks, and no warning about the destructive nature of the operation. The agent must infer everything from the verb alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.