Skip to main content
Glama

broker_konflikte

Detect MQTT topics written by multiple brokers, distinguish bridge mirroring from independent conflicts, and flag unreliable results when measurement is incomplete.

Instructions

Topics, die von MEHR ALS EINEM Broker bespielt werden.

Der Ownership-Canary fuer den Parallelbetrieb zweier Broker: Die gefaehrliche Lage ist nicht "ein Geraet antwortet nicht", sondern "zwei Systeme schreiben auf dasselbe Topic und keiner merkt es".

Verglichen wird ueber ALLE Broker-Datenbanken nebeneinander (jeder Server hat seit dem 22.08. seine eigene). messbar sagt, ob das Ergebnis ueberhaupt belastbar ist — bei false oder "teilweise" ist eine leere Konfliktliste ausdruecklich KEINE Entwarnung.

⛔ Eine BRIDGE ist kein Konflikt. Laeuft eine Bridge zwischen den Brokern, fuehren beide dieselben Topics — das ist der Normalzustand, nicht die Anomalie. Jedes Doppel-Topic wird deshalb eingeordnet:

gespiegelt Bridge belegt (hohe Payload-Gleichheit) wahrscheinlich_gespiegelt Payloads zu einfoermig fuer einen Beweis, aber der Zeitversatz spricht dafuer unabhaengig ⛔ der echte Befund: zwei Schreiber unklar nicht entscheidbar — von Hand ansehen

nur_verdaechtige=True (Default) listet Gespiegeltes nicht, sondern zaehlt es in gespiegelt_nicht_gelistet. Auf False setzen, um alles zu sehen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
stichprobeNo
seit_stundenNo
nur_verdaechtigeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.1/5.0
Behavior5/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 so richly: it discloses that comparison runs across all broker databases (each server has its own since 22.08), that 'messbar=false/teilweise' invalidates a look-clean result, that bridges are expected rather than anomalous, and the four-way classification of duplicate topics. This is far beyond what any structured field provides.

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?

Front-loaded with the core definition, then a well-structured bullet list for the classification categories and a clear caveat about messbar. Some framing prose ('Die gefaehrliche Lage ist nicht...') is slightly rhetorical, but the structure aids scanning and each block mostly earns its place.

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?

For a complex detection tool with an output schema (so return values need not be described) and no annotations, the description supplies the domain logic, the bridge caveat, and the reliability semantics needed to interpret results correctly. The gap is the three undocumented parameters, which keeps it from being fully 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%, so the description must compensate, but it only explains one of four parameters (nur_verdaechtige, including its default and the gespiegelt_nicht_gelistet side effect). limit, stichprobe, and seit_stunden receive no explanation at all, leaving most inputs undocumented in both schema and description.

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 names a specific resource and condition: topics served by more than one broker, framed as an 'Ownership-Canary fuer den Parallelbetrieb zweier Broker'. This is unmistakable and cannot be confused with sibling tools like list_topics or find_silent, which address different concerns (inventory vs. silence detection).

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?

It gives clear context for when the tool matters: comparing across all broker databases during parallel broker operation, and it explains how to configure nur_verdaechtige. However, it never names an alternative tool or states an explicit when-not-to-use condition, so routing between siblings is left to inference.

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