Koskamo

Paperloo Compliance MCP

Automated website compliance infrastructure and GDPR/CCPA auditing. It allows agents to register sites, generate legal documents like privacy policies and DPAs, configure cookie banners with Google Consent Mode v2, integrate Google Tag Manager, and perform multi-vector statutory audits and live cookie inspections.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Paperloo Compliance MCP logo, by PaperlooCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by Paperloo
MCP endpoint (Streamable HTTP)
https://paperloo.vercel.app/api/mcp
Vendor documentation

What its tools do

19 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

19 of 19 have a description · 19 of 19 declare behavior hints · 19 of 19 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Warning Advertises resources/templates/list but does not implement it
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Provision and register a website for compliance monitoring
  • Generate legally tailored Privacy Policies and Terms of Service
  • Deploy and configure Google Consent Mode v2 cookie banners
  • Perform multi-vector compliance audits and scan cookies

Source and maintenance

Community listingRegistry 1.0.0
Maintenance checked

Protocol and capabilities

Server
io.github.yassinemohamedali11/paperloo 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
19 advertised
Resources
5 advertised
Resource templates
Not advertised
Prompts
3 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "subscribe": true,
    "listChanged": true
  }
}

Tools

19 advertised

audit_site — Multi-Vector Website Compliance Audit
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Executes a live HTTP/HTTPS multi-vector compliance audit against any public website URL. Inspects TLS transport, HTTP security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options), Set-Cookie headers, client-side tracking scripts, Consent Management Platform (CMP) and Google Consent Mode v2 default 'denied' enforcement (GDPR Art. 5(3)), footer legal policy links (Privacy, Terms, Cookie Policy, CCPA Do Not Sell), and—when deep_scan is true—WCAG 2.1 AA DOM accessibility metrics and EU AI Act Article 50 chatbot disclosures. When to use vs. related tools: Call 'audit_site' for an overall 0-100 compliance score, letter grade (A+ to F / FAILED), and cross-framework findings. Use 'scan_cookies' when you only need a categorized cookie/tracker inventory without grading; use 'audit_accessibility' when you need grading against WCAG_2.1_AAA or Section_508; use 'audit_ai_transparency' when you only need EU AI Act Art. 50 & GDPR Art. 22 findings. Preconditions & side effects: Requires a publicly DNS-resolvable HTTP/HTTPS URL; no authentication or prior 'add_site' registration is required. Read-only operation—performs live outbound HTTP GET inspection and never mutates registered sites. Returns: JSON object containing 'success', 'audit_id', 'target_url', 'deep_scan', 'compliance_score' (0-100), 'compliance_grade', 'status' ('COMPLETED' | 'FAILED'), 'is_https', 'timestamp', structured 'tests' sub-reports, 'findings', 'recommendations', 'cookie_inventory', and 'error' if unreachable or invalid.

audit_site input schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://paperloo.vercel.app",
        "https://example.com"
      ],
      "minLength": 4,
      "description": "Full public HTTP or HTTPS URL of the website to audit."
    },
    "deep_scan": {
      "type": "boolean",
      "default": true,
      "examples": [
        true,
        false
      ],
      "description": "When true (default), runs full DOM inspection including WCAG 2.1 AA accessibility checks and EU AI Act chatbot detection. When false, executes a faster baseline check covering TLS, headers, trackers, consent mode, and legal links while skipping WCAG/AI DOM passes."
    }
  },
  "additionalProperties": false
}
audit_site output schema
{
  "type": "object",
  "required": [
    "success",
    "audit_id",
    "target_url",
    "deep_scan",
    "compliance_score",
    "compliance_grade",
    "status",
    "is_https",
    "timestamp",
    "tests",
    "findings",
    "recommendations",
    "cookie_inventory"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Present when success is false."
    },
    "tests": {
      "type": "object",
      "required": [
        "website_reachable",
        "ssl_tls_security",
        "prior_consent_enforcement",
        "detected_trackers_count",
        "marketing_trackers",
        "detected_scripts",
        "security_headers",
        "legal_disclosures",
        "wcag_accessibility",
        "eu_ai_act"
      ],
      "properties": {
        "eu_ai_act": {
          "type": "object",
          "required": [
            "status",
            "ai_chatbots_detected",
            "synthetic_media_disclosures"
          ],
          "properties": {
            "status": {
              "enum": [
                "COMPLIANT",
                "NEEDS_DISCLOSURE",
                "HIGH_RISK_REVIEW",
                "FAILED",
                "SKIPPED"
              ],
              "type": "string",
              "description": "EU AI Act transparency posture."
            },
            "ai_chatbots_detected": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Detected AI chat widget provider name."
              },
              "description": "AI conversational widgets discovered on the page."
            },
            "synthetic_media_disclosures": {
              "type": "boolean",
              "description": "Whether explicit AI/synthetic interaction disclosure copy was found."
            }
          },
          "description": "EU AI Act Article 50 chatbot and disclosure check summary (skipped when deep_scan is false).",
          "additionalProperties": false
        },
        "detected_scripts": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Detected third-party script or vendor label."
          },
          "description": "List of third-party tracking scripts identified in the HTML DOM."
        },
        "security_headers": {
          "type": "object",
          "required": [
            "hsts",
            "csp",
            "x_frame_options",
            "x_content_type_options"
          ],
          "properties": {
            "csp": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "Content-Security-Policy header check."
            },
            "hsts": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "Strict-Transport-Security header check."
            },
            "x_frame_options": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "X-Frame-Options clickjacking header check."
            },
            "x_content_type_options": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "X-Content-Type-Options MIME-sniffing header check."
            }
          },
          "description": "Evaluation of critical HTTP security response headers.",
          "additionalProperties": false
        },
        "ssl_tls_security": {
          "enum": [
            "PASSED",
            "FAILED"
          ],
          "type": "string",
          "description": "Whether the target enforces HTTPS transport security."
        },
        "legal_disclosures": {
          "type": "object",
          "required": [
            "privacy_policy",
            "terms_of_service",
            "cookie_policy",
            "ccpa_do_not_sell"
          ],
          "properties": {
            "cookie_policy": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "Cookie Policy disclosure link check."
            },
            "privacy_policy": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "Privacy Policy link presence (GDPR Art. 13/14 & CCPA)."
            },
            "ccpa_do_not_sell": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "California 'Do Not Sell or Share' / 'Your Privacy Choices' link check."
            },
            "terms_of_service": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED"
              ],
              "type": "string",
              "description": "Terms of Service link presence."
            }
          },
          "description": "Presence check for required statutory policy links in the HTML DOM.",
          "additionalProperties": false
        },
        "website_reachable": {
          "enum": [
            "PASSED",
            "FAILED"
          ],
          "type": "string",
          "description": "Whether the target responded with HTTP < 400."
        },
        "marketing_trackers": {
          "type": "integer",
          "minimum": 0,
          "description": "Number of advertising/marketing trackers detected."
        },
        "wcag_accessibility": {
          "type": "object",
          "required": [
            "status",
            "score",
            "missing_alt_images",
            "landmarks_detected"
          ],
          "properties": {
            "score": {
              "type": "integer",
              "maximum": 100,
              "minimum": 0,
              "description": "Accessibility sub-score (0-100)."
            },
            "status": {
              "enum": [
                "PASSED",
                "WARNING",
                "FAILED",
                "SKIPPED"
              ],
              "type": "string",
              "description": "Accessibility check outcome."
            },
            "landmarks_detected": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "HTML5 or ARIA landmark tag/role name."
              },
              "description": "Semantic landmarks found in the document."
            },
            "missing_alt_images": {
              "type": "integer",
              "minimum": 0,
              "description": "Count of <img> elements missing non-empty alt attributes."
            }
          },
          "description": "WCAG 2.1 AA DOM accessibility pass summary (skipped when deep_scan is false).",
          "additionalProperties": false
        },
        "detected_trackers_count": {
          "type": "integer",
          "minimum": 0,
          "description": "Total cookies and tracking scripts observed on initial load."
        },
        "prior_consent_enforcement": {
          "enum": [
            "PASSED",
            "VIOLATION",
            "NOT_APPLICABLE"
          ],
          "type": "string",
          "description": "GDPR Art. 5(3) pre-consent tracker gating evaluation."
        }
      },
      "description": "Structured compliance check sub-reports across connectivity, TLS, consent, headers, legal links, WCAG, and EU AI Act.",
      "additionalProperties": false
    },
    "status": {
      "enum": [
        "COMPLETED",
        "FAILED"
      ],
      "type": "string",
      "description": "Audit execution status."
    },
    "success": {
      "type": "boolean",
      "description": "True if target responded with HTTP < 400; false on invalid URL, DNS/network failure, or HTTP >= 400."
    },
    "audit_id": {
      "type": "string",
      "description": "Unique audit run identifier ('aud_*')."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Single human-readable compliance check observation."
      },
      "description": "Human-readable compliance findings."
    },
    "is_https": {
      "type": "boolean",
      "description": "Whether the target URL uses HTTPS."
    },
    "deep_scan": {
      "type": "boolean",
      "description": "Whether WCAG & AI Act deep DOM passes were executed."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 audit completion timestamp."
    },
    "target_url": {
      "type": "string",
      "description": "Normalized target URL scanned."
    },
    "recommendations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Actionable remediation instruction."
      },
      "description": "Prioritized remediation actions."
    },
    "compliance_grade": {
      "enum": [
        "A+",
        "A",
        "B",
        "C",
        "D",
        "F",
        "FAILED"
      ],
      "type": "string",
      "description": "Letter grade capped by critical HTTPS or ePrivacy violations; 'FAILED' if unreachable."
    },
    "compliance_score": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0,
      "description": "Calculated numeric compliance score (0 on failure)."
    },
    "cookie_inventory": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "provider",
          "category",
          "expiry",
          "purpose",
          "source"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
          },
          "domain": {
            "type": "string",
            "description": "Target hostname observed during scan."
          },
          "expiry": {
            "type": "string",
            "description": "Retention lifetime or 'Session'."
          },
          "source": {
            "enum": [
              "http_header",
              "detected_script",
              "manual"
            ],
            "type": "string",
            "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
          },
          "purpose": {
            "type": "string",
            "description": "Human-readable functional or tracking purpose."
          },
          "category": {
            "enum": [
              "Necessary",
              "Analytics",
              "Marketing",
              "Preferences"
            ],
            "type": "string",
            "description": "Regulatory cookie classification."
          },
          "provider": {
            "type": "string",
            "description": "Vendor or host domain setting the cookie."
          }
        },
        "description": "Single detected cookie or client-side tracker entry.",
        "additionalProperties": false
      },
      "description": "Detailed cookies and tracking scripts discovered during the scan."
    }
  },
  "description": "Comprehensive multi-vector compliance audit report.",
  "additionalProperties": false
}
audit_site annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
audit_accessibility — WCAG 2.1 & Section 508 Accessibility Audit
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Performs a focused HTML DOM accessibility evaluation on a target URL against WCAG 2.1 AA, WCAG 2.1 AAA, or U.S. Section 508 standards. Inspects missing image 'alt' attributes (SC 1.1.1), HTML5 semantic/ARIA landmarks (SC 1.3.1), programmatic form input labels (SC 3.3.2), document '<title>' presence (SC 2.4.2), and '<html lang>' declaration (SC 3.1.1), applying standard-specific grading thresholds. When to use vs. related tools: Call 'audit_accessibility' when you need granular accessibility counts, standard-specific grading (including WCAG_2.1_AAA or Section_508), and remediation items without privacy/cookie auditing. Call 'audit_site' for combined privacy + security + accessibility scoring. Preconditions & side effects: Requires a reachable public HTTP(S) URL; no registry siteId or authentication required. Read-only live HTTP inspection with zero state mutation. Returns: JSON object containing 'success', 'audit_id', 'target_url', 'standard', 'accessibility_score' (0-100), 'wcag_compliance_grade' ('AAA' | 'AA' | 'A' | 'CONFORMANT' | 'NON_COMPLIANT'), itemized 'metrics', 'violations', 'remediation_actions', 'timestamp', and optional 'error'.

