Skip to main content
Glama
BrianDeacon

azure-utils-mcp

by BrianDeacon

servicebus_peek_dlq

Peek at messages in an Azure Service Bus dead letter queue without consuming or locking them. Returns message bodies, dead letter reason, and metadata for troubleshooting.

Instructions

Non-destructively peek at messages in the dead letter queue for an Azure Service Bus queue.

Messages are not locked or consumed — this is a read-only operation. Returns message bodies, dead letter reason, error description, and other metadata. max_count is capped at 100. Use servicebus_peek_dlq_to_file instead if message bodies may be large.

connection_string_env_var: name of the environment variable holding the Service Bus connection string. If the variable is set, connection-string auth is used; otherwise DefaultAzureCredential is used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYes
queueYes
max_countNo
connection_string_env_varNoAZURE_SERVICEBUS_CONNECTION_STRING

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Discloses that messages are not locked or consumed (read-only), returns metadata including dead letter reason, and describes authentication behavior. No annotations are present, so the description carries full burden and does it well.

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?

Two concise paragraphs with front-loaded main action. Every sentence adds value, no redundancy. Efficiently communicates key points.

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

Completeness5/5

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

Covers purpose, usage constraints, auth, return values, and alternative tool. With an output schema present, the description of return values is a bonus. Complete for a peek tool.

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 has 0% description coverage. Description adds meaning for connection_string_env_var (env var name and auth fallback) and mentions max_count cap. Namespace and queue are not elaborated but are self-explanatory from context.

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?

Description clearly states 'Non-destructively peek at messages in the dead letter queue for an Azure Service Bus queue,' specifying both the action and resource. It differentiates from sibling tools like servicebus_peek_dlq_to_file by noting the read-only nature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly explains when to use (non-destructive peek), mentions max_count is capped at 100, and provides an alternative tool for large message bodies. Also clarifies authentication mechanism via environment variable vs DefaultAzureCredential.

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/BrianDeacon/azure-utils-mcp'

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