{
  "x402Version": 2,
  "service": "domain-deliverability",
  "title": "Domain & Email Deliverability Inspector",
  "version": "1.0.0",
  "mcpEndpoint": "https://domain-deliverability.apikeg.com/mcp",
  "freeDiscovery": [
    "https://domain-deliverability.apikeg.com/llms.txt",
    "https://domain-deliverability.apikeg.com/llms-full.txt",
    "https://domain-deliverability.apikeg.com/openapi.json",
    "https://domain-deliverability.apikeg.com/.well-known/mcp.json",
    "https://domain-deliverability.apikeg.com/.well-known/api-catalog"
  ],
  "resources": [
    {
      "name": "verify_email_batch",
      "title": "Verify Email Deliverability Batch",
      "url": "https://domain-deliverability.apikeg.com/v1/verify-email-batch",
      "method": "POST",
      "description": "Validates a batch of 1 to 100 email addresses for RFC syntax, live MX/Null-MX mail acceptance, ESP provider fingerprint, SPF/DMARC domain posture, disposable/burner domains, role accounts, and free-webmail providers with per-domain DNS deduplication. Why call instead of DIY: Deduplicates DoH MX/SPF/DMARC queries across shared domains in a 100-email batch in <50ms for $0.001 + $0.0005/unique domain (capped at $0.01). Pricing: $0.001 base (up to $0.01 max $0.001 base + $0.0005 per unique domain checked (up to 100 emails, capped at $0.01), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.",
      "accepts": [
        {
          "scheme": "upto",
          "network": "eip155:8453",
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x000000000000000000000000000000000000dEaD",
          "maxTimeoutSeconds": 60,
          "extra": {
            "priceUsd": "0.001",
            "maxPriceUsd": "0.01",
            "unitDescription": "$0.001 base + $0.0005 per unique domain checked (up to 100 emails, capped at $0.01)",
            "dryRunQueryParam": "?dry_run=true"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "category": [
            "marketing-ops",
            "crm-automation",
            "security-compliance",
            "developer-tools"
          ],
          "info": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "example": {
                "emails": [
                  "ada@acme.com",
                  "billing+q4@acme.com",
                  "temp@mailinator.com"
                ],
                "checkSpfDmarc": true,
                "rejectDisposable": true,
                "rejectRoleAccounts": false
              }
            },
            "output": {
              "type": "json",
              "summary": "Returns deliverable for ada@acme.com, risky (role_account) for billing+q4@acme.com, and undeliverable (disposable_domain) for temp@mailinator.com at $0.002 total."
            }
          },
          "schema": {
            "inputSchema": {
              "type": "object",
              "properties": {
                "emails": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 320,
                    "description": "Email address candidate to inspect."
                  },
                  "minItems": 1,
                  "maxItems": 100,
                  "description": "Batch of 1 to 100 email addresses to verify with per-domain DNS deduplication."
                },
                "checkSpfDmarc": {
                  "type": "boolean",
                  "default": true,
                  "description": "Inspect SPF and DMARC posture on each unique domain in addition to MX."
                },
                "rejectDisposable": {
                  "type": "boolean",
                  "default": true,
                  "description": "Mark disposable/burner inbox domains as undeliverable."
                },
                "rejectRoleAccounts": {
                  "type": "boolean",
                  "default": false,
                  "description": "Mark role local-parts (e.g. admin@, billing@, support@) as non-deliverable."
                }
              },
              "required": [
                "emails"
              ],
              "additionalProperties": false
            },
            "outputSchema": {
              "type": "object",
              "required": [
                "ok",
                "data",
                "_meta"
              ],
              "properties": {
                "ok": {
                  "type": "boolean",
                  "const": true
                },
                "data": {
                  "type": "object",
                  "description": "Deterministic structured tool result payload."
                },
                "_meta": {
                  "type": "object",
                  "required": [
                    "requestId",
                    "durationMs",
                    "chargedUsd",
                    "dryRun"
                  ],
                  "properties": {
                    "requestId": {
                      "type": "string"
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "chargedUsd": {
                      "type": "string"
                    },
                    "dryRun": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    {
      "name": "audit_sender_domain",
      "title": "Audit Sender Domain Authentication",
      "url": "https://domain-deliverability.apikeg.com/v1/audit-sender-domain",
      "method": "POST",
      "description": "Performs a deep sender deliverability audit for a domain: MX & ESP provider fingerprinting, recursive RFC 7208 SPF tree evaluation (10-lookup cap, 2-void-lookup cap, cycle & multi-record permerror detection), DMARC policy & alignment, BIMI logo/VMC, and optional DKIM selector key checks, returning a 0-100 score, prioritized issues, and copy-paste DNS remediation records. Why call instead of DIY: Recursively walks SPF include/redirect graphs with cycle detection and RFC 4408 multi-chunk TXT reassembly in one $0.002 call instead of writing fragile DNS parsers. Pricing: $0.002 USD per sender domain authentication audit (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "amount": "2000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x000000000000000000000000000000000000dEaD",
          "maxTimeoutSeconds": 60,
          "extra": {
            "priceUsd": "0.002",
            "unitDescription": "per sender domain authentication audit",
            "dryRunQueryParam": "?dry_run=true"
          }
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "category": [
            "marketing-ops",
            "crm-automation",
            "security-compliance",
            "developer-tools"
          ],
          "info": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "example": {
                "domain": "acme.com",
                "dkimSelectors": [
                  "google",
                  "s1"
                ],
                "bimiSelector": "default"
              }
            },
            "output": {
              "type": "json",
              "summary": "Returns 0-100 deliverability score, recursive SPF lookup tree, DMARC/DKIM/BIMI status, and copy-paste TXT fixes."
            }
          },
          "schema": {
            "inputSchema": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string",
                  "minLength": 3,
                  "maxLength": 253,
                  "pattern": "^[^@\\s/]+\\.[^@\\s/]+$",
                  "description": "Sender domain name to audit (e.g. 'acme.com')."
                },
                "dkimSelectors": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 63,
                    "pattern": "^[a-zA-Z0-9._-]+$",
                    "description": "DKIM selector name (e.g. 'google', 'selector1', 's1', 'k1', 'default')."
                  },
                  "maxItems": 10,
                  "description": "Optional DKIM selectors to probe at <selector>._domainkey.<domain>."
                },
                "bimiSelector": {
                  "type": "string",
                  "default": "default",
                  "minLength": 1,
                  "maxLength": 63,
                  "pattern": "^[a-zA-Z0-9._-]+$",
                  "description": "BIMI selector to inspect at <selector>._bimi.<domain>."
                }
              },
              "required": [
                "domain"
              ],
              "additionalProperties": false
            },
            "outputSchema": {
              "type": "object",
              "required": [
                "ok",
                "data",
                "_meta"
              ],
              "properties": {
                "ok": {
                  "type": "boolean",
                  "const": true
                },
                "data": {
                  "type": "object",
                  "description": "Deterministic structured tool result payload."
                },
                "_meta": {
                  "type": "object",
                  "required": [
                    "requestId",
                    "durationMs",
                    "chargedUsd",
                    "dryRun"
                  ],
                  "properties": {
                    "requestId": {
                      "type": "string"
                    },
                    "durationMs": {
                      "type": "number"
                    },
                    "chargedUsd": {
                      "type": "string"
                    },
                    "dryRun": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  ]
}