audit_accessibility input schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://paperloo.vercel.app"
      ],
      "minLength": 4,
      "description": "Full public HTTP or HTTPS URL of the webpage to audit for accessibility."
    },
    "standard": {
      "enum": [
        "WCAG_2.1_AA",
        "WCAG_2.1_AAA",
        "Section_508"
      ],
      "type": "string",
      "default": "WCAG_2.1_AA",
      "examples": [
        "WCAG_2.1_AA",
        "WCAG_2.1_AAA"
      ],
      "description": "Accessibility conformance standard and grading threshold to evaluate against."
    }
  },
  "additionalProperties": false
}
audit_accessibility output schema
{
  "type": "object",
  "required": [
    "success",
    "audit_id",
    "target_url",
    "standard",
    "accessibility_score",
    "wcag_compliance_grade",
    "metrics",
    "violations",
    "remediation_actions",
    "timestamp"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Failure reason when target is unreachable or input is invalid."
    },
    "metrics": {
      "type": "object",
      "required": [
        "total_images",
        "images_missing_alt",
        "images_compliant",
        "landmarks_detected",
        "missing_form_labels",
        "has_document_title",
        "has_html_lang"
      ],
      "properties": {
        "total_images": {
          "type": "integer",
          "minimum": 0,
          "description": "Total <img> elements inspected."
        },
        "has_html_lang": {
          "type": "boolean",
          "description": "Whether the <html> tag specifies a valid lang attribute."
        },
        "images_compliant": {
          "type": "integer",
          "minimum": 0,
          "description": "Count of <img> tags with valid alt attributes."
        },
        "has_document_title": {
          "type": "boolean",
          "description": "Whether a non-empty <title> element is present."
        },
        "images_missing_alt": {
          "type": "integer",
          "minimum": 0,
          "description": "Count of <img> tags lacking alt text."
        },
        "landmarks_detected": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Detected semantic landmark name."
          },
          "description": "Semantic HTML5/ARIA landmarks present on the page."
        },
        "missing_form_labels": {
          "type": "integer",
          "minimum": 0,
          "description": "Count of form controls missing programmatic labels."
        }
      },
      "description": "Granular DOM accessibility counts and flags.",
      "additionalProperties": false
    },
    "success": {
      "type": "boolean",
      "description": "True if target URL was reachable and parsed; false otherwise."
    },
    "audit_id": {
      "type": "string",
      "description": "Unique accessibility audit identifier ('a11y_*')."
    },
    "standard": {
      "enum": [
        "WCAG_2.1_AA",
        "WCAG_2.1_AAA",
        "Section_508"
      ],
      "type": "string",
      "description": "Accessibility standard applied during grading."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 audit completion timestamp."
    },
    "target_url": {
      "type": "string",
      "description": "Target URL audited."
    },
    "violations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Specific WCAG or Section 508 violation description."
      },
      "description": "List of detected accessibility violations."
    },
    "accessibility_score": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0,
      "description": "Computed DOM accessibility score (0-100)."
    },
    "remediation_actions": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Recommended engineering fix for a violation."
      },
      "description": "Prioritized remediation steps mapped to detected violations."
    },
    "wcag_compliance_grade": {
      "enum": [
        "AAA",
        "AA",
        "A",
        "CONFORMANT",
        "NON_COMPLIANT"
      ],
      "type": "string",
      "description": "Standard-specific conformance grade."
    }
  },
  "description": "Detailed accessibility inspection report.",
  "additionalProperties": false
}
audit_accessibility annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
audit_ai_transparency — EU AI Act Transparency Audit
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Evaluates a live website URL for European Union Artificial Intelligence Act (Regulation (EU) 2024/1689) Article 50 transparency compliance and GDPR Article 22 automated decision-making readiness. Scans page HTML for embedded conversational AI assistants (Intercom Fin, Crisp, Chatbase, Voiceflow, Botpress, Tidio Lyro, Zendesk AI), checks for explicit AI/synthetic-content disclosure language, and reports tracked AI crawler policy slots (GPTBot, CCBot, ClaudeBot, Anthropic-ai, Google-Extended). When to use vs. related tools: Call 'audit_ai_transparency' when specifically assessing EU AI Act Article 50 chatbot/synthetic disclosures and statutory mandates. Call 'audit_site' for a full GDPR/CCPA/security/WCAG/AI combined audit. Preconditions & side effects: Requires a public HTTP(S) URL; no authentication or site registration needed. Read-only live HTTP inspection. Returns: JSON object containing 'success', 'audit_id', 'target_url', 'ai_act_compliance_status' ('COMPLIANT' | 'NEEDS_DISCLOSURE' | 'HIGH_RISK_REVIEW'), 'regulatory_framework', 'findings', 'statutory_mandates', 'action_items', 'timestamp', and optional 'error'.

audit_ai_transparency input schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://paperloo.vercel.app"
      ],
      "minLength": 4,
      "description": "Full public HTTP or HTTPS URL of the website to evaluate for EU AI Act transparency obligations."
    }
  },
  "additionalProperties": false
}
audit_ai_transparency output schema
{
  "type": "object",
  "required": [
    "success",
    "audit_id",
    "target_url",
    "ai_act_compliance_status",
    "regulatory_framework",
    "findings",
    "statutory_mandates",
    "action_items",
    "timestamp"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Failure details when success is false."
    },
    "success": {
      "type": "boolean",
      "description": "True if the target URL was reachable and scanned; false otherwise."
    },
    "audit_id": {
      "type": "string",
      "description": "Unique AI transparency audit identifier ('ai_*')."
    },
    "findings": {
      "type": "object",
      "required": [
        "ai_chatbots_detected",
        "synthetic_media_disclosed",
        "crawler_directives"
      ],
      "properties": {
        "crawler_directives": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "bot",
              "status"
            ],
            "properties": {
              "bot": {
                "type": "string",
                "description": "AI crawler user-agent identifier (e.g. 'GPTBot')."
              },
              "status": {
                "enum": [
                  "allowed",
                  "disallowed",
                  "not_specified"
                ],
                "type": "string",
                "description": "Directive policy status."
              }
            },
            "description": "Crawler directive status for an AI training bot.",
            "additionalProperties": false
          },
          "description": "Evaluated AI crawler access directives."
        },
        "ai_chatbots_detected": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Detected conversational AI provider name."
          },
          "description": "Embedded conversational AI assistants identified in the DOM."
        },
        "synthetic_media_disclosed": {
          "type": "boolean",
          "description": "Whether explicit AI/automated interaction notice language was present."
        }
      },
      "description": "AI widget, disclosure, and crawler directive findings.",
      "additionalProperties": false
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 audit completion timestamp."
    },
    "target_url": {
      "type": "string",
      "description": "Normalized target URL inspected."
    },
    "action_items": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Recommended compliance or disclosure action."
      },
      "description": "Remediation or confirmation actions."
    },
    "statutory_mandates": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Applicable EU AI Act or GDPR legal requirement citation."
      },
      "description": "Relevant statutory mandates cited for this audit."
    },
    "regulatory_framework": {
      "type": "string",
      "description": "Primary statute evaluated (EU AI Act Regulation (EU) 2024/1689)."
    },
    "ai_act_compliance_status": {
      "enum": [
        "COMPLIANT",
        "NEEDS_DISCLOSURE",
        "HIGH_RISK_REVIEW"
      ],
      "type": "string",
      "description": "EU AI Act Article 50 transparency status."
    }
  },
  "description": "EU AI Act Article 50 transparency audit report.",
  "additionalProperties": false
}
audit_ai_transparency annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
configure_cookie_banner — Configure Site Cookie Consent Banner
Advertised by the server during the last successful anonymous check.

Updates and persists the cookie consent banner UI configuration, Google Consent Mode v2 synchronization, and pre-consent tracker blocking rules for an existing monitored site. When to use vs. related tools: Call 'configure_cookie_banner' first to customize visual theme, placement, copy, accent hex color, and GCM v2 blocking flags on a registered site; afterward, call 'get_cookie_banner_script' (for CMS/web embeds) or 'get_consent_banner_code' (for GCM v2 Basic/Advanced code). Call 'list_sites' or 'add_site' first if you do not have a valid 'siteId'. Preconditions & side effects: 'siteId' MUST match an existing site ID or registered domain in the workspace registry (no silent fallback to default sites). Mutates the target site's 'cookie_banner' configuration in-memory. Returns: On success, returns 'success: true', 'siteId', 'site_name', persisted 'banner_configuration', 'preview_url', 'embed_script', and 'message'. On invalid accent color or unknown siteId, returns 'success: false', 'error', and 'available_sites'.

configure_cookie_banner input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "theme": {
      "enum": [
        "dark",
        "light",
        "glassmorphism",
        "auto"
      ],
      "type": "string",
      "default": "dark",
      "examples": [
        "dark",
        "glassmorphism"
      ],
      "description": "Visual appearance preset for the consent banner."
    },
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox",
        "site_demo_store"
      ],
      "minLength": 1,
      "description": "Registered site UUID (e.g. 'site_paperloo_sandbox') or exact registered domain URL."
    },
    "position": {
      "enum": [
        "bottom",
        "top",
        "bottom_right",
        "bottom_left",
        "center_modal"
      ],
      "type": "string",
      "default": "bottom",
      "examples": [
        "bottom",
        "bottom_right"
      ],
      "description": "Viewport anchor position for the banner or consent modal."
    },
    "accent_color": {
      "type": "string",
      "default": "#c8f135",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "examples": [
        "#c8f135",
        "#10b981"
      ],
      "description": "6-digit hexadecimal color code for primary accept buttons and highlights."
    },
    "banner_title": {
      "type": "string",
      "default": "Privacy & Cookie Preferences",
      "examples": [
        "Privacy & Cookie Preferences"
      ],
      "maxLength": 120,
      "minLength": 1,
      "description": "Primary heading displayed at the top of the cookie consent notice."
    },
    "enable_gcm_v2": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Enable automatic synchronization with Google Consent Mode v2 signals."
    },
    "banner_message": {
      "type": "string",
      "examples": [
        "We use essential and analytics cookies to measure traffic and improve your experience."
      ],
      "maxLength": 600,
      "minLength": 1,
      "description": "Explanatory consent body copy shown to visitors before choice selection."
    },
    "auto_block_trackers": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Withhold non-essential analytics and marketing tags until affirmative user opt-in."
    }
  },
  "additionalProperties": false
}
configure_cookie_banner output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation or lookup error when success is false."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable confirmation message."
    },
    "success": {
      "type": "boolean",
      "description": "True if banner settings were validated and saved; false otherwise."
    },
    "site_name": {
      "type": "string",
      "description": "Human-readable name of the updated site."
    },
    "preview_url": {
      "type": "string",
      "format": "uri",
      "description": "Interactive Paperloo preview URL for the banner."
    },
    "embed_script": {
      "type": "string",
      "description": "Ready-to-paste HTML script tag loading the configured banner."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId is not found."
    },
    "banner_configuration": {
      "type": "object",
      "required": [
        "theme",
        "position",
        "banner_title",
        "banner_message",
        "enable_gcm_v2",
        "auto_block_trackers",
        "accent_color",
        "categories",
        "updated_at"
      ],
      "properties": {
        "theme": {
          "enum": [
            "dark",
            "light",
            "glassmorphism",
            "auto"
          ],
          "type": "string",
          "description": "Applied banner theme preset."
        },
        "position": {
          "enum": [
            "bottom",
            "top",
            "bottom_right",
            "bottom_left",
            "center_modal"
          ],
          "type": "string",
          "description": "Applied viewport anchor position."
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Consent category identifier."
          },
          "description": "Consent categories enabled on the banner."
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO-8601 timestamp of this configuration update."
        },
        "accent_color": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$",
          "description": "6-digit hex accent color applied to primary actions."
        },
        "banner_title": {
          "type": "string",
          "description": "Heading text displayed on the banner."
        },
        "enable_gcm_v2": {
          "type": "boolean",
          "description": "Whether Google Consent Mode v2 sync is enabled."
        },
        "banner_message": {
          "type": "string",
          "description": "Explanatory consent body copy."
        },
        "auto_block_trackers": {
          "type": "boolean",
          "description": "Whether prior-consent script blocking is active."
        }
      },
      "description": "Saved cookie consent banner configuration object.",
      "additionalProperties": false
    }
  },
  "description": "Result of updating a site's cookie consent banner configuration.",
  "additionalProperties": false
}
configure_cookie_banner annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_cookie_banner_script — Get Framework Cookie Banner Embed Script
Advertised by the server during the last successful anonymous check.
Advertised read-only

