Skip to main content
Glama

Opsphere — DevOps & SRE Intelligence

Azure Service Bus Message Explorer

azure_servicebus_message_explorer
Read-only

Inspects messages in queues and topics with full details (like Service Bus Explorer GUI)

Input Schema

NameRequiredDescriptionDefault
namespaceYesService Bus namespace name
queueNameNoQueue name to inspect
topicNameNoTopic name to inspect
context_idNoOptional explicit Connection Hub work context (ctx_*). Omit to use the conversation's active workspace; global Hub tools ignore it.
maxMessagesNoMax messages to show
resourceGroupNoResource Group (optional)
azure_tenant_idNoAzure tenant ID (optional — defaults to AZURE_TENANT_ID from tenant config)
peekDeadLettersNoIf true, inspect dead letter queue
subscriptionNameNoTopic subscription name

Output Schema

NameRequiredDescriptionDefault
okYes
dataYes
contractVersionYes
dataSchemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changed
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +false
    • removedOutput schema / properties / data / properties / count
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / data / properties / entityPath
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / gaps
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / data / properties / items
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {},
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / data / properties / messages
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bodyPreview": {
      +        "type": "string"
      +      },
      +      "deliveryCount": {
      +        "type": "integer"
      +      },
      +      "enqueuedAt": {
      +        "type": "string"
      +      },
      +      "messageId": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / properties / namespace
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / data / properties / nextLink
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / partial
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / data / properties / resourceGroup
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / data / properties / subscriptionId
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / data / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / data / properties / value
      Removed value: -{
      -  "$ref": "#/properties/data/properties/items"
      -}
    • addedOutput schema / properties / data / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "namespace",
      +  "entityPath",
      +  "messages",
      +  "partial",
      +  "truncated",
      +  "warnings",
      +  "gaps"
      +]
    • addedOutput schema / properties / dataSchemaVersion
      Added value: +{
      +  "const": 2,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "contractVersion",
      -  "ok",
      -  "data"
      -]New value: +[
      +  "contractVersion",
      +  "dataSchemaVersion",
      +  "ok",
      +  "data"
      +]
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the notion of 'full details' (rich message body/properties rather than counts), but says nothing about whether peeking is non-destructive on the broker side, the maxMessages cap of 20, or ordering/truncation behavior — all relevant for a message-inspection tool.

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?

One short sentence, front-loaded with verb and resource, with zero filler. It is arguably too terse for a nine-parameter tool, which is why it falls short of 5 — brevity here edges into under-specification rather than pure efficiency.

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

Completeness2/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 not be explained. But for a nine-parameter tool with mutually exclusive queue/topic addressing and a dead-letter mode that duplicates a dedicated sibling, the description leaves key selection decisions unaddressed. The agent has to open the schema and cross-read sibling names to call this correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so all nine parameters are documented in the schema itself and a baseline of 3 applies. The description adds no extra semantics beyond that — it does not explain that queueName and topicName are alternative addressing modes, nor mention subscriptionName or the dead-letter toggle.

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 concrete verb and resource: 'Inspects messages in queues and topics with full details.' That is clearly a read/peek operation on Service Bus messages, and the GUI analogy reinforces the 'show me everything' intent. However, it never distinguishes itself from siblings that also surface message content, notably azure_servicebus_dlq_content and azure_servicebus_queue_deadletter, which the peekDeadLetters parameter overlaps with.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all — nothing says to reach for this instead of azure_servicebus_queues (discovery), azure_servicebus_queue_metrics (counts), or azure_servicebus_dlq_content (dead letters). The only hint is the GUI comparison, which is descriptive rather than directive. The agent must infer routing from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources