Skip to main content
Glama
PasinduGunarathne

ballerina-activemq-mcp-server

Validate ActiveMQ broker

mq_validate_broker
Read-onlyIdempotent

Checks ActiveMQ broker reachability at an OpenWire URL via TCP probe, and optionally lists queues and topics through the Jolokia console. Read-only validation.

Instructions

Check that an ActiveMQ broker is reachable at the given OpenWire URL. Performs a TCP connectivity probe to each endpoint (handles tcp://, ssl://, and failover:(...) forms). When list_destinations is true, also queries the ActiveMQ web-console Jolokia REST agent (default port 8161) to list current queues and topics, degrading gracefully to a TCP-only result if the console is unreachable. Read-only; makes no changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordNoBroker password (must be paired with username). Omit for an unauthenticated broker.
usernameNoBroker username (must be paired with password). Omit for an unauthenticated broker.
broker_urlNoOpenWire broker URL. Supported forms: tcp://host:61616 (default), ssl://host:61617, or failover:(tcp://h1:61616,tcp://h2:61616). Example: tcp://localhost:61616tcp://localhost:61616
timeout_msNoPer-probe timeout in milliseconds for the TCP reachability check.
console_portNoActiveMQ web-console / Jolokia REST port used to list destinations (default 8161).
list_destinationsNoWhen true, also query the web console (Jolokia) for the current queues/topics. Degrades gracefully if the console is unreachable.
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive. The description adds valuable behavioral details: TCP probe mechanics, support for failover URL forms, optional Jolokia web-console query, and graceful degradation. No contradiction with annotations.

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 three sentences, front-loads the primary purpose, and contains no unnecessary filler. Every sentence adds meaningful detail about behavior and constraints.

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?

With no output schema, the description covers key behavior well, including protocol handling and graceful degradation. However, it does not specify the exact return format, which is a minor gap for a validation tool that may produce a structured report.

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 the baseline is 3. The description adds marginal context (e.g., 'TCP connectivity probe') but largely restates parameter meanings already present in the schema, such as URL forms and list_destinations behavior.

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?

The description clearly states a specific action ('Check that an ActiveMQ broker is reachable') with a specific resource ('at the given OpenWire URL'). It distinguishes itself from sibling tools (scaffold, build, deploy) by focusing on validation and connectivity probing.

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

Usage Guidelines4/5

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

The description clearly implies use when validating broker connectivity or listing destinations. It does not explicitly mention when not to use it or name alternatives, but sibling tools are not direct alternatives, so the context is sufficiently clear.

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/PasinduGunarathne/wso2-bi-activemq-mcp-server'

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