Skip to main content
Glama
campaign-preflight-mcp

campaign-preflight-mcp

by katekruger

Kampagnen-Preflight

Campaign Preflight ist ein schreibgeschützter Linter für ausgehende Kampagnen. Er erkennt Konfigurations-, Kontaktdaten-, Personalisierungs-, Unterdrückungs-, Zeitplan- und Absenderprobleme vor dem Start.

CI Security Python 3.9+ Dependencies: none License: MIT


Was er tut

Jedes Outbound-Team hat schon eine Kampagne mit einem Fehler verschickt. Jemand, der sich abgemeldet hat, wurde trotzdem angemailt. Eine Sequenz hat weiter nachgefasst, nachdem der Interessent geantwortet hat. Ein Merge-Feld wurde nie zusammengeführt und zweihundert Leute bekamen „Hi {{first_name}}."

Man erfährt es erst, nachdem es raus ist.

Campaign Preflight führt 76 deterministische Prüfungen über die Konfiguration, Leads, Texte, Zeitplan, Absender und Unterdrückungs-Exposition einer Kampagne durch und liefert eine Bereitschaftsentscheidung mit Belegen für jeden Befund. Er schreibt nie in deinen Anbieter und kann nichts aktivieren.

Was er nicht tut, gleich vorweg statt versteckt:

  • Er garantiert keine Zustellbarkeit. Er prüft Konfiguration und Daten, nicht die Inbox-Platzierung, und erfindet nie einen Zustellbarkeits-Score.

  • Er gibt keine Rechtsberatung. Regions-, Domain- und Opt-out-Prüfungen vergleichen eine Kampagne mit deiner eigenen konfigurierten Richtlinie – nicht mit GDPR, CAN-SPAM oder CASL.

  • Er verifiziert keine Postfächer. Adressprüfungen sind reine Syntaxprüfungen. Kein DNS, kein SMTP.

  • Er ersetzt nicht die Schutzmechanismen deines Anbieters. Lass die eingeschaltet.

  • Ergebnisse sind eine Momentaufnahme. Eine Kampagne, die um 09:00 bestanden hat, kann um 09:05 bearbeitet werden.

Weitere Details in docs/limitations.md.


Related MCP server: checkyourself

„Wir haben geprüft und es ist in Ordnung" ≠ „wir konnten nicht prüfen"

Ein Prüfer, der diese beiden nicht unterscheiden kann, ist schlimmer als gar kein Prüfer, weil er einen Berechtigungsfehler in ein grünes Licht verwandelt.

Campaign Preflight macht diese Unterscheidung strukturell. Jeder Anbieter-Read liefert Daten plus den Grund, warum sie existieren oder nicht, und jede Regel deklariert die Daten, die sie benötigt. Wenn diese Daten nicht verfügbar sind, unterbricht die Engine die Regel zu UNKNOWN, bevor sie laufen kann. Regeln können sich nicht abmelden.

Situation

Ergebnis

Unterdrückungsliste gelesen, niemand übereinstimmend

PASS

Keine Unterdrückungsliste angegeben

UNKNOWN → Lauf ist INCOMPLETE

Unterdrückungs-Endpoint gab 403 zurück

UNKNOWN → Lauf ist INCOMPLETE

Null Leads in der Kampagne

FAIL

Lead-Endpoint nicht erreichbar

UNKNOWN

Es gibt vier Urteile, nicht zwei: READY, READY_WITH_WARNINGS, NOT_READY und INCOMPLETE.


Anforderungen

Python 3.9 oder neuer. Das ist die ganze Liste.

Das Paket hat keine Laufzeitabhängigkeiten – es importiert nichts außerhalb der Standardbibliothek. httpx ist ein optionales Extra, das nur für den Live-Instantly-Anbieter benötigt wird, hinter einem Lazy Import.

Die 3.9-Untergrenze ist bewusst gewählt und bewusst niedriger, als man erwarten könnte. Es ist der älteste Interpreter, den das Plugin auf dem Rechner eines Benutzers antreffen kann, und da es keine Abhängigkeiten gibt, zwingt nichts zu einer höheren Version. CI läuft mit 3.9 bis 3.13 plus einem Bare-Interpreter-Job, der gar nichts installiert, auf Linux, macOS und Windows.

Diese Kombination ermöglicht es dem Plugin, ohne Installationsschritt zu laufen: Es verwendet das bereits vorhandene python3.


Installation

Als Claude-Plugin (Marketplace)

/plugin marketplace add katekruger/campaignpreflightplugin
/plugin install campaign-preflight

