Skip to main content
Glama

purge_queue

Deletes all messages in a specified queue on a Solace PubSub+ broker, clearing queue contents when confirmation is provided.

Instructions

Alias for clear_queue — delete all messages in a queue.

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": "purge_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpnYes
queueYes
brokerYes
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it only communicates that messages are removed. It does not state whether the purge is irreversible, what happens to in-flight consumers, whether authorization is required, or how 'confirm' (default false) changes the effect — that last omission is significant for a destructive tool.

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?

A single compact sentence, front-loaded with the alias relationship followed by the operation. There is no filler or redundancy.

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?

For a destructive, four-parameter tool with no annotations, no parameter documentation, and no output schema, one sentence is not enough. An agent cannot determine how to properly authorize or gate the purge, or what the call returns after deletion.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and does not. It never mentions broker, vpn, or queue as the identifiers needed to target the operation, and leaves the high-stakes 'confirm' flag completely unexplained.

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 — 'delete all messages in a queue' — and clarifies this is the same operation as clear_queue. The wording also implicitly differentiates it from delete_queue by scoping destruction to the messages rather than the queue itself. It stops short of an explicit contrast with the other deletion siblings.

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 'alias for clear_queue' note tells the agent the two are interchangeable but gives no rule for choosing one, no prerequisites, and no conditions under which purging should be avoided. Nothing is said about the 'confirm' parameter or whether it must be set before a real purge happens.

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