Skip to main content
Glama

add_broker

Register a broker in memory for the current session so MCP clients can inspect and operate Solace PubSub+ brokers; registrations are lost on restart.

Instructions

Register a broker in-memory (lost on restart).

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": {
      "name": "<name>",
      "label": "<label>",
      "url": "<url>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "add_broker"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
nameYes
labelYes
passwordYes
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one genuinely useful trait: registration is in-memory and lost on restart. It omits other important behavior — duplicate-name handling, whether credentials are verified, whether any connection is attempted, and whether an identifier is returned.

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 short sentence with the key caveat placed immediately after the action, so the reader gets purpose and persistence semantics up front with no wasted 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?

For a five-required-parameter, unannotated, no-output-schema mutation tool, this is under-specified: nothing is said about parameter meanings, failure modes, or what the call returns, and there are no annotations to fill those gaps.

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 five all-required parameters (url, name, label, username, password), and the description explains none of them. The only indirect signal is that these values live in memory, leaving label vs. name and credential expectations completely undocumented.

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 specific verb and resource ("Register a broker") plus scope ("in-memory"), which is enough for an agent to distinguish it from list_brokers or remove_broker without opening a schema.

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?

There is no explicit when-to-use or when-not-to-use guidance and no mention of prerequisites, such as whether the broker must be reachable or whether credentials are validated on registration. The ephemeral nature hints at a test/temporary use case but the agent must infer it.

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