← All tools

Business / VERSION 1

Audit campaign parameters

Check parsed campaign URLs for HTTPS, approved hosts and required UTM parameters.

Available via local MCP
RuntimeLocal DockerNetworkNoneRequest / result256 KiB eachProvider costNo API fees; local compute

Give it a task.

Use this MCP call after connecting Piwi. The output below is the result asserted by this tool's tests.

MCP tool call
{
  "name": "piwi_run_campaign_review",
  "arguments": {
    "input": {
      "links": [
        {
          "protocol": "https",
          "hostname": "example.com",
          "pathname": "/sale",
          "query": [
            [
              "utm_source",
              "email"
            ],
            [
              "utm_medium",
              "newsletter"
            ],
            [
              "utm_campaign",
              "launch"
            ]
          ],
          "fragment": "",
          "port": ""
        }
      ],
      "allowedHosts": [
        "example.com"
      ],
      "duplicatesRemoved": 1
    }
  }
}
Expected output
{
  "links": [
    {
      "hostname": "example.com",
      "pathname": "/sale",
      "issues": []
    }
  ],
  "summary": {
    "uniqueLinks": 1,
    "flagged": 0,
    "duplicatesRemoved": 1
  },
  "readyForReview": true
}

Inputs

  • links: parsed URL records
  • allowedHosts: exact hostnames
  • duplicatesRemoved: number

Outputs

  • link findings
  • summary
  • readyForReview