Generates a ready-to-deploy cookie consent banner embed snippet tailored to a target web framework or CMS ('html', 'react', 'nextjs', 'wordpress', 'webflow', 'shopify') with Google Consent Mode v2 default 'denied' initialization. When to use vs. related tools: Call 'get_cookie_banner_script' when integrating into a CMS (WordPress PHP hook, Webflow head embed, Shopify theme.liquid) or standard React/Next.js/HTML app. Call 'get_consent_banner_code' instead if you need Vue 3 support, explicit selection between 'v2_basic' (blocking) vs 'v2_advanced' (cookieless pings) GCM v2 modes, or consent update event listeners. Call 'configure_cookie_banner' beforehand to customize banner styling. Preconditions & side effects: 'siteId' must exist in the active registry. Read-only code generation—does not mutate site state. Returns: JSON object with 'success', 'siteId', 'site_name', 'framework', 'embed_code', 'gcm_default_state', and 'instructions' (or 'success: false' and 'error' if not found).

get_cookie_banner_script input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL."
    },
    "framework": {
      "enum": [
        "html",
        "react",
        "nextjs",
        "wordpress",
        "webflow",
        "shopify"
      ],
      "type": "string",
      "default": "html",
      "examples": [
        "html",
        "nextjs",
        "shopify",
        "wordpress"
      ],
      "description": "Target frontend framework or CMS platform for code generation."
    }
  },
  "additionalProperties": false
}
get_cookie_banner_script output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message if siteId or framework is invalid."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "success": {
      "type": "boolean",
      "description": "True if snippet generation succeeded; false otherwise."
    },
    "framework": {
      "enum": [
        "html",
        "react",
        "nextjs",
        "wordpress",
        "webflow",
        "shopify"
      ],
      "type": "string",
      "description": "Framework or CMS format used to render the snippet."
    },
    "site_name": {
      "type": "string",
      "description": "Display name of the target site."
    },
    "embed_code": {
      "type": "string",
      "description": "Framework-specific banner and GCM v2 initialization code."
    },
    "instructions": {
      "type": "string",
      "description": "Deployment placement instructions for the chosen framework."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "gcm_default_state": {
      "type": "object",
      "required": [
        "ad_storage",
        "analytics_storage",
        "ad_user_data",
        "ad_personalization"
      ],
      "properties": {
        "ad_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_storage."
        },
        "ad_user_data": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_user_data."
        },
        "analytics_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for analytics_storage."
        },
        "ad_personalization": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_personalization."
        }
      },
      "description": "Google Consent Mode v2 default signal values reflected in the snippet.",
      "additionalProperties": false
    }
  },
  "description": "Framework-tailored cookie banner embed snippet and default GCM v2 state.",
  "additionalProperties": false
}
get_cookie_banner_script annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_consent_banner_code — Get Google Consent Mode v2 Developer Code
Advertised by the server during the last successful anonymous check.
Advertised read-only

Generates developer-oriented Google Consent Mode v2 banner integration code with configurable 'gtm_mode' ('v2_basic' strict tag-blocking vs 'v2_advanced' cookieless behavioral modeling with 'ads_data_redaction' and 'wait_for_update') and dynamic 'paperloo_consent_update' listener snippets across 'html', 'react', 'nextjs', and 'vue'. When to use vs. related tools: Choose 'get_consent_banner_code' over 'get_cookie_banner_script' when building custom frontend apps (including Vue 3) or when explicitly selecting Basic vs. Advanced Google Consent Mode v2 behavior. Choose 'get_cookie_banner_script' for CMS embeds (WordPress, Webflow, Shopify). Choose 'get_gtm_container_setup' for full Google Tag Manager container '<head>'/'<body>' snippets. Preconditions & side effects: 'siteId' must match a registered site in the active registry. Read-only operation. Returns: JSON object containing 'success', 'siteId', 'site_name', 'framework', 'gtm_mode', 'embed_code', 'gcm_default_state', 'consent_update_listener', and 'instructions' (or 'error' on failure).

get_consent_banner_code input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL."
    },
    "gtm_mode": {
      "enum": [
        "v2_basic",
        "v2_advanced"
      ],
      "type": "string",
      "default": "v2_advanced",
      "examples": [
        "v2_advanced",
        "v2_basic"
      ],
      "description": "'v2_basic' withholds tag execution until consent; 'v2_advanced' initializes denied defaults with cookieless pings, wait_for_update, and ads_data_redaction."
    },
    "framework": {
      "enum": [
        "html",
        "react",
        "nextjs",
        "vue"
      ],
      "type": "string",
      "default": "html",
      "examples": [
        "html",
        "nextjs",
        "vue"
      ],
      "description": "Target JavaScript/HTML framework for generated code."
    }
  },
  "additionalProperties": false
}
get_consent_banner_code output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message if validation or site lookup fails."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "success": {
      "type": "boolean",
      "description": "True if code generation succeeded; false otherwise."
    },
    "gtm_mode": {
      "enum": [
        "v2_basic",
        "v2_advanced"
      ],
      "type": "string",
      "description": "Google Consent Mode v2 integration mode."
    },
    "framework": {
      "enum": [
        "html",
        "react",
        "nextjs",
        "vue"
      ],
      "type": "string",
      "description": "Target frontend framework."
    },
    "site_name": {
      "type": "string",
      "description": "Display name of the target site."
    },
    "embed_code": {
      "type": "string",
      "description": "Framework-specific GCM v2 initialization and Paperloo script snippet."
    },
    "instructions": {
      "type": "string",
      "description": "Integration guidance for the selected GCM v2 mode."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "gcm_default_state": {
      "type": "object",
      "required": [
        "ad_storage",
        "analytics_storage",
        "ad_user_data",
        "ad_personalization"
      ],
      "properties": {
        "ad_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_storage."
        },
        "ad_user_data": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_user_data."
        },
        "analytics_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for analytics_storage."
        },
        "ad_personalization": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_personalization."
        }
      },
      "description": "GCM v2 default storage flags applied before visitor interaction.",
      "additionalProperties": false
    },
    "consent_update_listener": {
      "type": "string",
      "description": "JavaScript listener snippet forwarding 'paperloo_consent_update' events to gtag('consent', 'update')."
    }
  },
  "description": "GCM v2 developer snippet with dynamic consent update listener.",
  "additionalProperties": false
}
get_consent_banner_code annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
configure_gtm_integration — Configure Google Tag Manager & Consent Mode v2
Advertised by the server during the last successful anonymous check.

Configures and saves a Google Tag Manager (GTM) container binding and initial Google Consent Mode v2 storage signal defaults ('ad_storage', 'analytics_storage', 'ad_user_data', 'ad_personalization') plus 'paperloo_consent_update' dataLayer trigger settings for a registered site. When to use vs. related tools: Call 'configure_gtm_integration' to store a GTM container ID and default consent states on a site; call 'get_gtm_container_setup' afterward to retrieve the rendered '<head>'/'<body>' GTM snippets reflecting those saved defaults. Preconditions & side effects: 'siteId' must match a registered site, and 'gtm_container_id' must match '^GTM-[A-Z0-9]{4,12}$'. Mutates the site's 'gtm' object in the active registry. Returns: JSON object with 'success: true', 'siteId', 'site_name', saved 'gtm_configuration', and 'message' (or 'success: false' and 'error').

configure_gtm_integration input schema
{
  "type": "object",
  "required": [
    "siteId",
    "gtm_container_id"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL."
    },
    "trigger_events": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Dispatch a custom 'paperloo_consent_update' event to window.dataLayer whenever visitor consent changes."
    },
    "gtm_container_id": {
      "type": "string",
      "pattern": "^GTM-[A-Z0-9]{4,12}$",
      "examples": [
        "GTM-PAPERLOO",
        "GTM-W89K2P"
      ],
      "description": "Google Tag Manager Container ID starting with 'GTM-' followed by 4-12 uppercase alphanumeric characters."
    },
    "default_ad_storage": {
      "enum": [
        "denied",
        "granted"
      ],
      "type": "string",
      "default": "denied",
      "examples": [
        "denied"
      ],
      "description": "Initial GCM v2 default for advertising cookies before user interaction."
    },
    "default_ad_user_data": {
      "enum": [
        "denied",
        "granted"
      ],
      "type": "string",
      "default": "denied",
      "examples": [
        "denied"
      ],
      "description": "Initial GCM v2 default for sending user data to Google for advertising."
    },
    "default_analytics_storage": {
      "enum": [
        "denied",
        "granted"
      ],
      "type": "string",
      "default": "denied",
      "examples": [
        "denied"
      ],
      "description": "Initial GCM v2 default for analytics cookies before user interaction."
    },
    "default_ad_personalization": {
      "enum": [
        "denied",
        "granted"
      ],
      "type": "string",
      "default": "denied",
      "examples": [
        "denied"
      ],
      "description": "Initial GCM v2 default for personalized advertising / remarketing."
    }
  },
  "additionalProperties": false
}
configure_gtm_integration output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation or site lookup error message."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable confirmation status."
    },
    "success": {
      "type": "boolean",
      "description": "True if GTM configuration was validated and persisted; false otherwise."
    },
    "site_name": {
      "type": "string",
      "description": "Display name of the updated site."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "gtm_configuration": {
      "type": "object",
      "required": [
        "gtm_container_id",
        "default_ad_storage",
        "default_analytics_storage",
        "default_ad_user_data",
        "default_ad_personalization",
        "trigger_events",
        "updated_at"
      ],
      "properties": {
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO-8601 timestamp of the update."
        },
        "trigger_events": {
          "type": "boolean",
          "description": "Whether consent changes emit dataLayer events."
        },
        "gtm_container_id": {
          "type": "string",
          "description": "Normalized Google Tag Manager container ID."
        },
        "default_ad_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Persisted default for ad_storage."
        },
        "default_ad_user_data": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Persisted default for ad_user_data."
        },
        "default_analytics_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Persisted default for analytics_storage."
        },
        "default_ad_personalization": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Persisted default for ad_personalization."
        }
      },
      "description": "Saved GTM container binding and consent default states.",
      "additionalProperties": false
    }
  },
  "description": "Saved Google Tag Manager and GCM v2 configuration result.",
  "additionalProperties": false
}
configure_gtm_integration annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_gtm_container_setup — Get Google Tag Manager Installation Snippets
Advertised by the server during the last successful anonymous check.
Advertised read-only

Generates ready-to-install Google Tag Manager '<head>' and '<body>' ('<noscript>') snippets pre-populated with Google Consent Mode v2 default signals and custom dataLayer consent trigger recipes for a registered site. When to use vs. related tools: Call 'get_gtm_container_setup' after 'configure_gtm_integration' (or with an explicit 'gtm_container_id' override) when installing GTM directly. Call 'get_cookie_banner_script' or 'get_consent_banner_code' to embed the Paperloo consent UI banner script itself. Preconditions & side effects: 'siteId' must exist in the active registry. Uses 'gtm_container_id' override if provided, otherwise reads the container ID and GCM v2 defaults stored on the site. Read-only operation. Returns: JSON object with 'success', 'siteId', 'gtm_container_id', 'head_snippet', 'body_snippet', 'consent_defaults', and 'consent_triggers' (or 'error' on failure).

get_gtm_container_setup input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL."
    },
    "gtm_container_id": {
      "type": "string",
      "pattern": "^GTM-[A-Z0-9]{4,12}$",
      "examples": [
        "GTM-W89K2P"
      ],
      "description": "Optional GTM Container ID override; defaults to the container ID already saved on the site."
    }
  },
  "additionalProperties": false
}
get_gtm_container_setup output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message if site lookup or container override fails."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "success": {
      "type": "boolean",
      "description": "True if GTM setup snippets were generated; false otherwise."
    },
    "body_snippet": {
      "type": "string",
      "description": "Fallback <noscript> iframe snippet for <body>."
    },
    "head_snippet": {
      "type": "string",
      "description": "Script snippet for <head> initializing GCM v2 defaults and loading GTM."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "consent_defaults": {
      "type": "object",
      "required": [
        "ad_storage",
        "analytics_storage",
        "ad_user_data",
        "ad_personalization"
      ],
      "properties": {
        "ad_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_storage."
        },
        "ad_user_data": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_user_data."
        },
        "analytics_storage": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for analytics_storage."
        },
        "ad_personalization": {
          "enum": [
            "denied",
            "granted"
          ],
          "type": "string",
          "description": "Default state for ad_personalization."
        }
      },
      "description": "GCM v2 default storage signals embedded in the head snippet.",
      "additionalProperties": false
    },
    "consent_triggers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "event",
          "description"
        ],
        "properties": {
          "event": {
            "type": "string",
            "description": "Custom dataLayer event name."
          },
          "description": {
            "type": "string",
            "description": "When the custom event fires."
          }
        },
        "description": "GTM custom event trigger specification.",
        "additionalProperties": false
      },
      "description": "Custom dataLayer trigger definitions to configure inside GTM."
    },
    "gtm_container_id": {
      "type": "string",
      "description": "GTM container ID embedded in the snippets."
    }
  },
  "description": "Google Tag Manager installation snippets and consent triggers.",
  "additionalProperties": false
}
get_gtm_container_setup annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
scan_cookies — Live Website Cookie & Tracker Inventory Scan
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Performs a live HTTP GET scan on a target website URL to inspect 'Set-Cookie' response headers and third-party tracking scripts in the HTML (such as Google Analytics 4, Google Ads, Meta Pixel, TikTok, Hotjar, Clarity, LinkedIn, Stripe, HubSpot, Intercom, Cloudflare), returning a categorized inventory grouped into Necessary, Analytics, Marketing, and Preferences. When to use vs. related tools: Call 'scan_cookies' when you specifically want the categorized cookie and tracker inventory to populate a Cookie Policy or inspect third-party scripts. Call 'audit_site' instead when you also want security header checks, legal link verification, accessibility, AI Act checks, and an overall compliance score. Preconditions & side effects: Requires a reachable public HTTP(S) URL; no registry siteId or authentication needed. Read-only live HTTP inspection. Returns: JSON object containing 'success', 'reachable', 'url', 'total_cookies', 'scripts_detected', 'categorized_inventory' (grouped arrays), 'all_cookies', 'cookie_inventory', 'message', and optional 'error'.

