Skip to main content
Glama

ScorpTech x402 Tools

Dmarc Report Parse

dmarc_report_parse
Read-onlyIdempotent

Parse DMARC aggregate (RUA) reports and SMTP TLS reports (TLS-RPT, RFC 8460) into an actionable summary. Accepts the raw XML / JSON or the email attachment as base64 (.xml, .xml.gz, .zip). DMARC: reporter, date range, published policy, message totals, DMARC / DKIM-aligned / SPF-aligned pass rates, dispositions, every sending source IP with its auth results and a verdict (authorized, forwarded / third-party, spoofing), top failing sources and concrete next steps (e.g. when it is safe to move from p=none to quarantine). TLS-RPT: per-policy success / failure counts and failure details. No DNS or network lookups. Price: $0.003 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/dmarc-report-parse

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report": "<report>"
    },
    "name": "dmarc_report_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportYesReport XML / JSON, or base64 of the .xml / .gz / .zip attachment
maxSourcesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: accepted encodings and container formats, the fact that no network lookups occur, the exact output sections produced, and a per-call price with an x402/Solana payment requirement plus an HTTPS endpoint. Cost and payment prerequisites are exactly the kind of operational detail annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Input formats come first, then the two report-type output breakdowns, then constraints and cost. The enumerated field lists (pass rates, dispositions, per-source verdicts) earn their space because no output schema exists to carry that information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates well by enumerating the return fields for both DMARC and TLS-RPT, plus behavioral constraints and pricing. The remaining gap is `maxSources`: an agent cannot tell from the description whether results are capped or how to raise the cap, which matters for reports with many sending IPs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: `report` is documented in the schema and the description usefully restates its accepted formats (raw XML/JSON or base64 of .xml/.gz/.zip). However, `maxSources` (default 100, max 500) is never mentioned, so the description neither explains what it limits nor warns that the advertised 'every sending source IP' may be truncated. Baseline 3 is appropriate at this coverage level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb (parse) plus the exact resources (DMARC aggregate RUA reports and SMTP TLS reports per RFC 8460) and what it turns them into (an actionable summary). An agent can distinguish this from generic email/DNS siblings without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Describes the input conditions clearly (.xml, .xml.gz, .zip, raw XML/JSON, base64) and explicitly rules out a competing approach with 'No DNS or network lookups,' which separates it from dns_propagation/dns_dump-style siblings. It stops short of naming a specific alternative tool or stating when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources