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. Returns JSON with: type, decoding, reportMetadata, policyPublished, summary, sources, failingSources, recommendations. Price: $0.003 USDC per successful call (x402, Base or 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.1/5.0
Behavior5/5

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

Adds a lot beyond the annotations: accepted encodings (.xml, .xml.gz, .zip as base64), an explicit no-DNS/no-network guarantee, a documented pricing/auth model ($0.003 USDC via x402 on Base or Solana), and a parallel HTTPS endpoint. None of that is recoverable from the readOnly/destructive/idempotent hints alone.

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

Conciseness4/5

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

Front-loaded with the core action and the accepted input formats, then branches cleanly into DMARC vs TLS-RPT behavior and closes with return fields, price, and endpoint. It is dense but nearly every clause carries information; the return-field enumeration and transport details could be tightened.

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 responsibly enumerates the returned JSON keys (type, decoding, reportMetadata, policyPublished, summary, sources, failingSources, recommendations) and discloses input size ceiling indirectly via the schema. The one real gap is that source-list truncation via `maxSources` is never explained, which matters for interpreting `sources` and `failingSources`.

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

Parameters2/5

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

At 50% schema coverage the description needs to compensate, but it essentially restates the schema's own wording for `report` (XML/JSON or base64 of .xml/.gz/.zip) and says nothing about `maxSources` (default 100, max 500) or what happens when the source list is truncated. It further creates a mild internal inconsistency by promising "every sending source IP" while a cap defaults to 100.

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 specific verbs and resources: parsing DMARC aggregate (RUA) reports and SMTP TLS reports (TLS-RPT, RFC 8460) into an actionable summary, with named outputs (pass rates, dispositions, source verdicts). This is unmistakably different from the parse-family siblings such as email_parse or url_parse.

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?

Gives clear context for when the tool applies (auditing a domain's DMARC/TLS-RPT data, deciding when to move off p=none) and an operational boundary ("No DNS or network lookups"). It never names an exclusion or an alternative path, e.g. using email_parse to pull the attachment out of a mailbox before calling this, so a 4 rather than 5.

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