scan_cookies input schema
{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://paperloo.vercel.app"
      ],
      "minLength": 4,
      "description": "Full public HTTP or HTTPS URL to scan for Set-Cookie headers and third-party tracker scripts."
    }
  },
  "additionalProperties": false
}
scan_cookies output schema
{
  "type": "object",
  "required": [
    "success",
    "reachable",
    "url",
    "total_cookies",
    "scripts_detected",
    "categorized_inventory",
    "all_cookies",
    "cookie_inventory",
    "message"
  ],
  "properties": {
    "url": {
      "type": "string",
      "description": "Normalized target URL scanned."
    },
    "error": {
      "type": "string",
      "description": "Error message if target was unreachable or invalid."
    },
    "message": {
      "type": "string",
      "description": "Human-readable summary of scan outcome."
    },
    "success": {
      "type": "boolean",
      "description": "True if target URL was scanned successfully; false on invalid URL or network/HTTP failure."
    },
    "reachable": {
      "type": "boolean",
      "description": "Whether the target host responded to HTTP inspection."
    },
    "all_cookies": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "provider",
          "category",
          "expiry",
          "purpose",
          "source"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
          },
          "domain": {
            "type": "string",
            "description": "Target hostname observed during scan."
          },
          "expiry": {
            "type": "string",
            "description": "Retention lifetime or 'Session'."
          },
          "source": {
            "enum": [
              "http_header",
              "detected_script",
              "manual"
            ],
            "type": "string",
            "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
          },
          "purpose": {
            "type": "string",
            "description": "Human-readable functional or tracking purpose."
          },
          "category": {
            "enum": [
              "Necessary",
              "Analytics",
              "Marketing",
              "Preferences"
            ],
            "type": "string",
            "description": "Regulatory cookie classification."
          },
          "provider": {
            "type": "string",
            "description": "Vendor or host domain setting the cookie."
          }
        },
        "description": "Single detected cookie or client-side tracker entry.",
        "additionalProperties": false
      },
      "description": "Flat array of all discovered cookie and tracker items."
    },
    "total_cookies": {
      "type": "integer",
      "minimum": 0,
      "description": "Total cookies and inferred tracker entries discovered."
    },
    "cookie_inventory": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "provider",
          "category",
          "expiry",
          "purpose",
          "source"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
          },
          "domain": {
            "type": "string",
            "description": "Target hostname observed during scan."
          },
          "expiry": {
            "type": "string",
            "description": "Retention lifetime or 'Session'."
          },
          "source": {
            "enum": [
              "http_header",
              "detected_script",
              "manual"
            ],
            "type": "string",
            "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
          },
          "purpose": {
            "type": "string",
            "description": "Human-readable functional or tracking purpose."
          },
          "category": {
            "enum": [
              "Necessary",
              "Analytics",
              "Marketing",
              "Preferences"
            ],
            "type": "string",
            "description": "Regulatory cookie classification."
          },
          "provider": {
            "type": "string",
            "description": "Vendor or host domain setting the cookie."
          }
        },
        "description": "Single detected cookie or client-side tracker entry.",
        "additionalProperties": false
      },
      "description": "Alias of all_cookies for schema compatibility with audit_site."
    },
    "scripts_detected": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Detected third-party tracking script or vendor name."
      },
      "description": "Vendor script signatures matched in the page HTML."
    },
    "categorized_inventory": {
      "type": "object",
      "required": [
        "necessary",
        "analytics",
        "marketing",
        "preferences"
      ],
      "properties": {
        "analytics": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "provider",
              "category",
              "expiry",
              "purpose",
              "source"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
              },
              "domain": {
                "type": "string",
                "description": "Target hostname observed during scan."
              },
              "expiry": {
                "type": "string",
                "description": "Retention lifetime or 'Session'."
              },
              "source": {
                "enum": [
                  "http_header",
                  "detected_script",
                  "manual"
                ],
                "type": "string",
                "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable functional or tracking purpose."
              },
              "category": {
                "enum": [
                  "Necessary",
                  "Analytics",
                  "Marketing",
                  "Preferences"
                ],
                "type": "string",
                "description": "Regulatory cookie classification."
              },
              "provider": {
                "type": "string",
                "description": "Vendor or host domain setting the cookie."
              }
            },
            "description": "Single detected cookie or client-side tracker entry.",
            "additionalProperties": false
          },
          "description": "Audience measurement and analytics trackers."
        },
        "marketing": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "provider",
              "category",
              "expiry",
              "purpose",
              "source"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
              },
              "domain": {
                "type": "string",
                "description": "Target hostname observed during scan."
              },
              "expiry": {
                "type": "string",
                "description": "Retention lifetime or 'Session'."
              },
              "source": {
                "enum": [
                  "http_header",
                  "detected_script",
                  "manual"
                ],
                "type": "string",
                "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable functional or tracking purpose."
              },
              "category": {
                "enum": [
                  "Necessary",
                  "Analytics",
                  "Marketing",
                  "Preferences"
                ],
                "type": "string",
                "description": "Regulatory cookie classification."
              },
              "provider": {
                "type": "string",
                "description": "Vendor or host domain setting the cookie."
              }
            },
            "description": "Single detected cookie or client-side tracker entry.",
            "additionalProperties": false
          },
          "description": "Advertising, retargeting, and conversion pixels."
        },
        "necessary": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "provider",
              "category",
              "expiry",
              "purpose",
              "source"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
              },
              "domain": {
                "type": "string",
                "description": "Target hostname observed during scan."
              },
              "expiry": {
                "type": "string",
                "description": "Retention lifetime or 'Session'."
              },
              "source": {
                "enum": [
                  "http_header",
                  "detected_script",
                  "manual"
                ],
                "type": "string",
                "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable functional or tracking purpose."
              },
              "category": {
                "enum": [
                  "Necessary",
                  "Analytics",
                  "Marketing",
                  "Preferences"
                ],
                "type": "string",
                "description": "Regulatory cookie classification."
              },
              "provider": {
                "type": "string",
                "description": "Vendor or host domain setting the cookie."
              }
            },
            "description": "Single detected cookie or client-side tracker entry.",
            "additionalProperties": false
          },
          "description": "Strictly necessary cookies for security, routing, or session continuity."
        },
        "preferences": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "name",
              "provider",
              "category",
              "expiry",
              "purpose",
              "source"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Cookie name or identifier (e.g. '_ga', '_fbp')."
              },
              "domain": {
                "type": "string",
                "description": "Target hostname observed during scan."
              },
              "expiry": {
                "type": "string",
                "description": "Retention lifetime or 'Session'."
              },
              "source": {
                "enum": [
                  "http_header",
                  "detected_script",
                  "manual"
                ],
                "type": "string",
                "description": "Discovery mechanism: Set-Cookie response header or HTML script signature."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable functional or tracking purpose."
              },
              "category": {
                "enum": [
                  "Necessary",
                  "Analytics",
                  "Marketing",
                  "Preferences"
                ],
                "type": "string",
                "description": "Regulatory cookie classification."
              },
              "provider": {
                "type": "string",
                "description": "Vendor or host domain setting the cookie."
              }
            },
            "description": "Single detected cookie or client-side tracker entry.",
            "additionalProperties": false
          },
          "description": "Functional preference and personalization cookies."
        }
      },
      "description": "Cookie inventory grouped into the four standard consent categories.",
      "additionalProperties": false
    }
  },
  "description": "Categorized cookie and tracking script inventory.",
  "additionalProperties": false
}
scan_cookies annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
generate_documents — Generate Statutory Legal Document Suite
Advertised by the server during the last successful anonymous check.

Synthesizes a tailored suite of legal compliance documents (Privacy Policy, Terms of Service, Cookie Policy, EULA, Acceptable Use Policy, Disclaimer, Return & Refund Policy, WCAG Accessibility Statement) directly from company metadata, jurisdictions (GDPR, CCPA, EU_AI_ACT), data practices, and sub-processor flags. When to use vs. related tools: Use 'generate_documents' when you already have all company and technical parameters ready to synthesize policies immediately. Use 'get_questionnaire_schema' followed by 'generate_docs_questionnaire' when conducting an interactive user intake flow. Use 'generate_dpa' specifically for a GDPR Article 28 Data Processing Addendum contract between Controller and Processor. Use 'export_documents' afterward to convert saved documents into HTML or JSON. Preconditions & side effects: Requires 'company_name', 'website_url', and 'contact_email'. If 'siteId' is omitted, operates in 'isolated_ephemeral_client' mode with a temporary ID and zero registry side effects. If 'siteId' is provided, it MUST match a registered site—on match, persists the generated documents onto that site and updates its compliance score (>= 95) and grade ('A+'); if unknown, returns an error. Returns: JSON object with 'success', 'siteId', 'company_name', 'tenant_mode', 'documents_generated' summaries, full 'documents' Markdown array, and 'message' (or 'error').

