Skip to content

Email security

Email security skill: one parallel call returns SPF, DMARC and a DKIM check at selector "google", each as its own result, beside the combined mail score, to judge whether the domain can be spoofed.

$0.006 per call · one payment for the whole workflow
POST /api/skill/email-security
Sample output + API docs →

4 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. Paid in USDC over x402 or MPP; this pack has no proof-of-work tier.

When to use this pack

Diagnosing email authentication - can this domain be spoofed, and is its mail configuration complete.

Tools in this pack

All 4 run inside the single $0.006 call above. Each is also callable on its own if you only need one part.

Bought one at a time, these 4 tools cost $0.006 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.006.

Workflow

  1. Parse the SPF record - flag permissive +all, excessive lookups, or syntax errors.
  2. Parse the DMARC policy - p=none means failures are ignored.
  3. Probe common DKIM selectors and check key strength.
  4. Run the composite deliverability score for an overall grade.

Arguments

NameRequiredDescriptionExample
domainyesDomain to check (e.g. example.com)agent402.tools

What one call returns

A JSON object with pack, args, steps, summary; steps holds one entry per tool (spf-check, dmarc-check, dkim-lookup, email-deliverability), each with its own result or error. Full example on the API page.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):

import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-email-security", {"domain":"agent402.tools"});

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@0.13.32

Then paste this prompt into Claude:

Check email security for agent402.tools using Agent402's email-security skill pack. Get (1) SPF check, (2) DMARC policy, (3) DKIM probe, (4) deliverability score. Flag any missing or weak auth records.

← All skill packs