Skip to main content
Glama
AIops-tools

queue-aiops

declare_queue

Create a RabbitMQ queue with options for durability and auto-delete, preview via dry-run, and record undo deletion for new queues.

Instructions

[WRITE][risk=medium] Declare (create) a rabbitmq queue; undo deletes it if new.

Records whether the queue already existed; the undo (delete) is recorded only for a newly-created queue. Also the replay target for delete_queue's undo. Pass dry_run=True to preview.

Args: vhost: The queue's vhost (the default vhost is '/'). name: Queue name to declare. durable: Survive broker restarts (default True). auto_delete: Delete when the last consumer disconnects (default False). arguments: Optional x-arguments (e.g. {'x-queue-type': 'quorum'}). dry_run: If True, preview without declaring. target: rabbitmq target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
vhostYes
targetNo
dry_runNo
durableNo
argumentsNo
auto_deleteNo
Behavior4/5

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

Since no annotations are provided, the description carries the burden and does well: it discloses the undo behavior (undo deletes it only if new), records whether the queue already existed, and supports dry_run preview. The inline [WRITE][risk=medium] header also telegraphs side effects. No contradiction with structured annotations (none exist).

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

Conciseness4/5

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

The description is reasonably compact, with a two-sentence summary followed by a bullet-style Args list. The opening includes a safety header and the body includes only relevant behavioral notes; no verbosity.

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

Completeness3/5

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

It covers purpose, behavioral details, and all parameters, but does not describe the return value or output of the tool, which is significant given there is no output schema. It also omits any mention of prerequisites or error conditions, leaving some gaps.

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

Parameters5/5

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

Schema descriptions are absent (0% coverage), so the Args section is the only source of parameter semantics. It explains all seven parameters, including defaults and examples (e.g., x-arguments), fully compensating for the schema's lack.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The description clearly states it declares (creates) a RabbitMQ queue, using a specific verb and resource. It distinguishes itself from siblings like delete_queue and list_queues by adding 'undo deletes it if new'.

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 mentions it is 'the replay target for delete_queue's undo', which provides a specific use case context. However, it does not explicitly state when to prefer this over other queue operations or when not to use it, so usage guidance is implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIops-tools/Queue-AIops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server