generate_documents input schema
{
  "type": "object",
  "required": [
    "company_name",
    "website_url",
    "contact_email"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Optional registered site UUID (from 'list_sites' or 'add_site'). When provided and found, generated documents are persisted to that site's record and raise its compliance grade to A+. When omitted, documents are synthesized for an isolated ephemeral tenant ID without modifying registered sites."
    },
    "dpo_email": {
      "type": "string",
      "format": "email",
      "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
      "examples": [
        "dpo@acme-saas.com"
      ],
      "minLength": 5,
      "description": "Optional dedicated Data Protection Officer (DPO) email address referenced in the Privacy Policy user-rights section."
    },
    "uses_hotjar": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether Hotjar session recording or heatmap telemetry is disclosed in the Privacy Policy sub-processor section."
    },
    "website_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://acme-saas.com"
      ],
      "minLength": 4,
      "description": "Canonical HTTP or HTTPS URL of the website covered by the generated legal documents."
    },
    "company_name": {
      "type": "string",
      "examples": [
        "Acme Technologies Inc."
      ],
      "maxLength": 200,
      "minLength": 1,
      "description": "Full legal entity or registered company name inserted as the Data Controller / Contracting Party."
    },
    "contact_email": {
      "type": "string",
      "format": "email",
      "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
      "examples": [
        "privacy@acme-saas.com"
      ],
      "minLength": 5,
      "description": "Public legal, support, and DSAR privacy contact email address printed inside the policies."
    },
    "jurisdictions": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "GDPR",
          "CCPA",
          "UK_GDPR",
          "PIPEDA",
          "EU_AI_ACT"
        ],
        "minLength": 2,
        "description": "Jurisdiction or regulation identifier (e.g. 'GDPR', 'CCPA', 'UK_GDPR', 'PIPEDA', 'EU_AI_ACT')."
      },
      "default": [
        "GDPR",
        "CCPA"
      ],
      "examples": [
        [
          "GDPR",
          "CCPA",
          "EU_AI_ACT"
        ]
      ],
      "minItems": 1,
      "description": "Regulatory regimes to incorporate into governing law, consumer rights, and AI disclosure clauses (e.g. 'GDPR', 'CCPA', 'UK_GDPR', 'PIPEDA', 'EU_AI_ACT')."
    },
    "document_types": {
      "type": "array",
      "items": {
        "enum": [
          "privacy_policy",
          "terms_of_service",
          "cookie_policy",
          "eula",
          "acceptable_use",
          "disclaimer",
          "return_policy",
          "accessibility_statement"
        ],
        "type": "string",
        "description": "Supported statutory document type key."
      },
      "default": [
        "privacy_policy",
        "terms_of_service",
        "cookie_policy",
        "eula",
        "acceptable_use",
        "disclaimer"
      ],
      "examples": [
        [
          "privacy_policy",
          "terms_of_service",
          "cookie_policy"
        ]
      ],
      "minItems": 1,
      "description": "Subset of statutory documents to synthesize. Omit to generate the default 6-document suite (privacy_policy, terms_of_service, cookie_policy, eula, acceptable_use, disclaimer).",
      "uniqueItems": true
    },
    "collects_minors": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether services are directed at or knowingly collect data from minors under 13/16 (activates COPPA & GDPR Art. 8 parental consent clauses)."
    },
    "uses_meta_pixel": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether Meta (Facebook) advertising pixels are active and must be disclosed under GDPR/CCPA."
    },
    "collects_cookies": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Whether the website stores cookies, localStorage, or similar client identifiers."
    },
    "physical_address": {
      "type": "string",
      "default": "100 Market St, San Francisco, CA 94105",
      "examples": [
        "100 Market St, San Francisco, CA 94105"
      ],
      "minLength": 3,
      "description": "Registered corporate mailing address for statutory notices and controller identification."
    },
    "has_user_accounts": {
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ],
      "description": "Whether end-users can create authenticated accounts or user profiles."
    },
    "processes_payments": {
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ],
      "description": "Whether payments or recurring subscriptions are processed (adds billing, Stripe sub-processor, and refund sections)."
    },
    "refund_period_days": {
      "type": "integer",
      "default": 14,
      "maximum": 365,
      "minimum": 0,
      "examples": [
        14,
        30
      ],
      "description": "Consumer refund / withdrawal guarantee window in calendar days used in Terms of Service and Return Policy."
    },
    "data_retention_months": {
      "type": "integer",
      "default": 24,
      "maximum": 120,
      "minimum": 1,
      "examples": [
        24
      ],
      "description": "Standard personal data retention duration in months disclosed in the Privacy Policy."
    },
    "uses_google_analytics": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Whether Google Analytics 4 or Google Tag Manager is included in the sub-processor disclosures."
    }
  },
  "additionalProperties": false
}
generate_documents output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation or lookup error message when success is false."
    },
    "siteId": {
      "type": "string",
      "description": "Target registered siteId or generated ephemeral 'site_temp_*' identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable completion status."
    },
    "success": {
      "type": "boolean",
      "description": "True if document generation succeeded; false if siteId lookup or required field validation failed."
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "title",
          "version",
          "word_count",
          "markdown",
          "updated_at"
        ],
        "properties": {
          "type": {
            "enum": [
              "privacy_policy",
              "terms_of_service",
              "cookie_policy",
              "eula",
              "acceptable_use",
              "disclaimer",
              "return_policy",
              "accessibility_statement"
            ],
            "type": "string",
            "description": "Statutory document type key."
          },
          "title": {
            "type": "string",
            "description": "Human-readable document title."
          },
          "version": {
            "type": "string",
            "description": "Document version number."
          },
          "markdown": {
            "type": "string",
            "description": "Complete policy content in Markdown format."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "ISO-8601 generation timestamp."
          },
          "word_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Total word count of the Markdown body."
          }
        },
        "description": "Full generated legal document object.",
        "additionalProperties": false
      },
      "description": "Complete generated documents including Markdown bodies."
    },
    "tenant_mode": {
      "enum": [
        "persistent_registered_site",
        "isolated_ephemeral_client"
      ],
      "type": "string",
      "description": "Indicates whether generated documents were saved to a registered site or returned for an isolated ephemeral tenant."
    },
    "company_name": {
      "type": "string",
      "description": "Legal entity name used in generated clauses."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when an explicit siteId does not match."
    },
    "documents_generated": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "title",
          "word_count",
          "preview_url"
        ],
        "properties": {
          "type": {
            "enum": [
              "privacy_policy",
              "terms_of_service",
              "cookie_policy",
              "eula",
              "acceptable_use",
              "disclaimer",
              "return_policy",
              "accessibility_statement"
            ],
            "type": "string",
            "description": "Statutory document type key."
          },
          "title": {
            "type": "string",
            "description": "Human-readable document title."
          },
          "word_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Total word count of the synthesized document."
          },
          "preview_url": {
            "type": "string",
            "format": "uri",
            "description": "Direct Paperloo viewer URL for the document."
          }
        },
        "description": "Summary entry for one generated legal document.",
        "additionalProperties": false
      },
      "description": "Summary list of generated documents with preview links."
    }
  },
  "description": "Result of synthesizing statutory legal documents, including either persisted or ephemeral tenant metadata and full Markdown documents.",
  "additionalProperties": false
}
generate_documents annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
generate_docs_questionnaire — Synthesize Legal Docs from Questionnaire Answers
Advertised by the server during the last successful anonymous check.

Synthesizes a tailored statutory legal document suite (Privacy Policy, Terms of Service, Cookie Policy, EULA, Acceptable Use Policy, Disclaimer, Return Policy, Accessibility Statement) from answers gathered against the standardized 'get_questionnaire_schema' intake form. When to use vs. related tools: Pair 'get_questionnaire_schema' -> 'generate_docs_questionnaire' in conversational intake workflows where you collect structured business, tracker, minor-protection, and retention answers from a user before drafting documents. For direct programmatic generation without a questionnaire UI step, 'generate_documents' accepts the exact same payload. Preconditions & side effects: Requires 'company_name', 'website_url', and 'contact_email'. If 'siteId' is omitted, creates an isolated ephemeral tenant output with no registry mutation. If 'siteId' is explicitly supplied, it must match a registered site and will persist 'documents' and upgrade the site's compliance grade to 'A+'. Returns: JSON object with 'success', 'siteId', 'company_name', 'tenant_mode', 'documents_generated', full 'documents' array, and 'message' (or 'error').

generate_docs_questionnaire input schema
{
  "type": "object",
  "required": [
    "company_name",
    "website_url",
    "contact_email"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Optional registered site UUID (from 'list_sites' or 'add_site'). When provided and found, generated documents are persisted to that site's record and raise its compliance grade to A+. When omitted, documents are synthesized for an isolated ephemeral tenant ID without modifying registered sites."
    },
    "dpo_email": {
      "type": "string",
      "format": "email",
      "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
      "examples": [
        "dpo@acme-saas.com"
      ],
      "minLength": 5,
      "description": "Optional dedicated Data Protection Officer (DPO) email address referenced in the Privacy Policy user-rights section."
    },
    "uses_hotjar": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether Hotjar session recording or heatmap telemetry is disclosed in the Privacy Policy sub-processor section."
    },
    "website_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://acme-saas.com"
      ],
      "minLength": 4,
      "description": "Canonical HTTP or HTTPS URL of the website covered by the generated legal documents."
    },
    "company_name": {
      "type": "string",
      "examples": [
        "Acme Technologies Inc."
      ],
      "maxLength": 200,
      "minLength": 1,
      "description": "Full legal entity or registered company name inserted as the Data Controller / Contracting Party."
    },
    "contact_email": {
      "type": "string",
      "format": "email",
      "pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$",
      "examples": [
        "privacy@acme-saas.com"
      ],
      "minLength": 5,
      "description": "Public legal, support, and DSAR privacy contact email address printed inside the policies."
    },
    "jurisdictions": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "GDPR",
          "CCPA",
          "UK_GDPR",
          "PIPEDA",
          "EU_AI_ACT"
        ],
        "minLength": 2,
        "description": "Jurisdiction or regulation identifier (e.g. 'GDPR', 'CCPA', 'UK_GDPR', 'PIPEDA', 'EU_AI_ACT')."
      },
      "default": [
        "GDPR",
        "CCPA"
      ],
      "examples": [
        [
          "GDPR",
          "CCPA",
          "EU_AI_ACT"
        ]
      ],
      "minItems": 1,
      "description": "Regulatory regimes to incorporate into governing law, consumer rights, and AI disclosure clauses (e.g. 'GDPR', 'CCPA', 'UK_GDPR', 'PIPEDA', 'EU_AI_ACT')."
    },
    "document_types": {
      "type": "array",
      "items": {
        "enum": [
          "privacy_policy",
          "terms_of_service",
          "cookie_policy",
          "eula",
          "acceptable_use",
          "disclaimer",
          "return_policy",
          "accessibility_statement"
        ],
        "type": "string",
        "description": "Supported statutory document type key."
      },
      "default": [
        "privacy_policy",
        "terms_of_service",
        "cookie_policy",
        "eula",
        "acceptable_use",
        "disclaimer"
      ],
      "examples": [
        [
          "privacy_policy",
          "terms_of_service",
          "cookie_policy"
        ]
      ],
      "minItems": 1,
      "description": "Subset of statutory documents to synthesize. Omit to generate the default 6-document suite (privacy_policy, terms_of_service, cookie_policy, eula, acceptable_use, disclaimer).",
      "uniqueItems": true
    },
    "collects_minors": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether services are directed at or knowingly collect data from minors under 13/16 (activates COPPA & GDPR Art. 8 parental consent clauses)."
    },
    "uses_meta_pixel": {
      "type": "boolean",
      "default": false,
      "examples": [
        false
      ],
      "description": "Whether Meta (Facebook) advertising pixels are active and must be disclosed under GDPR/CCPA."
    },
    "collects_cookies": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Whether the website stores cookies, localStorage, or similar client identifiers."
    },
    "physical_address": {
      "type": "string",
      "default": "100 Market St, San Francisco, CA 94105",
      "examples": [
        "100 Market St, San Francisco, CA 94105"
      ],
      "minLength": 3,
      "description": "Registered corporate mailing address for statutory notices and controller identification."
    },
    "has_user_accounts": {
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ],
      "description": "Whether end-users can create authenticated accounts or user profiles."
    },
    "processes_payments": {
      "type": "boolean",
      "default": false,
      "examples": [
        true
      ],
      "description": "Whether payments or recurring subscriptions are processed (adds billing, Stripe sub-processor, and refund sections)."
    },
    "refund_period_days": {
      "type": "integer",
      "default": 14,
      "maximum": 365,
      "minimum": 0,
      "examples": [
        14,
        30
      ],
      "description": "Consumer refund / withdrawal guarantee window in calendar days used in Terms of Service and Return Policy."
    },
    "data_retention_months": {
      "type": "integer",
      "default": 24,
      "maximum": 120,
      "minimum": 1,
      "examples": [
        24
      ],
      "description": "Standard personal data retention duration in months disclosed in the Privacy Policy."
    },
    "uses_google_analytics": {
      "type": "boolean",
      "default": true,
      "examples": [
        true
      ],
      "description": "Whether Google Analytics 4 or Google Tag Manager is included in the sub-processor disclosures."
    }
  },
  "additionalProperties": false
}
generate_docs_questionnaire output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation or lookup error message when success is false."
    },
    "siteId": {
      "type": "string",
      "description": "Target registered siteId or generated ephemeral 'site_temp_*' identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable completion status."
    },
    "success": {
      "type": "boolean",
      "description": "True if document generation succeeded; false if siteId lookup or required field validation failed."
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "title",
          "version",
          "word_count",
          "markdown",
          "updated_at"
        ],
        "properties": {
          "type": {
            "enum": [
              "privacy_policy",
              "terms_of_service",
              "cookie_policy",
              "eula",
              "acceptable_use",
              "disclaimer",
              "return_policy",
              "accessibility_statement"
            ],
            "type": "string",
            "description": "Statutory document type key."
          },
          "title": {
            "type": "string",
            "description": "Human-readable document title."
          },
          "version": {
            "type": "string",
            "description": "Document version number."
          },
          "markdown": {
            "type": "string",
            "description": "Complete policy content in Markdown format."
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "ISO-8601 generation timestamp."
          },
          "word_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Total word count of the Markdown body."
          }
        },
        "description": "Full generated legal document object.",
        "additionalProperties": false
      },
      "description": "Complete generated documents including Markdown bodies."
    },
    "tenant_mode": {
      "enum": [
        "persistent_registered_site",
        "isolated_ephemeral_client"
      ],
      "type": "string",
      "description": "Indicates whether generated documents were saved to a registered site or returned for an isolated ephemeral tenant."
    },
    "company_name": {
      "type": "string",
      "description": "Legal entity name used in generated clauses."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when an explicit siteId does not match."
    },
    "documents_generated": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "title",
          "word_count",
          "preview_url"
        ],
        "properties": {
          "type": {
            "enum": [
              "privacy_policy",
              "terms_of_service",
              "cookie_policy",
              "eula",
              "acceptable_use",
              "disclaimer",
              "return_policy",
              "accessibility_statement"
            ],
            "type": "string",
            "description": "Statutory document type key."
          },
          "title": {
            "type": "string",
            "description": "Human-readable document title."
          },
          "word_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Total word count of the synthesized document."
          },
          "preview_url": {
            "type": "string",
            "format": "uri",
            "description": "Direct Paperloo viewer URL for the document."
          }
        },
        "description": "Summary entry for one generated legal document.",
        "additionalProperties": false
      },
      "description": "Summary list of generated documents with preview links."
    }
  },
  "description": "Result of synthesizing statutory legal documents, including either persisted or ephemeral tenant metadata and full Markdown documents.",
  "additionalProperties": false
}
generate_docs_questionnaire annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
generate_dpa — Generate GDPR Article 28 DPA Contract
Advertised by the server during the last successful anonymous check.
Advertised read-only