Das Repository ist sein eigener Marketplace: .claude-plugin/marketplace.json liegt im Root neben dem Plugin-Manifest.

Als Claude-Plugin (lokaler Checkout)

git clone https://github.com/katekruger/campaignpreflightplugin
/plugin marketplace add ./campaignpreflightplugin
/plugin install campaign-preflight

Als CLI

pipx install campaign-preflight

Oder direkt aus einem Checkout, ohne dass etwas installiert ist:

PYTHONPATH=src python3 -m campaign_preflight.cli demo

Als MCP-Server

claude mcp add campaign-preflight -- campaign-preflight-mcp

Sechs schreibgeschützte Tools. Nichts, das aktivieren, bearbeiten, importieren oder senden könnte. Einrichtung für Claude Code und Claude Desktop: docs/mcp.md.


Schnellstart

campaign-preflight demo

Kein API-Schlüssel. Kein Netzwerk. Keine Konfiguration.

CAMPAIGN PREFLIGHT
Campaign: Enterprise Q3 Outbound
Provider: demo
Readiness: NOT READY
Score: 0/100
Confidence: MEDIUM

BLOCKERS

[campaign.stop_on_reply]
Stop-on-reply is disabled: repliers will keep receiving follow-ups.
  Remediation: Enable stop-on-reply on the campaign.

[personalization.prompt_injection]
1 contact(s) have prompt-injection text in their personalization.
  Affected: s***********a@caldera.example.com
  Remediation: Remove the affected personalization and review the enrichment source it came from.

[suppression.contact_listed]
1 contact(s) appear on the active suppression list.
  Affected: m**********s@stonebridge.example.com
  Remediation: Remove these contacts from the campaign before activation.

WARNINGS

[contacts.missing_first_name]
2 of 20 contacts (10.0%) are missing a first name.
  Affected: i**o@summitforge.example.com, r******s@clearwater.example.com
  Remediation: Backfill the missing first names, or use a fallback in your copy.

UNKNOWN

[senders.aggregate_capacity]
Sender capacity is unavailable: 1 of 3 senders report no daily limit.
  Affected: r***n@example.com

------------------------------------------------------------------------------
Summary:
8 blockers, 17 failures, 21 warnings, 1 unknown, 32 passed
20 leads and 3 sender(s) checked in 0.0s
Confidence is MEDIUM: 1 check(s) could not run.
Point-in-time snapshot. Campaign state may change after this check ran.

Beachte den letzten Befund. Ein Absender meldet kein Tageslimit, daher kann die Gesamtkapazität nicht summiert werden. Die meisten Tools würden die Absender, die eines melden, zusammenzählen und es eine Zahl nennen. Dieses sagt, dass es es nicht weiß – und senkt das Vertrauen von HIGH auf MEDIUM, genau deshalb.

Diese Unterscheidung ist die ganze Idee.

Eigene Kampagne prüfen

Sobald das Plugin installiert ist, beschreibe es in einfacher Sprache:

Prüfe diese Kampagne, bevor ich sie sende.

Hier ist meine Lead-Liste – ist etwas daran falsch? (einfügen oder hochladen)

Ich sende eine 3-E-Mail-Sequenz an 200 Personen, 80 pro Tag, werktags 9-17 Uhr Eastern. Ist das in Ordnung?

Es gibt drei Wege hinein, und keiner benötigt ein Konto:

Du hast

Was passiert

Eine Datei (hochgeladen oder auf der Festplatte)

Wird direkt geprüft.

Eine eingefügte Liste oder etwas Text

Wird in eine temporäre Datei geschrieben, geprüft und dann aufgeräumt.

Nur eine Beschreibung

Die Kampagnendatei wird aus dem erstellt, was du sagst, dir gezeigt und dann geprüft.

Alles, was du nicht weißt, bleibt leer, statt geraten zu werden – ein leeres Feld kommt als „konnte nicht geprüft werden" zurück, was die ehrliche Antwort ist.

Aus Dateien, auf der Kommandozeile

campaign-preflight check \
  --campaign examples/clean_campaign/campaign.yaml \
  --leads examples/clean_campaign/leads.csv \
  --suppressions examples/clean_campaign/suppressions.csv

Drei ausgearbeitete Beispiele sind im Repo enthalten, eines pro Urteil:

Beispiel

Urteil

Exit

examples/clean_campaign

READY, 100/100

0

examples/risky_campaign

NOT_READY, 13 Blocker

2

examples/incomplete_campaign

