Skip to main content
Glama

workspaces_domains_dmarc_retrieve

What receivers (Google, Microsoft, …) reported in their daily DMARC aggregate reports for this domain over days (1-90, default 7). Reports are fetched daily from the rua mailbox (DMARC_REPORTS_IMAP_*); managed domains publish rua=mailto:<rua_address>, external domains must add it to their own DMARC record.

Rows are classified: direct (our sending path — envelope domain aligned with From), forwarded (someone else's envelope, our DKIM signature present: a recipient auto-forward) and other (neither: spoofing or an unknown sender). direct_dkim_failures is the number to act on; forwarded failures are expected. Returns {totals, by_kind, direct_dkim_failures, failures, daily, reports, rua_address}.

Method: GET /api/v1/workspaces/{workspace_sqid}/domains/{sqid}/dmarc/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_domains_dmarc_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it explains data provenance (daily fetch from the rua mailbox via DMARC_REPORTS_IMAP_*), the managed vs external rua publishing requirement, and the three-way row classification (direct/forwarded/other) that determines how results should be read. It does not cover permissions, error modes, or data freshness beyond 'daily'.

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?

The scope and timeframe are front-loaded and the classification explanation is compact. The trailing 'Method: GET /api/v1/...' line is largely redundant with the name and adds little for an agent, but the rest of the text earns its space.

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?

There is no output schema, but the description enumerates the return shape ({totals, by_kind, direct_dkim_failures, failures, daily, reports, rua_address}) and explains the semantics of the failure counters, which is what an agent needs to interpret results. The only real gap is the meaning of `sqid` relative to the workspace/domain path.

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 description coverage is 0%, so the description must compensate. It fully documents `days` (1-90, default 7) but says nothing about `sqid` beyond the endpoint path, which implies the workspace and domain SQIDs without naming which is which.

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

Purpose4/5

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

The first sentence names the exact resource (daily DMARC aggregate report data for one domain) and the reporting parties (Google, Microsoft receivers), so an agent knows precisely what it retrieves. It does not explicitly contrast itself with neighbouring tools such as workspaces_domains_postmaster_retrieve, leaving that differentiation to inference from the resource name.

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

Usage Guidelines3/5

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

It gives useful in-tool guidance ('direct_dkim_failures is the number to act on; forwarded failures are expected') and states the days range and default, but says nothing about when to call this versus the postmaster or DNS-record siblings. Usage is implied rather than routed.

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.