Generates a standalone GDPR Article 28 Data Processing Addendum (DPA) Markdown contract between a named Data Controller (client) and Data Processor (vendor/agency), incorporating Art. 28(3) processor obligations, Art. 32 technical security controls, governing law, and authorized sub-processors. When to use vs. related tools: Call 'generate_dpa' specifically for B2B vendor-client Data Processing Agreements (DPAs). Do NOT use 'generate_documents' for DPAs, as 'generate_documents' handles public website policies (Privacy, Terms, Cookies, EULA, AUP, Disclaimer, Return, Accessibility). Preconditions & side effects: Requires non-empty 'controller_name' and 'processor_name'. Stateless and read-only—does not require or mutate any registered site. Returns: JSON object with 'success', 'title', 'controller_name', 'processor_name', 'governing_law', 'sub_processors', 'markdown', 'word_count', and 'version' (or 'error').

generate_dpa input schema
{
  "type": "object",
  "required": [
    "controller_name",
    "processor_name"
  ],
  "properties": {
    "governing_law": {
      "type": "string",
      "default": "Ireland",
      "examples": [
        "Ireland",
        "Germany",
        "Delaware"
      ],
      "maxLength": 100,
      "minLength": 2,
      "description": "Governing jurisdiction for the DPA contract."
    },
    "processor_name": {
      "type": "string",
      "examples": [
        "Paperloo Infrastructure Ltd."
      ],
      "maxLength": 200,
      "minLength": 1,
      "description": "Legal entity name of the Data Processor (agency or SaaS vendor)."
    },
    "sub_processors": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "description": "Authorized sub-processor organization name."
      },
      "default": [
        "Amazon Web Services (AWS)",
        "Stripe Payments",
        "Supabase Database",
        "Google Cloud Platform"
      ],
      "examples": [
        [
          "Amazon Web Services (AWS)",
          "Stripe Payments",
          "Supabase Database"
        ]
      ],
      "description": "List of authorized sub-processors covered by Controller's general written authorization."
    },
    "controller_name": {
      "type": "string",
      "examples": [
        "Acme Enterprise Ltd."
      ],
      "maxLength": 200,
      "minLength": 1,
      "description": "Legal entity name of the Data Controller (client organization)."
    }
  },
  "additionalProperties": false
}
generate_dpa output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation error message when success is false."
    },
    "title": {
      "type": "string",
      "description": "Generated DPA document title."
    },
    "success": {
      "type": "boolean",
      "description": "True if DPA contract generation succeeded; false if required parties were missing."
    },
    "version": {
      "type": "string",
      "description": "DPA template version identifier."
    },
    "markdown": {
      "type": "string",
      "description": "Full GDPR Article 28 DPA agreement in Markdown format."
    },
    "word_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Total word count of the DPA contract."
    },
    "governing_law": {
      "type": "string",
      "description": "Governing jurisdiction applied to the DPA."
    },
    "processor_name": {
      "type": "string",
      "description": "Legal name of the Data Processor."
    },
    "sub_processors": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Authorized sub-processor entity name."
      },
      "description": "Authorized sub-processors enumerated in the DPA."
    },
    "controller_name": {
      "type": "string",
      "description": "Legal name of the Data Controller."
    }
  },
  "description": "Generated GDPR Article 28 Data Processing Addendum contract.",
  "additionalProperties": false
}
generate_dpa annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
verify_compliance — Issue Cryptographic Compliance Verification & Trust Badge
Advertised by the server during the last successful anonymous check.
Advertised read-only

Evaluates a registered site's current compliance posture (score, grade, and active consent banner status) and issues a timestamped verification attestation hash, compliance status ('VERIFIED_COMPLIANT' | 'CONDITIONALLY_COMPLIANT' | 'NON_COMPLIANT'), inline SVG trust badge markup, and HTML embed snippet. When to use vs. related tools: Call 'verify_compliance' when generating a trust seal or verifying status of a registered property already managed in Paperloo. Call 'audit_site' instead when you need to crawl a live external URL over HTTP. Preconditions & side effects: 'siteId' MUST match an existing site in the active registry (no fallback to default site). Read-only attestation generation. Returns: JSON object with 'success', 'siteId', 'site_name', 'compliance_score', 'compliance_grade', 'verification_status', 'verification_hash', 'verified_at', 'standards', 'badge_svg', and 'badge_embed' (or 'error' + 'available_sites').

verify_compliance input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox",
        "site_demo_store"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL to verify."
    }
  },
  "additionalProperties": false
}
verify_compliance output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message if siteId was not found."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "success": {
      "type": "boolean",
      "description": "True if site attestation was issued; false if siteId lookup failed."
    },
    "badge_svg": {
      "type": "string",
      "description": "Inline SVG markup for the Paperloo Verified trust seal."
    },
    "site_name": {
      "type": "string",
      "description": "Display name of the verified site."
    },
    "standards": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Verified regulatory standard citation."
      },
      "description": "Regulatory frameworks covered by this verification attestation."
    },
    "badge_embed": {
      "type": "string",
      "description": "HTML anchor and image snippet linking to the public verification record."
    },
    "verified_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 timestamp when verification was issued."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "compliance_grade": {
      "type": "string",
      "description": "Site compliance letter grade at verification time."
    },
    "compliance_score": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0,
      "description": "Site compliance score at verification time."
    },
    "verification_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-f]+$",
      "description": "Hexadecimal attestation digest."
    },
    "verification_status": {
      "enum": [
        "VERIFIED_COMPLIANT",
        "CONDITIONALLY_COMPLIANT",
        "NON_COMPLIANT"
      ],
      "type": "string",
      "description": "Derived verification tier."
    }
  },
  "description": "Compliance verification attestation and trust badge payload.",
  "additionalProperties": false
}
verify_compliance annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
list_sites — List Monitored Websites
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists monitored website properties in the Paperloo compliance registry with status filtering ('all', 'active', 'compliant', 'needs_audit') and offset/limit pagination, returning summary compliance grades, banner readiness, GTM state, and document counts. When to use vs. related tools: Call 'list_sites' to discover valid 'siteId' identifiers before calling site-specific tools ('get_site', 'configure_cookie_banner', 'configure_gtm_integration', 'export_documents', 'delete_site'). Call 'get_site' afterward if you need a site's full nested cookie_banner, gtm, and document Markdown contents. Preconditions & side effects: No required parameters. Read-only registry query. Returns: JSON object with 'success', 'total_count', 'returned_count', 'offset', 'limit', 'filter_applied', and 'sites' array (or 'error' + 'supported_filters' if invalid filter/pagination arguments are supplied).

list_sites input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 50,
      "maximum": 100,
      "minimum": 1,
      "examples": [
        50,
        10
      ],
      "description": "Maximum number of site summaries returned per page (1-100)."
    },
    "filter": {
      "enum": [
        "all",
        "active",
        "compliant",
        "needs_audit"
      ],
      "type": "string",
      "default": "all",
      "examples": [
        "all",
        "compliant"
      ],
      "description": "Filter sites: 'all' (everything), 'active' (status === 'active'), 'compliant' (compliance_score >= 90), or 'needs_audit' (compliance_score < 90)."
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "minimum": 0,
      "examples": [
        0
      ],
      "description": "Zero-based pagination offset into the filtered list."
    }
  },
  "additionalProperties": false
}
list_sites output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation error message when success is false."
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Applied page size limit."
    },
    "sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url",
          "platform",
          "compliance_grade",
          "compliance_score",
          "jurisdictions",
          "cookie_banner_active",
          "gtm_configured",
          "documents_count",
          "created_at"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered site URL."
          },
          "name": {
            "type": "string",
            "description": "Display name of the monitored site."
          },
          "platform": {
            "type": "string",
            "description": "Detected or configured web framework/CMS."
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "ISO-8601 registration timestamp."
          },
          "jurisdictions": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "Applicable privacy framework key."
            },
            "description": "Regulatory frameworks enforced for the site."
          },
          "gtm_configured": {
            "type": "boolean",
            "description": "Whether a non-pending GTM container ID is bound."
          },
          "documents_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Count of attached statutory documents."
          },
          "compliance_grade": {
            "type": "string",
            "description": "Current compliance letter grade."
          },
          "compliance_score": {
            "type": "integer",
            "maximum": 100,
            "minimum": 0,
            "description": "Current numeric compliance score."
          },
          "cookie_banner_active": {
            "type": "boolean",
            "description": "Whether a cookie consent banner configuration is attached."
          }
        },
        "description": "Monitored site summary card.",
        "additionalProperties": false
      },
      "description": "Summary entries for monitored sites matching the filter."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Applied zero-based pagination offset."
    },
    "success": {
      "type": "boolean",
      "description": "True if registry listing succeeded; false if filter/pagination arguments are invalid."
    },
    "total_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Total matching sites prior to offset/limit slicing."
    },
    "filter_applied": {
      "enum": [
        "all",
        "active",
        "compliant",
        "needs_audit"
      ],
      "type": "string",
      "description": "Filter mode evaluated."
    },
    "returned_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of sites included in the current page."
    },
    "supported_filters": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Supported filter key."
      },
      "description": "Valid filter values returned when an unsupported filter is supplied."
    }
  },
  "description": "Paginated list of monitored sites in the registry.",
  "additionalProperties": false
}
list_sites annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_site — Get Full Monitored Site Details
Advertised by the server during the last successful anonymous check.
Advertised read-only

Retrieves the complete stored profile for a single monitored website—including cookie banner configuration, GTM Consent Mode v2 settings, attached legal policy Markdown documents, and ready-to-use HTML/GCM v2 embed snippets. When to use vs. related tools: Call 'get_site' when inspecting a single known property in full detail. Call 'list_sites' to browse or filter across all properties. Preconditions & side effects: 'siteId' must match an existing site ID or exact URL/hostname in the registry. Read-only lookup. Returns: JSON object containing 'success: true', full 'site' object, and 'embed_code' (or 'success: false', 'error', 'help', and 'available_sites' when not found).