INCOMPLETE – nichts ist falsch, es kann nur nicht verifiziert werden

3

In CI

campaign-preflight check --campaign campaign.yaml --leads leads.csv --fail-on blocker

Exit-Codes tragen das Urteil, also passt das direkt in eine Pipeline. Siehe docs/ci.md.


Was drin ist

Das Repository-Root ist das Plugin. Es gibt keine zweite Kopie des Baums.

.claude-plugin/     plugin manifest and marketplace manifest
skills/             the three skills, one directory each
bin/                launchers the MCP server and CLI run through
src/                the Python package: rules, engine, providers, reporters
tests/              unit, integration, contract
docs/               rules catalogue, configuration, MCP, CI, limitations, architecture
examples/           three worked campaigns, one per verdict
scripts/            generators and the plugin packager

Skills

Skill

Verwende es für

preflight-campaign

Prüfen einer echten Kampagne, die du lieferst – eine Datei, ein Einfügen oder eine Beschreibung.

preflight-demo

Den Prüfer gegen gebündelte Beispieldaten laufen sehen.

preflight-rules

Welche Regeln existieren, was jede testet und wie man sie neu einstellt oder deaktiviert.

Die Grenzen sind bewusst: Jede Beschreibung nennt ihre eigene Situation und verweist auf den Nachbarn, sodass ein Beinahe-Treffer an einem erholsamen Ort landet.


Was er prüft

76 Regeln in sieben Kategorien. Vollständiger Katalog: docs/rules.md.

Kategorie

Regeln

Beispiele

Kampagne

10

Stop-on-reply deaktiviert, Tagesvolumen über Schwelle, kein Sendezeitfenster, Daten, die keine Sendetage übrig lassen

Kontakte

15

Fehlerhafte Adressen, Duplikate (exakt und case-folded), Rollen-Postfächer, Platzhalterwerte, Steuer- und Bidi-Zeichen, Tabellenkalkulations-Formel-Injektion

Unterdrückung

8

Kontakte und Domains auf deiner Unterdrückungsliste, bestehende Kunden, interne Adressen, Wettbewerber, eingeschränkte Regionen – und ob die Unterdrückungsprüfung überhaupt laufen konnte

Personalisierung

13

Nicht gerenderte Merge-Tokens, eine Begrüßung an die falsche Person, ein Unternehmen, das nicht ihres ist, Behauptungen, die nicht durch ihre eigenen Beweise gestützt werden, veraltete Recherche, Prompt-Injection-Text, der von der Seite eines Ziels gescrapt wurde

Text

13

Leerer Betreff im ersten Schritt, kaputte Links, TODO-Marker, fehlende Opt-out-Sprache, ein Follow-up, das identisch mit der ersten E-Mail ist

Zeitplan

9

Ungültige Zeitzone, Senden am Wochenende, null aktive Tage, ein Fenster, das endet, bevor es beginnt, DST-Übergänge innerhalb der Kampagne

Absender

8

Postfächer unter deiner Gesundheits-Schwelle, Fehlerzustände, Volumen über Kapazität – und ehrliche UNKNOWNs, wenn der Anbieter es nicht sagt

Frage das Tool nach jedem davon:

campaign-preflight rules list --category suppression
campaign-preflight rules explain senders.aggregate_capacity

Was er bewusst nicht prüft

Es gibt keine Spam-Wort-Regel. „Kostenlos" und „Jetzt handeln" sind kein Beweis für irgendetwas, und diese Liste zu liefern würde dich trainieren, das Tool zu ignorieren. Regeln, die Ermessenssache sind – Textlänge, Linkanzahl, Generierungsartefakte – sind als heuristic markiert, in jedem Bericht als solche gekennzeichnet und standardmäßig nie Blocker.


Konfiguration

Campaign Preflight läuft mit sinnvollen Standardeinstellungen und ohne Konfigurationsdatei. Füge eine hinzu, wenn deine Schwellenwerte abweichen, oder um die Prüfungen zu aktivieren, die von deinen eigenen Domain- und Regionslisten abhängen.

version: 1

settings:
  target_timezone: America/New_York
  required_variables: [first_name, company_name]
  internal_domains: [ourcompany.example.com]
  customer_domains: [bigcustomer.example.com]
  allow_weekend_sending: false

rules:
  campaign.daily_volume:
    warning_above: 100
    blocker_above: 250
  senders.health_below_threshold:
    minimum_score: 80
  contacts.missing_job_title:
    enabled: false
