Skip to main content
Glama

get_broker_stats

Fetch raw Solace PubSub+ broker statistics from the /about endpoint to check broker health, status, and diagnostic details.

Instructions

Raw broker statistics from /about endpoint.

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_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
brokerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries full burden: it should disclose read-only-ness, permission requirements, and what 'raw' means (unparsed text? volatile?). None of that is stated, though 'from /about endpoint' does hint at the source and that the payload is presented unprocessed.

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 compact sentence, front-loaded with the resource; nothing wasted, though it is arguably too terse for the information the caller needs.

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 stats tool with no output schema, the description should signal the fields or format returned; instead it stops at 'raw'. Combined with an undocumented required identifier, a caller cannot confidently form a request or interpret the result.

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%: the single required 'broker' parameter is an undescribed string. The description says nothing about whether it accepts an ID, host:port, or name, so it fails to compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Raw broker statistics from /about endpoint" states a resource and vaguely a verb (retrieval), but 'raw statistics' is ambiguous – it doesn't say which metrics or what shape they come in. It is distinguishable from siblings like get_broker_health and get_broker_version only by implication, not explicit contrast.

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?

No guidance on when to use this rather than get_broker_health or get_broker_version, nor any mention of prerequisites (is the broker required to be up, does 'broker' mean a broker ID or name?). The agent must infer.

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