Skip to main content
Glama
atengk

mcp-server-rabbitmq

by atengk

rabbitmq_delete_queue

Delete a specified RabbitMQ queue with second confirmation; if unconfirmed, return an impact estimate. Optionally restrict deletion to unused or empty queues.

Instructions

受控删除指定队列.

强制要求二次确认 (confirm: bool = False),未确认时仅返回受影响预估报告 (ADR-0002)。

@param name 待删除的队列名称 @param confirm 二次确认标识,默认为 False @param if_unused 是否仅在无消费者时删除,默认为 False @param if_empty 是否仅在队列为空时删除,默认为 False @param connection 目标连接别名,默认为 'default' @return 删除结果或二次确认预估报告

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
confirmNo
if_emptyNo
if_unusedNo
connectionNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the mandatory two-phase confirmation, that confirm defaults to False, that unconfirmed calls return only an impact-estimate report, and cites ADR-0002. It omits permissions required and irreversibility of the delete, so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core behavior and the confirmation constraint, then uses compact @param/@return blocks. No sentence is wasted and the structured format is easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation tool with no annotations and 0% schema description coverage, the description covers the confirmation flow, defaults, and all params, and an output schema exists so return formatting need not be spelled out. It could still mention required permissions or irreversibility, but it is substantially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it documents all five parameters (name, confirm, if_unused, if_empty, connection) via @param tags. The explanations are terse but sufficient to understand each parameter's effect beyond the bare schema.

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?

States a specific verb+resource ('受控删除指定队列' – controlled deletion of the specified queue), which clearly distinguishes it from siblings like rabbitmq_purge_queue or rabbitmq_delete_exchange. It does not explicitly name an alternative, so it falls just short of 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it via the mandatory confirmation workflow, but it never contrasts this tool with the alternative rabbitmq_purge_queue (which empties a queue without deleting it). Usage is implied rather than explicitly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.