campaign-preflight validate-config preflight.yaml
campaign-preflight check --campaign c.yaml --leads l.csv --config preflight.yaml

Die Validierung ist absichtlich streng: Eine unbekannte Regel-ID oder eine unbekannte Option ist ein harter Fehler, keine Warnung. Ein Tippfehler, der eine Sicherheitsprüfung stillschweigend deaktiviert, ist schlimmer als gar keine Konfiguration.

Vollständige Referenz: docs/configuration.md.


Warum Schreibschutz wichtig ist

Campaign Preflight hat keinen Codepfad, der schreibt. Nicht „wir haben uns dagegen entschieden" – es gibt nichts aufzurufen.

  • Der Instantly-Anbieter leitet jede Anfrage durch einen Transport, der (method, path) gegen eine explizite Allowlist prüft und bevor die Anfrage den Prozess verlässt, eine Ausnahme auslöst. Die Prüfung sitzt unterhalb des Clients und unterhalb des Anbieters, sodass eine zukünftige Codeänderung, die ein PATCH hinzufügt, laut scheitert, statt deine Kampagne still zu bearbeiten.

  • Zwei Wächter laufen beim Import: Die Allowlist darf kein PUT, PATCH, DELETE, HEAD oder OPTIONS enthalten, und POST ist nur für genau einen Pfad erlaubt (/leads/list, was Instantlys dokumentierte Form für einen gefilterten Read ist).

  • Der MCP-Server weigert sich zu starten, wenn ein registriertes Tool ein mutierendes Verb im Namen hat oder sich nicht als schreibgeschützt deklariert.

  • tests/contract/test_instantly_transport.py übt die vollständige Methoden × Pfad-Matrix plus jeden dokumentierten mutierenden Endpoint. Ein Fehler dort ist ein Sicherheitsvorfall, kein Testfehler.

Das macht es sicher, einem Agenten eine Live-Kampagne zu geben. Er bekommt die Analyse und keine der Befugnisse.

Was er niemals tun wird

  • Kampagne aktivieren, pausieren, fortsetzen oder planen

  • Lead erstellen, aktualisieren, verschieben, zusammenführen oder löschen

  • Zur Unterdrückungsliste hinzufügen oder daraus entfernen

  • E-Mail senden, beantworten oder weiterleiten

  • Etwas in Ihrer Versandplattform ändern

Es gibt keinen Codepfad zu einer dieser Funktionen, und zwei unabhängige Schutzmechanismen – die Transport-Allowlist und die MCP-Startup-Assertion – schließen im Fehlerfall, falls jemals eine hinzugefügt wird.


Exit-Codes

Code

Bedeutung

0

READY

1

READY_WITH_WARNINGS

2

NOT_READY

3

INCOMPLETE – eine kritische Prüfung konnte nicht ausgeführt werden

4

Konfigurations- oder Eingabefehler

5

Provider- oder Authentifizierungsfehler

6

Unerwarteter interner Fehler

--fail-on none|warning|high|blocker erhöht die Schwelle, ab der ein Urteil zu einem Exit-Code ungleich Null führt. Es ändert das Urteil selbst nie. INCOMPLETE wird durch eine Schweregrad-Schwelle nicht unterdrückt – eine Prüfung, die nicht ausgeführt werden konnte, ist ein anderes Problem als ein Befund mit geringem Schweregrad.


Scoring ist veröffentlicht, nicht versteckt

score = 100 - sum(weight[status][severity] for every FAIL and WARN)

readiness:
  NOT_READY            any BLOCKER FAIL, or any HIGH FAIL
  INCOMPLETE           else if any critical rule is UNKNOWN
  READY_WITH_WARNINGS  else if any FAIL or WARN
  READY                otherwise

Daraus ergeben sich vier Dinge, und jedes hat einen Test:

  1. Ein Blocker erzeugt immer NOT_READY. Die Zahl kann das nicht außer Kraft setzen.

  2. UNKNOWN zieht nichts ab. Ein Provider-Ausfall darf nicht wie eine schlechte Kampagne aussehen – er senkt stattdessen die Konfidenz.

  3. NOT_APPLICABLE hat keine Auswirkungen.

  4. Jeder Abzug wird einzeln aufgeführt. --verbose gibt die Rechnung aus, damit Sie sie von Hand überprüfen können.

Gewichte und die Liste der kritischen Regeln sind konfigurierbar: docs/configuration.md.


Architektur

