Skip to main content
Glama
atengk

mcp-server-rabbitmq

by atengk

rabbitmq_get_messages

Retrieve messages from a RabbitMQ queue for inspection without removing them by default; enable ack to consume and delete them.

Instructions

受控拉取队列消息,默认 ack=False 仅采样不删除,传 ack=True 物理确认出队.

当传入 ack=True 时受全局写保护门禁 (--allow-write) 约束,防范在途数据误删。

@param queue 目标队列名称 @param count 拉取条数上限(1-50,默认 10) @param ack 是否物理确认并从队列移除,默认为 False(仅拉取) @param connection 目标连接别名,默认为 'default' @return 拉取消息清单报告

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ackNo
countNo
queueYes
connectionNodefault

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.8/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 burden and does well: it discloses that the default is non-destructive sampling, that ack=True physically removes messages, and that this destructive path is gated by the --allow-write write-protection to prevent accidental in-flight data loss. It omits any note on permission/connection requirements or what happens on missing queues, keeping it short of a 5.

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?

Front-loads the most important behavioral fact (default non-destructive sampling) before the parameter list, then uses a conventional @param block. Efficient and well-ordered, with only mild redundancy in restating schema defaults.

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?

An output schema exists so return values need no explanation, all four parameters are documented, and the destructive-mode risk is disclosed. The one real gap is the absence of any routing guidance relative to 'rabbitmq_peek_messages', which is the most likely confusion point for an agent.

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 four parameters (queue, count, ack, connection). Notably it adds the '1-50' range for count that the schema lacks (schema has only a default), though the default values it restates are already visible in the 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 and resource ('controlled pull of queue messages') and clearly contrasts its two modes (ack=False sampling vs ack=True physical dequeue). It does not, however, differentiate itself from the very similar sibling 'rabbitmq_peek_messages', which an agent could easily confuse it with.

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 each mode applies (sampling by default; ack=True only when you intend to remove messages) and flags the --allow-write gate for the destructive path. But it never names the alternative tool ('rabbitmq_peek_messages') or states when to prefer one over the other, leaving the key sibling choice to inference.

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