{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "CRM Cleanse & Dedupe Edge API",
  "humanReadableId": "apikeg/crm-cleanse",
  "agentVersion": "1.0.0",
  "description": "Normalize E.164 phones, clean names/companies, and fuzzy-deduplicate up to 500 CRM leads in <15ms. Eliminates brittle regexes, trunk-zero E.164 bugs, McDonald/O'Connor casing mistakes, free-webmail false merges, and multi-turn LLM token burn over large lead lists.",
  "provider": {
    "name": "API Keg",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://crm-cleanse.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://crm-cleanse.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://crm-cleanse.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "cleanse_contact_batch",
      "name": "Cleanse & Deduplicate Contact Batch",
      "description": "Normalizes emails, international E.164 phones, person names/honorifics, and company legal suffixes across 1-500 CRM records, returning merged canonical uniqueRecords and duplicateClusters. Why call instead of DIY: Replaces 300+ lines of fragile phone/name/Jaro-Winkler code and saves thousands of LLM tokens on 500-row CSV imports; executes deterministically in <15ms. Pricing: $0.001 base (up to $0.01 max ($0.001 minimum + $0.002 per 100 records, capped at $0.01 for up to 500 records), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "crm-automation",
        "revops",
        "data-hygiene",
        "business-ops"
      ],
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.01",
        "unitDescription": "($0.001 minimum + $0.002 per 100 records, capped at $0.01 for up to 500 records)"
      },
      "documentationUrl": "https://crm-cleanse.apikeg.com/tools/cleanse-contact-batch"
    },
    {
      "id": "compare_contact_pair",
      "name": "Compare Two Contacts for Duplicate Match",
      "description": "Computes field-by-field normalized similarity (email fingerprint, E.164 phone, Jaro-Winkler + Soundex name, company key, corporate domain) and returns an isMatch merge recommendation. Why call instead of DIY: Instant deterministic entity-resolution check for webhook/CRM pre-insert hooks at $0.0005 per pair. Pricing: $0.0005 USD per contact pair comparison (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "crm-automation",
        "revops",
        "data-hygiene",
        "business-ops"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.0005",
        "unitDescription": "per contact pair comparison"
      },
      "documentationUrl": "https://crm-cleanse.apikeg.com/tools/compare-contact-pair"
    }
  ]
}