Skip to main content
Glama

build_mq_config

Normalize Kafka, RabbitMQ, MQTT, or AMQP10 connection details into a config object with default ports and warnings, entirely offline without connecting.

Instructions

Normalise an MQ connection description (kafka/rabbitmq/mqtt/amqp10) into a config object with sensible port defaults and warnings. OFFLINE - no connection is made.

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": {
      "type": "<type>",
      "host": "<host>"
    },
    "name": "build_mq_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
qosNo
hostYes
portNo
typeYes
queueNo
topicNo
usernameNo
virtualHostNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden and does disclose two meaningful traits: the operation is offline (no network I/O) and it emits port defaults plus warnings. It does not say what happens on invalid or incomplete input (e.g. missing host), whether errors raise or are folded into warnings, or how serious warnings are surfaced.

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?

Two tight, front-loaded sentences with no filler: the primary action comes first and the offline caveat follows immediately. Every clause carries information.

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 an 8-parameter tool with zero schema descriptions and no output schema, the definition is thin. The claimed return artifact ('config object with ... warnings') is never described structurally, and six of eight parameters are unexplained, leaving the agent to guess at valid combinations like topic-vs-queue per protocol.

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 8 parameters, so the description must compensate and largely does not. It hints that port is optional/defaulted and that type accepts four protocol values, but queue vs. topic vs. virtualHost, qos bounds, and username are left entirely undefined in both schema and description.

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?

Clear specific verb ('Normalise ... into a config object') plus the resource ('MQ connection description') and the exact protocol set supported (kafka/rabbitmq/mqtt/amqp10). An agent can tell this builds a configuration rather than validating an existing URL or listing protocols, though no sibling is named explicitly.

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?

The 'OFFLINE - no connection is made' note implies the tool is a pure preparation step to be used before connecting, which is useful context. However, there is no explicit when-to-use vs. when-not guidance and no mention of alternatives such as validate_jdbc_url or inspect_payload.

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