get_site input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox",
        "https://paperloo.vercel.app"
      ],
      "minLength": 1,
      "description": "Registered site UUID (e.g. 'site_paperloo_sandbox') or exact registered site URL."
    }
  },
  "additionalProperties": false
}
get_site output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "help": {
      "type": "string",
      "description": "Guidance hint for discovering valid siteId values."
    },
    "site": {
      "type": "object",
      "required": [
        "id",
        "name",
        "url",
        "platform",
        "jurisdictions",
        "agency_name",
        "compliance_grade",
        "compliance_score",
        "status",
        "created_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique site identifier (e.g. 'site_paperloo_sandbox')."
        },
        "gtm": {
          "type": "object",
          "required": [
            "gtm_container_id",
            "default_ad_storage",
            "default_analytics_storage",
            "default_ad_user_data",
            "default_ad_personalization",
            "trigger_events",
            "updated_at"
          ],
          "properties": {
            "updated_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp of the last GTM configuration update."
            },
            "trigger_events": {
              "type": "boolean",
              "description": "Whether consent changes emit 'paperloo_consent_update' events to dataLayer."
            },
            "gtm_container_id": {
              "type": "string",
              "description": "Assigned GTM container ID or 'GTM-PENDING'."
            },
            "default_ad_storage": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_storage."
            },
            "default_ad_user_data": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_user_data."
            },
            "default_analytics_storage": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for analytics_storage."
            },
            "default_ad_personalization": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_personalization."
            }
          },
          "description": "Google Tag Manager container binding and GCM v2 default states.",
          "additionalProperties": false
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Primary HTTPS/HTTP URL of the property."
        },
        "name": {
          "type": "string",
          "description": "Human-readable site or brand name."
        },
        "audit": {
          "type": "object",
          "required": [
            "score",
            "grade",
            "scanned_at",
            "findings",
            "trackers_detected"
          ],
          "properties": {
            "grade": {
              "type": "string",
              "description": "Compliance letter grade from the cached audit."
            },
            "score": {
              "type": "integer",
              "maximum": 100,
              "minimum": 0,
              "description": "Overall audit score from 0 to 100."
            },
            "findings": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Individual audit finding summary."
              },
              "description": "Key compliance findings recorded during the scan."
            },
            "scanned_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp when the audit ran."
            },
            "trackers_detected": {
              "type": "integer",
              "minimum": 0,
              "description": "Number of tracking cookies/scripts detected."
            }
          },
          "description": "Most recent cached compliance audit summary attached to this site.",
          "additionalProperties": false
        },
        "status": {
          "enum": [
            "active",
            "paused"
          ],
          "type": "string",
          "description": "Monitoring status."
        },
        "platform": {
          "enum": [
            "nextjs",
            "react",
            "wordpress",
            "webflow",
            "shopify",
            "vue",
            "custom"
          ],
          "type": "string",
          "description": "Web framework or CMS."
        },
        "documents": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "type",
              "title",
              "version",
              "word_count",
              "markdown",
              "updated_at"
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "Document type identifier (e.g. 'privacy_policy')."
              },
              "title": {
                "type": "string",
                "description": "Human-readable document title."
              },
              "version": {
                "type": "string",
                "description": "Semantic document version string."
              },
              "markdown": {
                "type": "string",
                "description": "Full policy text formatted in Markdown."
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "description": "ISO-8601 timestamp when the document was generated or updated."
              },
              "word_count": {
                "type": "integer",
                "minimum": 0,
                "description": "Total word count of the Markdown body."
              }
            },
            "description": "Generated legal compliance document record.",
            "additionalProperties": false
          },
          "description": "Legal policy documents attached to this site."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO-8601 creation timestamp."
        },
        "agency_name": {
          "type": "string",
          "description": "Managing agency or organization."
        },
        "cookie_banner": {
          "type": "object",
          "required": [
            "theme",
            "position",
            "banner_title",
            "banner_message",
            "enable_gcm_v2",
            "auto_block_trackers",
            "accent_color",
            "categories",
            "updated_at"
          ],
          "properties": {
            "theme": {
              "type": "string",
              "description": "Visual theme preset applied to the banner."
            },
            "position": {
              "type": "string",
              "description": "Viewport anchor position of the consent banner."
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Consent category identifier (e.g. 'necessary', 'analytics', 'marketing')."
              },
              "description": "Consent categories exposed in the banner preference center."
            },
            "updated_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp of the last banner update."
            },
            "accent_color": {
              "type": "string",
              "description": "Hexadecimal accent color for banner buttons and highlights."
            },
            "banner_title": {
              "type": "string",
              "description": "Primary heading displayed on the banner."
            },
            "enable_gcm_v2": {
              "type": "boolean",
              "description": "Whether Google Consent Mode v2 synchronization is enabled."
            },
            "banner_message": {
              "type": "string",
              "description": "Body copy explaining cookie usage and consent options."
            },
            "auto_block_trackers": {
              "type": "boolean",
              "description": "Whether non-essential trackers are blocked prior to consent."
            }
          },
          "description": "Persisted cookie consent banner configuration for this site.",
          "additionalProperties": false
        },
        "jurisdictions": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Regulatory framework identifier (e.g. 'GDPR', 'CCPA')."
          },
          "description": "Applicable privacy frameworks."
        },
        "compliance_grade": {
          "enum": [
            "A+",
            "A",
            "A-",
            "B",
            "C",
            "D",
            "F"
          ],
          "type": "string",
          "description": "Letter grade."
        },
        "compliance_score": {
          "type": "integer",
          "maximum": 100,
          "minimum": 0,
          "description": "Numeric score from 0 to 100."
        }
      },
      "description": "Full monitored site record including consent banner, GTM, and policy documents.",
      "additionalProperties": false
    },
    "error": {
      "type": "string",
      "description": "Lookup error message when success is false."
    },
    "success": {
      "type": "boolean",
      "description": "True if site was found; false if siteId did not match any registered site."
    },
    "embed_code": {
      "type": "object",
      "required": [
        "html",
        "gcm_v2"
      ],
      "properties": {
        "html": {
          "type": "string",
          "description": "Async HTML script tag for the Paperloo consent banner."
        },
        "gcm_v2": {
          "type": "string",
          "description": "Google Consent Mode v2 default 'denied' initialization call."
        }
      },
      "description": "Ready-to-paste HTML banner script and GCM v2 default snippet.",
      "additionalProperties": false
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    }
  },
  "description": "Full site record and embed snippets.",
  "additionalProperties": false
}
get_site annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
add_site — Register New Monitored Website
Advertised by the server during the last successful anonymous check.

Creates and registers a new website property in the Paperloo compliance registry, initializing default GDPR/CCPA jurisdictions, default Google Consent Mode v2 denied banner settings, a pending GTM slot, an initial compliance grade (A-, 91/100), a live API key, and an embed script tag. When to use vs. related tools: Call 'add_site' before configuring persistent banners ('configure_cookie_banner'), GTM ('configure_gtm_integration'), or attaching documents to a siteId. Do not call 'add_site' if you only want a one-off audit ('audit_site'), cookie scan ('scan_cookies'), or ephemeral policy generation ('generate_documents' without 'siteId'). Preconditions & side effects: Requires non-empty 'name' and valid HTTP(S) 'url'. Mutates the active site registry by prepending the newly created site record. Returns: JSON object containing 'success: true', created 'site' object, generated 'apiKey', 'embed_script', and 'message' (or 'success: false' and 'error' on invalid input).

add_site input schema
{
  "type": "object",
  "required": [
    "name",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https?://[^\\s]+$",
      "examples": [
        "https://acme-saas.com"
      ],
      "minLength": 4,
      "description": "Full public HTTP or HTTPS URL of the website to monitor."
    },
    "name": {
      "type": "string",
      "examples": [
        "Acme SaaS Platform",
        "Acme Store"
      ],
      "maxLength": 120,
      "minLength": 1,
      "description": "Human-readable brand or website display name."
    },
    "platform": {
      "enum": [
        "nextjs",
        "react",
        "wordpress",
        "webflow",
        "shopify",
        "vue",
        "custom"
      ],
      "type": "string",
      "default": "custom",
      "examples": [
        "nextjs",
        "shopify",
        "wordpress"
      ],
      "description": "Web framework or CMS powering the site."
    },
    "agency_name": {
      "type": "string",
      "default": "Default Agency",
      "examples": [
        "Apex Digital Media"
      ],
      "maxLength": 120,
      "minLength": 1,
      "description": "Managing digital agency or client organization name."
    },
    "jurisdictions": {
      "type": "array",
      "items": {
        "type": "string",
        "examples": [
          "GDPR",
          "CCPA",
          "PIPEDA",
          "EU_AI_ACT"
        ],
        "minLength": 2,
        "description": "Regulatory framework identifier (e.g. 'GDPR', 'CCPA')."
      },
      "default": [
        "GDPR",
        "CCPA"
      ],
      "examples": [
        [
          "GDPR",
          "CCPA"
        ]
      ],
      "minItems": 1,
      "description": "Regulatory frameworks to enforce for this property."
    }
  },
  "additionalProperties": false
}
add_site output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "site": {
      "type": "object",
      "required": [
        "id",
        "name",
        "url",
        "platform",
        "jurisdictions",
        "agency_name",
        "compliance_grade",
        "compliance_score",
        "status",
        "created_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique site identifier (e.g. 'site_paperloo_sandbox')."
        },
        "gtm": {
          "type": "object",
          "required": [
            "gtm_container_id",
            "default_ad_storage",
            "default_analytics_storage",
            "default_ad_user_data",
            "default_ad_personalization",
            "trigger_events",
            "updated_at"
          ],
          "properties": {
            "updated_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp of the last GTM configuration update."
            },
            "trigger_events": {
              "type": "boolean",
              "description": "Whether consent changes emit 'paperloo_consent_update' events to dataLayer."
            },
            "gtm_container_id": {
              "type": "string",
              "description": "Assigned GTM container ID or 'GTM-PENDING'."
            },
            "default_ad_storage": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_storage."
            },
            "default_ad_user_data": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_user_data."
            },
            "default_analytics_storage": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for analytics_storage."
            },
            "default_ad_personalization": {
              "enum": [
                "denied",
                "granted"
              ],
              "type": "string",
              "description": "Default GCM v2 state for ad_personalization."
            }
          },
          "description": "Google Tag Manager container binding and GCM v2 default states.",
          "additionalProperties": false
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Primary HTTPS/HTTP URL of the property."
        },
        "name": {
          "type": "string",
          "description": "Human-readable site or brand name."
        },
        "audit": {
          "type": "object",
          "required": [
            "score",
            "grade",
            "scanned_at",
            "findings",
            "trackers_detected"
          ],
          "properties": {
            "grade": {
              "type": "string",
              "description": "Compliance letter grade from the cached audit."
            },
            "score": {
              "type": "integer",
              "maximum": 100,
              "minimum": 0,
              "description": "Overall audit score from 0 to 100."
            },
            "findings": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Individual audit finding summary."
              },
              "description": "Key compliance findings recorded during the scan."
            },
            "scanned_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp when the audit ran."
            },
            "trackers_detected": {
              "type": "integer",
              "minimum": 0,
              "description": "Number of tracking cookies/scripts detected."
            }
          },
          "description": "Most recent cached compliance audit summary attached to this site.",
          "additionalProperties": false
        },
        "status": {
          "enum": [
            "active",
            "paused"
          ],
          "type": "string",
          "description": "Monitoring status."
        },
        "platform": {
          "enum": [
            "nextjs",
            "react",
            "wordpress",
            "webflow",
            "shopify",
            "vue",
            "custom"
          ],
          "type": "string",
          "description": "Web framework or CMS."
        },
        "documents": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "type",
              "title",
              "version",
              "word_count",
              "markdown",
              "updated_at"
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "Document type identifier (e.g. 'privacy_policy')."
              },
              "title": {
                "type": "string",
                "description": "Human-readable document title."
              },
              "version": {
                "type": "string",
                "description": "Semantic document version string."
              },
              "markdown": {
                "type": "string",
                "description": "Full policy text formatted in Markdown."
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "description": "ISO-8601 timestamp when the document was generated or updated."
              },
              "word_count": {
                "type": "integer",
                "minimum": 0,
                "description": "Total word count of the Markdown body."
              }
            },
            "description": "Generated legal compliance document record.",
            "additionalProperties": false
          },
          "description": "Legal policy documents attached to this site."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO-8601 creation timestamp."
        },
        "agency_name": {
          "type": "string",
          "description": "Managing agency or organization."
        },
        "cookie_banner": {
          "type": "object",
          "required": [
            "theme",
            "position",
            "banner_title",
            "banner_message",
            "enable_gcm_v2",
            "auto_block_trackers",
            "accent_color",
            "categories",
            "updated_at"
          ],
          "properties": {
            "theme": {
              "type": "string",
              "description": "Visual theme preset applied to the banner."
            },
            "position": {
              "type": "string",
              "description": "Viewport anchor position of the consent banner."
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "Consent category identifier (e.g. 'necessary', 'analytics', 'marketing')."
              },
              "description": "Consent categories exposed in the banner preference center."
            },
            "updated_at": {
              "type": "string",
              "format": "date-time",
              "description": "ISO-8601 timestamp of the last banner update."
            },
            "accent_color": {
              "type": "string",
              "description": "Hexadecimal accent color for banner buttons and highlights."
            },
            "banner_title": {
              "type": "string",
              "description": "Primary heading displayed on the banner."
            },
            "enable_gcm_v2": {
              "type": "boolean",
              "description": "Whether Google Consent Mode v2 synchronization is enabled."
            },
            "banner_message": {
              "type": "string",
              "description": "Body copy explaining cookie usage and consent options."
            },
            "auto_block_trackers": {
              "type": "boolean",
              "description": "Whether non-essential trackers are blocked prior to consent."
            }
          },
          "description": "Persisted cookie consent banner configuration for this site.",
          "additionalProperties": false
        },
        "jurisdictions": {
          "type": "array",
          "items": {
            "type": "string",
            "description": "Regulatory framework identifier (e.g. 'GDPR', 'CCPA')."
          },
          "description": "Applicable privacy frameworks."
        },
        "compliance_grade": {
          "enum": [
            "A+",
            "A",
            "A-",
            "B",
            "C",
            "D",
            "F"
          ],
          "type": "string",
          "description": "Letter grade."
        },
        "compliance_score": {
          "type": "integer",
          "maximum": 100,
          "minimum": 0,
          "description": "Numeric score from 0 to 100."
        }
      },
      "description": "Full monitored site record including consent banner, GTM, and policy documents.",
      "additionalProperties": false
    },
    "error": {
      "type": "string",
      "description": "Validation error message when success is false."
    },
    "apiKey": {
      "type": "string",
      "pattern": "^pl_live_[a-z0-9]+$",
      "description": "Scoped Paperloo live API key generated for the new site."
    },
    "message": {
      "type": "string",
      "description": "Human-readable registration confirmation message."
    },
    "success": {
      "type": "boolean",
      "description": "True if site creation succeeded; false on validation failure."
    },
    "embed_script": {
      "type": "string",
      "description": "Ready-to-paste HTML script tag referencing the new siteId."
    }
  },
  "description": "Newly provisioned monitored site payload.",
  "additionalProperties": false
}
add_site annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
delete_site — Delete Monitored Website
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently removes a monitored website property and all of its stored banner configurations, GTM bindings, audit history, and cached legal documents from the active Paperloo registry. When to use vs. related tools: Call 'delete_site' only when a site should be permanently decommissioned from monitoring. Use 'list_sites' or 'get_site' first to confirm the exact 'siteId'. Preconditions & side effects: 'siteId' must match an existing site ID or exact URL/hostname in the registry. Destructive mutation—immediately deletes the matching site from 'activeSites'. Returns: JSON object with 'success: true', deleted 'siteId', 'name', 'url', 'deleted_at', and 'message' (or 'success: false', 'error', and 'available_sites' if not found).