flowchart LR
    CLI[CLI] --> Engine
    MCP[MCP server] --> Engine
    Engine -->|gather| Provider{Provider}
    Provider --> CSV[CSV / files]
    Provider --> Instantly[Instantly v2]
    Instantly --> Guard[ReadOnlyTransport]
    Guard -->|allowlist| API[(Instantly API)]
    Provider -->|data + why| Context[Frozen context]
    Context --> Rules[76 rules]
    Rules --> Score[Scoring]
    Score --> Out[Terminal / JSON / Markdown]
    style Guard fill:#4a1f1f,stroke:#c04040,color:#fff

Der Kontext ist ein eingefrorenes Pydantic-Modell, sodass „eine Regel mutiert ihre Eingabe nie“ durch das Typsystem erzwungen wird und nicht durch Review. Providerspezifisches Verhalten lebt vollständig hinter der Provider-Schnittstelle.

Vollständiges Design und Bedrohungsmodell: docs/architecture.md.


Datenschutz

  • Standardmäßig redigiert. Lokale Teile von Postfächern werden maskiert (m**********s@stonebridge.example.com); Domains bleiben erhalten, denn eine Domain ist es, die einen Unterdrückungsbefund umsetzbar macht.

  • Geheimnisse werden bedingungslos entfernt. --no-redact deaktiviert die Maskierung personenbezogener Daten, niemals die Maskierung von Anmeldedaten. Ein Provider, der Ihren API-Schlüssel in einem Fehlertext zurückspiegelt, kann ihn nicht in einen Bericht bringen – dafür gibt es genau einen Test.

  • Standardmäßig verlässt nichts Ihren Rechner. Der optionale LLM-Anspruchsbewerter ist aus, sofern Sie ihn nicht konfigurieren, und validate-config warnt Sie, wenn eine Konfiguration ihn aktiviert.

  • Berichtsdateien werden mit 0600 geschrieben, in eine temporäre Datei und dann umbenannt.

  • Stichproben sind begrenzt. Eine Kampagne mit 100.000 Leads kann keine 100.000 Zeilen ausgeben.


Leistung

Arbeitslast

Zeit

Demo (20 Leads)

0.02 s

10.000 Leads

0.28 s

100.000 Leads

3.0 s, ~300 MB Spitze

Zeilen werden gestreamt, nicht geschluckt. Paginierung, Wiederholungen, Sender-Parallelität und Ausgabegröße sind alle begrenzt.


Entwicklung

git clone https://github.com/katekruger/campaignpreflightplugin
cd campaignpreflightplugin
uv sync --all-extras
uv run pytest
uv run ruff format .                                  # format
uv run ruff check .                                   # lint
uv run mypy                                           # typecheck, strict
claude plugin validate . --strict                     # manifests
uv run python scripts/generate_rules_doc.py --check   # docs/rules.md is current
./scripts/bump-version.sh --check                     # version fields agree
uv run python scripts/build_plugin.py                 # dist/campaign-preflight.plugin

Das Paket selbst hat keine Laufzeitabhängigkeiten; die Dev-Gruppe existiert für die Testsuite, die Linter und zwei Bibliotheken, die nur als Test-Orakel verwendet werden – httpx für den optionalen Instantly-Provider und PyYAML, um den gebündelten YAML-Parser differentiell zu testen.

Konventionen, die wie Fehler aussehen, bis man den Grund kennt, sind in CLAUDE.md festgehalten.


Roadmap

  • Zusätzliche Provider hinter derselben Nur-Lese-Schnittstelle (Smartlead, HubSpot Sequences, Apollo)

  • Domain-Reputations- und DNS-Eintragsprüfungen (SPF, DKIM, DMARC-Ausrichtung)

  • Eine GitHub Action, die die CLI mit PR-Anmerkungen umschließt

  • Basislinienvergleich: Zwei Berichte diffen und zeigen, was sich seit dem letzten Lauf geändert hat

  • Schwellenwerte pro Segment, sodass eine Konfiguration mehrere Bewegungen abdecken kann


Mitwirken

Regeln sind klein, rein und unabhängig testbar – eine neue Regel ist normalerweise eine Klasse, ein Docstring und eine Handvoll Tests. Siehe CONTRIBUTING.md und CODE_OF_CONDUCT.md.

Sicherheit

Melden Sie Schwachstellen privat: SECURITY.md. Eine Regel, die PASS zurückgab, wenn die Daten fehlten, gilt als Sicherheitsproblem.

Lizenz

MIT. Siehe LICENSE.

Available Tools

6 tools
explain_preflight_ruleB
Read-onlyIdempotent

