Skip to main content
Glama

get_broker_health

Check Solace PubSub+ broker health by retrieving uptime, memory, client count, and message rates to determine whether the broker is operating normally.

Instructions

Broker health: uptime, memory, client count, message rates. Use this to check if the broker is healthy.

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>"
    },
    "name": "get_broker_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
brokerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden and does little with it. It does not state that this is a read-only, side-effect-free call, whether the metrics are a point-in-time snapshot or a rolling window, what permissions are needed, or what happens when the broker parameter names a nonexistent broker.

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?

Two short sentences with the metric inventory front-loaded, which is the right ordering. The second sentence largely restates the first's intent, but it is cheap and not harmful.

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

Completeness3/5

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

Because there is no output schema, listing the returned metrics is genuinely useful coverage. However, for a tool with zero annotations, an undetermined return shape, and an undocumented required parameter, the description leaves too much unspecified to be called complete.

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 coverage is 0% for the single required 'broker' parameter, so the schema supplies no meaning at all. The description never says whether that value is a broker name, ID, or host:port, nor how to obtain valid values (e.g., via list_brokers), leaving the only parameter uninterpretable.

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 names a specific resource and enumerates the concrete signals returned (uptime, memory, client count, message rates), which lets an agent know exactly what this call yields. It stops short of distinguishing itself from the sibling get_broker_stats, whose name suggests heavily overlapping metric output.

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

Usage Guidelines3/5

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

'Use this to check if the broker is healthy' gives an implied use case but no when-not conditions and no mention of get_broker_stats or get_broker_version as alternatives. An agent facing the sibling list has to guess which metrics call to pick.

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