delete_site input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "siteId": {
      "type": "string",
      "examples": [
        "site_demo_store"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL of the property to delete."
    }
  },
  "additionalProperties": false
}
delete_site output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Registered URL of the removed site."
    },
    "name": {
      "type": "string",
      "description": "Display name of the removed site."
    },
    "error": {
      "type": "string",
      "description": "Lookup error message when success is false."
    },
    "siteId": {
      "type": "string",
      "description": "Deleted site identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable deletion confirmation."
    },
    "success": {
      "type": "boolean",
      "description": "True if the matching site was deleted; false if siteId was not found."
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 timestamp when deletion completed."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    }
  },
  "description": "Confirmation of deleted site or not-found error.",
  "additionalProperties": false
}
delete_site annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
get_questionnaire_schema — Get Legal Intake Questionnaire Schema
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the structured compliance intake questionnaire schema (categorized sections, field keys, data types, labels, defaults, and option lists) scoped to the requested document category. When to use vs. related tools: Call 'get_questionnaire_schema' BEFORE 'generate_docs_questionnaire' when building dynamic intake forms or interviewing a user step-by-step to collect required legal facts. Call 'generate_documents' directly if you already hold the fields without needing question metadata. Preconditions & side effects: No required arguments; 'document_type' defaults to 'all'. Read-only metadata lookup. Returns: JSON object containing 'success: true', 'version', 'document_type', and scoped 'categories' array of question definitions (or 'success: false' and 'error' for unsupported document_type).

get_questionnaire_schema input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "document_type": {
      "enum": [
        "all",
        "privacy_policy",
        "terms_of_service",
        "cookie_policy",
        "dpa",
        "ai_governance"
      ],
      "type": "string",
      "default": "all",
      "examples": [
        "all",
        "privacy_policy",
        "cookie_policy",
        "dpa"
      ],
      "description": "Scopes returned questionnaire categories and fields to a specific compliance document type, or 'all' for the complete 4-category schema."
    }
  },
  "additionalProperties": false
}
get_questionnaire_schema output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Validation error message when document_type is invalid."
    },
    "success": {
      "type": "boolean",
      "description": "True if schema lookup succeeded; false for unsupported document_type."
    },
    "version": {
      "type": "string",
      "description": "Questionnaire schema version identifier."
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "fields"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Section identifier."
          },
          "title": {
            "type": "string",
            "description": "Human-readable section heading."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "key",
                "type",
                "label"
              ],
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Payload parameter key expected by 'generate_docs_questionnaire'."
                },
                "type": {
                  "enum": [
                    "string",
                    "url",
                    "email",
                    "boolean",
                    "number",
                    "multiselect"
                  ],
                  "type": "string",
                  "description": "Field input control type."
                },
                "label": {
                  "type": "string",
                  "description": "Human-readable field prompt label."
                },
                "default": {
                  "oneOf": [
                    {
                      "type": "string",
                      "description": "Default string value."
                    },
                    {
                      "type": "boolean",
                      "description": "Default boolean value."
                    },
                    {
                      "type": "number",
                      "description": "Default numeric value."
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "Default option string."
                      },
                      "description": "Default list of selected values."
                    }
                  ],
                  "description": "Default answer value when omitted."
                },
                "options": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "Selectable option label."
                  },
                  "description": "Allowed choices for multiselect fields."
                },
                "required": {
                  "type": "boolean",
                  "description": "Whether the field is mandatory."
                }
              },
              "description": "Individual intake question metadata.",
              "additionalProperties": false
            },
            "description": "Form input definitions belonging to this category."
          }
        },
        "description": "Single intake questionnaire section.",
        "additionalProperties": false
      },
      "description": "Categorized intake sections containing form field definitions."
    },
    "document_type": {
      "enum": [
        "all",
        "privacy_policy",
        "terms_of_service",
        "cookie_policy",
        "dpa",
        "ai_governance"
      ],
      "type": "string",
      "description": "Applied document type scope."
    },
    "supported_document_types": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Supported document_type enum value."
      },
      "description": "Supported document_type values returned when validation fails."
    }
  },
  "description": "Structured compliance intake questionnaire schema.",
  "additionalProperties": false
}
get_questionnaire_schema annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
export_documents — Export Site Legal Documents
Advertised by the server during the last successful anonymous check.
Advertised read-only

Exports all legal compliance documents currently attached to a registered website in clean Markdown ('markdown'), semantic HTML ('html'), or structured JSON ('json') format. When to use vs. related tools: Call 'export_documents' AFTER generating and attaching documents to a siteId via 'generate_documents' or 'generate_docs_questionnaire' (or for a pre-seeded site like 'site_paperloo_sandbox'). Note: calling 'export_documents' on a site with zero attached documents returns an empty 'documents' array—generate documents with that 'siteId' first. Preconditions & side effects: 'siteId' must exist in the active registry. Read-only transformation—does not mutate stored documents. Returns: JSON object containing 'success: true', 'siteId', 'format', 'total_documents', 'documents' (each with 'type', 'title', 'version', 'word_count', 'content'), and 'message' (or 'error' + 'available_sites').

export_documents input schema
{
  "type": "object",
  "required": [
    "siteId"
  ],
  "properties": {
    "format": {
      "enum": [
        "markdown",
        "html",
        "json"
      ],
      "type": "string",
      "default": "markdown",
      "examples": [
        "markdown",
        "html",
        "json"
      ],
      "description": "Target export representation: raw 'markdown', semantic '<article>' 'html', or serialized section-parsed 'json'."
    },
    "siteId": {
      "type": "string",
      "examples": [
        "site_paperloo_sandbox"
      ],
      "minLength": 1,
      "description": "Registered site UUID or exact registered URL whose documents should be exported."
    }
  },
  "additionalProperties": false
}
export_documents output schema
{
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message when siteId lookup or format validation fails."
    },
    "format": {
      "enum": [
        "markdown",
        "html",
        "json"
      ],
      "type": "string",
      "description": "Output serialization format applied."
    },
    "siteId": {
      "type": "string",
      "description": "Resolved registered site identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable export summary or empty-state guidance."
    },
    "success": {
      "type": "boolean",
      "description": "True if document export succeeded; false if siteId or format is invalid."
    },
    "documents": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "title",
          "version",
          "word_count",
          "content"
        ],
        "properties": {
          "type": {
            "type": "string",
            "description": "Document type key (e.g. 'privacy_policy')."
          },
          "title": {
            "type": "string",
            "description": "Human-readable document title."
          },
          "content": {
            "type": "string",
            "description": "Serialized document body in Markdown, HTML, or JSON string form."
          },
          "version": {
            "type": "string",
            "description": "Document version number."
          },
          "word_count": {
            "type": "integer",
            "minimum": 0,
            "description": "Word count of the underlying document."
          }
        },
        "description": "Exported legal document entry.",
        "additionalProperties": false
      },
      "description": "Formatted compliance documents attached to the site."
    },
    "available_sites": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Registered site identifier."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Registered primary URL."
          },
          "name": {
            "type": "string",
            "description": "Human-readable property name."
          }
        },
        "description": "Summary entry for a registered monitored website.",
        "additionalProperties": false
      },
      "description": "Registered sites returned when siteId does not match."
    },
    "total_documents": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of documents returned for the site."
    }
  },
  "description": "Exported site legal documents formatted as Markdown, HTML, or JSON.",
  "additionalProperties": false
}
export_documents annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

3 advertised

audit-website

Advertised by the server during the last successful anonymous check.

Audits a website for GDPR, CCPA, Google Consent Mode v2, WCAG 2.1 AA, and EU AI Act compliance

url
Website URL to audit (required)
onboard-new-client-site

Advertised by the server during the last successful anonymous check.

End-to-end agent workflow: registers site, gathers questionnaire data, generates policies, and configures cookie banner with GTM

website_url
Website URL (required)
company_name
Company or Client Name (required)
generate-compliance-suite

Advertised by the server during the last successful anonymous check.

Guides user through questionnaire responses and generates bulletproof legal policies

company_name
Legal entity name (required)
website_url
Website domain (required)

Resources

5 advertised

Paperloo Compliance Standards & Regulatory Matrix

Advertised by the server during the last successful anonymous check.

Regulatory requirements enforced by Paperloo across GDPR, CCPA, EU AI Act, WCAG 2.1 AA, and Google Consent Mode v2

Paperloo Compliance Standards & Regulatory Matrix URI
paperloo://compliance/standards

MIME type: text/markdown

Paperloo OpenAPI 3.1 Specification

Advertised by the server during the last successful anonymous check.

Machine-readable OpenAPI 3.1 specification for all Paperloo APIs

Paperloo OpenAPI 3.1 Specification URI
paperloo://api/openapi

MIME type: application/json

Autonomous Agent Integration Manual

Advertised by the server during the last successful anonymous check.

Comprehensive step-by-step guidance for LLMs and autonomous agents interacting with Paperloo infrastructure

Autonomous Agent Integration Manual URI
paperloo://docs/agent-guide

MIME type: text/markdown

Legal Questionnaire Schema & Question Catalog

Advertised by the server during the last successful anonymous check.

Full JSON schema of compliance questions for automated questionnaire workflows

Legal Questionnaire Schema & Question Catalog URI
paperloo://questionnaire/schema

MIME type: application/json

Paperloo Model Context Protocol Tools Catalog

Advertised by the server during the last successful anonymous check.

Documentation and input examples for all 19 MCP compliance tools

Paperloo Model Context Protocol Tools Catalog URI
paperloo://mcp/tools-catalog

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (38 of 38 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 4 of 4 checks answered
  9. 2026-11-26: 4 of 4 checks answered
  10. 2026-11-27: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1127 ms
95th percentile latency
1193 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1200 ms · metadata changed · 19 tool(s), 5 resource(s), 3 prompt(s); warnings: Advertises resources/templates/list but does not implement it
  • · probe · passed · 1053 ms · metadata changed · 19 tool(s), 5 resource(s), 3 prompt(s); warnings: Advertises resources/templates/list but does not implement it

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http paperloo-compliance-mcp https://paperloo.vercel.app/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add paperloo-compliance-mcp --url https://paperloo.vercel.app/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable paperloo-compliance-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "paperloo-compliance-mcp": {
      "url": "https://paperloo.vercel.app/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "paperloo-compliance-mcp": {
      "type": "streamableHttp",
      "url": "https://paperloo.vercel.app/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start paperloo-compliance-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "paperloo-compliance-mcp": {
      "type": "http",
      "url": "https://paperloo.vercel.app/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http paperloo-compliance-mcp https://paperloo.vercel.app/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://paperloo.vercel.app/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "paperloo-compliance-mcp": {
      "serverUrl": "https://paperloo.vercel.app/api/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Paperloo Compliance MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.