READ-ONLY. Explain one rule: what it checks, what data it needs, and its configurable options.

NameRequiredDescriptionDefault
rule_idYese.g. campaign.daily_volume

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered by structured data. The description's 'READ-ONLY' prefix reinforces but does not add to this. It adds minimal behavioral context beyond confirming the rule-explanation output, and does not contradict the annotations.

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?

A single, front-loaded sentence with zero waste. The 'READ-ONLY' prefix overlaps with annotations but is harmless. Appropriately sized for a simple single-parameter tool.

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 low-complexity tool (1 parameter, no output schema, no nesting), the description is reasonably complete — it states what the returned explanation covers. It partially compensates for the missing output schema by describing the explanation's contents, though it doesn't address error behavior for an invalid rule_id. Adequate given the tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% — rule_id is documented with an example ('campaign.daily_volume'). The description adds no parameter-level meaning beyond implying that rule_id selects the rule to explain, which the schema already conveys. Baseline 3 is appropriate since the schema carries the parameter burden.

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 states a specific verb ('Explain') and resource ('one rule'), and clarifies what the explanation covers (checks, data needs, configurable options). It implicitly distinguishes from siblings like list_preflight_rules and validate_preflight_config, though it does not name them explicitly. A clear, well-scoped purpose.

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 is given on when to use this tool versus its siblings. The description does not state that this should be used when detailed information about a single rule is needed as opposed to list_preflight_rules for enumeration or validate_preflight_config for config checking. No exclusions or alternative routing provided.

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

list_preflight_rulesA
Read-onlyIdempotent

READ-ONLY. List the preflight rule catalogue, optionally filtered by category: campaign, contacts, suppression, personalization, copy, schedule, or senders.

NameRequiredDescriptionDefault
categoryNo

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description's opening 'READ-ONLY' merely reinforces that. It adds no deeper behavioral detail beyond the filter (which is more parameter-related). No mention of pagination, output format, or rate limits, but for a simple read-only list tool, the annotations carry the transparency burden sufficiently.

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 sentence that front-loads the read-only nature and the core action ('List'), followed by the only parameter detail. Every word earns its place; there is no redundancy or filler. Ideal conciseness.

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 tool with one optional enum parameter, no output schema, and no nested objects, the description covers the purpose, the filter, and its optionality. It does not mention return format or relationships to sibling tools, but those are not critical for a simple listing operation. The description is sufficiently complete for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage and only one optional enum parameter. The description explicitly lists all valid category values (campaign, contacts, suppression, personalization, copy, schedule, senders) and clarifies the parameter is optional ('optionally filtered'). This fully compensates for the schema's lack of descriptions, giving the agent complete knowledge of the parameter without opening the schema.

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 ('List') and resource ('preflight rule catalogue'), and mentions optional filtering. The purpose is clear and not a tautology. It does not explicitly distinguish from siblings like preflight_demo or preflight_files, but the name and description make the function obvious enough that an agent could differentiate it.

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?

Gives context on the optional 'category' filter and lists valid categories, implying when filtering might be useful. However, it provides no explicit guidance on when to use this tool versus alternatives, nor any when-not-to-use statements. The presence of sibling tools like 'validate_preflight_config' suggests related actions, but no comparison is made.

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

preflight_demoA
Read-onlyIdempotent

READ-ONLY. Run the bundled synthetic demo campaign and return its readiness report. Uses synthetic data shipped with the package: no network calls and no credentials. Useful for showing what a report looks like.

NameRequiredDescriptionDefault
max_samplesNoAffected records shown per finding.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the description's 'READ-ONLY' is redundant. However, it adds value by stating no network calls and no credentials, and that it uses synthetic data shipped with the package—behavioral details not present in annotations. No contradiction.

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?

The description is three short sentences, each earning its place: the first states the action and safety profile, the second gives key behavioral context, and the third explains practical utility. It is front-loaded with READ-ONLY and has no fluff.

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

Completeness5/5

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

For a simple demo tool with one optional parameter and no required inputs, the description fully covers what the agent needs: what it does, that it's safe (read-only, no network/credentials), and when it's useful (showing a report). No output schema exists, but the description doesn't need to detail report structure for a demo. Complete for its purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%—the parameter max_samples is described as 'Affected records shown per finding.' The tool description does not mention the parameter at all, but since the schema fully covers it, the baseline of 3 applies. No additional semantic value added beyond the schema.

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 clearly states the tool runs a bundled synthetic demo campaign and returns a readiness report. The word 'demo' and 'synthetic' distinguish it from siblings like preflight_files or preflight_instantly_campaign, which likely operate on real data. This is a specific verb+resource with clear differentiation.

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?

