Skip to main content
Glama

list_queue_messages

List and inspect messages in a Solace PubSub+ queue with truncated payload previews to help debug or validate queued data.

Instructions

Browse messages in a queue. Payloads truncated at MESSAGE_PAYLOAD_PREVIEW_BYTES.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "broker": "<broker>",
      "vpn": "<vpn>",
      "queue": "<queue>"
    },
    "name": "list_queue_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpnYes
queueYes
brokerYes
max_messagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations provided, the description does carry some behavioral burden and does disclose that payloads are truncated at MESSAGE_PAYLOAD_PREVIEW_BYTES. However, it does not state permissions, ordering, pagination behavior, or how the default and maximum for max_messages affect results.

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?

The description is two short sentences and front-loads the core purpose. Every phrase contributes useful information, with no unnecessary wording.

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?

Given four parameters, no annotations, no parameter descriptions, and no output schema, the description is too thin. It adds the useful truncation caveat but omits essential context such as permissions, ordering, and max_messages behavior.

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

Parameters1/5

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

Schema description coverage is 0% for four parameters, and the description adds no meaning for broker, vpn, queue, or max_messages. The parameter names are somewhat self-explanatory, but the description does not compensate for the missing schema documentation.

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?

The description states a specific verb and resource: browsing messages in a queue. It is clear what the tool does, though it does not explicitly distinguish itself from sibling tools such as list_queue_consumers or list_queue_subscriptions.

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?

The description gives no explicit when-to-use or when-not-to-use guidance. It does not mention alternatives such as list_queue_consumers for inspecting consumers or purge_queue/clear_queue for destructive actions.

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