The description explicitly notes it's 'useful for showing what a report looks like,' providing a direct use case. It also hints at no network calls and no credentials, implying it's safe for testing. However, it doesn't explicitly state when to prefer this over siblings, so it lacks explicit exclusions or alternative comparisons.

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

preflight_filesA
Read-onlyIdempotent

READ-ONLY. Check a campaign described by local files and return its readiness report. Reads only the paths given here; no directory is scanned or walked. Optional inputs that are omitted are reported as unavailable capabilities, so a run without suppressions_path says the suppression checks did not run rather than implying the list is clean.

NameRequiredDescriptionDefault
leads_pathYesAbsolute or relative path to an existing file.
config_pathNoAbsolute or relative path to an existing file.
max_samplesNoAffected records shown per finding.
senders_pathNoAbsolute or relative path to an existing file.
campaign_pathYesAbsolute or relative path to an existing file.
evidence_pathNoAbsolute or relative path to an existing file.
output_formatNoShape of the returned report.
suppressions_pathNoAbsolute or relative path to an existing file.

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly and idempotent annotations, the description adds critical behavioral context: it explicitly states that no directory scanning occurs and that omitted optional inputs are reported as 'unavailable capabilities' rather than clean results. This clarifies how the tool handles missing parameters, which is a significant behavioral nuance beyond the annotations alone.

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?

The description is three sentences with no filler. The first sentence states purpose, the second clarifies input scope, and the third explains behavior on omission. It is front-loaded with the core action and each sentence earns its place by contributing distinct, necessary information.

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?

With 8 parameters, no output schema, and no explicit enumeration of the checks performed, the description provides sufficient context: it defines the tool's domain (local files), its safety profile, and handling of missing inputs. The output_format parameter handles return shape, and sibling tools list_preflight_rules/explain_preflight_rule can cover rule details. It is complete enough for an agent to use correctly, though slightly more detail on what 'readiness' entails would elevate it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides descriptions for all 8 parameters (100% coverage), so the baseline is 3. The description adds meaning by explaining the collective effect of omitting optional parameters (e.g., suppressions_path yields 'suppression checks did not run'), which is a parameter-level semantic not present in the schema. This justifies a 4 over the baseline.

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 states a specific action ('Check a campaign described by local files and return its readiness report') with a clear resource (local files). It distinguishes itself from siblings by emphasizing 'local files' and the scoping rule 'Reads only the paths given here', which sets it apart from tools like preflight_demo or preflight_instantly_campaign that likely handle other sources.

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 description implies usage for file-based campaigns and clarifies that only explicit paths are read, but it does not explicitly contrast with sibling tools or state when to choose this over preflight_instantly_campaign or preflight_demo. The guidance is implied rather than directive, so it misses the 'when/when-not' bar for a higher score.

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

preflight_instantly_campaignA
Read-onlyIdempotent

READ-ONLY. Inspect a live Instantly campaign and return its readiness report. Reads the campaign, its leads, its sending accounts, and the workspace block list. Every request is checked against a read-only allowlist before it leaves the process, so no write, activation, or lead-mutation call is reachable. The API key is read from the INSTANTLY_API_KEY environment variable and is never accepted as a tool argument.

NameRequiredDescriptionDefault
lead_limitNo
campaign_idYesInstantly campaign UUID.
config_pathNoAbsolute or relative path to an existing file.
max_samplesNoAffected records shown per finding.

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, but the description adds valuable context: every request is checked against a read-only allowlist, and the API key is sourced from INSTANTLY_API_KEY rather than a tool argument. This discloses operational safeguards and security details beyond the annotations, enhancing the agent's understanding of constraints.

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?

The description is concise at three sentences, with purpose front-loaded ('READ-ONLY. Inspect...'). However, there is slight redundancy: 'READ-ONLY' is repeated in the allowlist explanation. Despite this, the structure is efficient and each sentence adds relevant information—purpose, scope, and security mechanism.

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?

For a tool with no output schema, the description should explain what the readiness report contains, but it only says 'readiness report' without detailing its format or contents. It does mention the data sources (leads, accounts, block list) but not the report's structure. Given the absence of output schema, this is a notable gap. The description covers the operational context well (read-only, API key), but the return value remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 75% (campaign_id, config_path, max_samples have descriptions; lead_limit has only min/max). The tool description does not elaborate on any parameter semantics. Per the rubric, with high schema coverage, a baseline of 3 is appropriate. The lack of compensation for the undocumented lead_limit is a minor gap, but overall the schema carries most of the parameter information.

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 clearly states the tool's action and target: 'Inspect a live Instantly campaign and return its readiness report.' This is a specific verb-resource combination and explicitly distinguishes it from sibling tools (preflight_demo, preflight_files, list_preflight_rules, etc.) by the 'live Instantly campaign' scope. The mention of reading leads, sending accounts, and block list further clarifies the exact domain.

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?

The description explains the scenario (inspecting a live campaign) and the read-only nature, but does not explicitly compare with alternatives or state when not to use it. It provides clear context for when this tool is appropriate (live campaign inspection) without listing excluded cases or directing to other preflight tools.

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

validate_preflight_configA
Read-onlyIdempotent

READ-ONLY. Validate a rules configuration file without running any checks. Reports unknown rule ids, unknown options, and out-of-range values.

NameRequiredDescriptionDefault
config_pathYesAbsolute or relative path to an existing file.

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already carry the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), and the leading 'READ-ONLY' merely restates readOnlyHint. The added value is the description of what validation reports (unknown rule ids, unknown options, out-of-range values), which is useful but modest. No contradiction with annotations.

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 tight sentences with no filler. The critical READ-ONLY safety flag is front-loaded, and the second sentence efficiently enumerates what the validation surfaces (unknown rule ids, options, out-of-range values). Slightly redundant with annotations but well-structured and brief.

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 simple one-parameter, read-only validation tool, this is nearly complete: purpose, scope, safety, and output dimensions are all covered. No output schema exists, but the description names the three classes of findings an agent can expect, which is sufficient for a config-validator of this simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%; the schema already documents config_path as an absolute or relative path to an existing file. The description adds only the contextual hint that the path points to a configuration file, which aligns with but does not materially extend the schema. Baseline 3 is appropriate.

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?

Describes a specific verb (validate) applied to a specific resource (rules configuration file). It distinguishes itself from sibling tools like preflight_demo, preflight_files, and preflight_instantly_campaign by explicitly stating it does not run checks, and from list_preflight_rules/explain_preflight_rule by focusing on config validation rather than rule discovery. An agent can pick it apart from siblings without opening the schema.

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?

Provides a clear context: validate a configuration file before executing checks. The phrase 'without running any checks' implicitly marks off the preflight_* siblings that do execute campaigns, giving a when-not signal. It does not name alternatives explicitly or give exclusion conditions, so it falls short of a 5.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv0.1.0
    • First observedexplain_preflight_rule
    • First observedlist_preflight_rules
    • First observedpreflight_demo
    • First observedpreflight_files
    • First observedpreflight_instantly_campaign
    • First observedvalidate_preflight_config

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation5/5

Each tool serves a clearly distinct purpose: three preflight runners for different input sources (demo, files, live), two for rule management (list and explain), and one for config validation. There is no overlap in their operations, and the descriptions make it obvious which to select.

Naming Consistency4/5

Names use a consistent 'preflight_' prefix across all tools, but the pattern is not fully uniform: the first three are verbs implied by the domain (e.g., 'preflight_demo' runs a demo), while the last three explicitly start with verbs ('list_', 'explain_', 'validate_'). This is a minor deviation that agents can easily adapt to.

Tool Count5/5

With six tools, the server is well-scoped and avoids unnecessary bloat. Each tool covers a distinct aspect of the preflight workflow—execution sources, rule catalog, and configuration—so the count feels appropriately sized for the domain.

Completeness4/5

The surface covers the core lifecycle: running preflights on demo, files, or a live Instantly campaign; inspecting and understanding rules; and validating config files. A minor gap is the lack of a tool to run preflight on a manually specified set of parameters or a generic input, but the provided sources handle common use cases adequately.

Maintenance

ActivityStale
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that provides read-only access to Mailchimp's Marketing API for comprehensive email marketing data retrieval.
    38
    85 npm
    12
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Read-only MCP server that performs deterministic local preflights of agent-payment boundary documents and x402 v2 PaymentRequired JSON, and prepares unsubmitted public quote-request drafts without network calls or fund movement.
    1
    -
  • A
    license
    A
    quality
    A
    maintenance
    A read-only MCP server that reports BI pipeline readiness, blockers, and the next allowed action for governed Power BI workflows. It never writes files, executes warehouse work, or grants human approvals.
    6
    10 npm
    2
    Apache 2.0