Skip to main content
Glama

Get Dmarc Record

get_dmarc_record
Read-onlyIdempotent

DMARC record, policy, and whether it actually protects.

Returns the DMARC TXT record at _dmarc., its policy (none / quarantine / reject), the percentage it applies to, and whether that policy protects against spoofing. Also flags the case of MULTIPLE DMARC records, which RFC 7489 requires receivers to treat as no policy at all — a domain in that state is unprotected however strict its records look. A policy of "none" is monitoring only and does not stop forged mail. Use when assessing whether mail claiming to be from a domain can be trusted.

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": {
      "domain": "<domain>"
    },
    "name": "get_dmarc_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to check, e.g. "example.com". A full email address is accepted and the domain is taken from it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "all_records": {
      -      "description": "Present only when more than one DMARC record exists.",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "domain": {
      -      "type": "string"
      -    },
      -    "found": {
      -      "type": "boolean"
      -    },
      -    "meaning": {
      -      "type": "string"
      -    },
      -    "multiple_records": {
      -      "description": "RFC 7489 requires receivers to apply NO policy when more than one record exists.",
      -      "type": "boolean"
      -    },
      -    "percent": {
      -      "description": "The pct= tag; defaults to 100.",
      -      "type": "integer"
      -    },
      -    "policy": {
      -      "description": "\"ignored\" means duplicate records cancelled the policy out.",
      -      "enum": [
      -        "none",
      -        "quarantine",
      -        "reject",
      -        "ignored",
      -        "unspecified"
      -      ],
      -      "type": "string"
      -    },
      -    "protects": {
      -      "description": "False for p=none (monitoring only) and for duplicate records.",
      -      "type": "boolean"
      -    },
      -    "record": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "domain"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "all_records": {
      +      "description": "Present only when more than one DMARC record exists.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "domain": {
      +      "type": "string"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "meaning": {
      +      "type": "string"
      +    },
      +    "multiple_records": {
      +      "description": "RFC 7489 requires receivers to apply NO policy when more than one record exists.",
      +      "type": "boolean"
      +    },
      +    "percent": {
      +      "description": "The pct= tag; defaults to 100.",
      +      "type": "integer"
      +    },
      +    "policy": {
      +      "description": "\"ignored\" means duplicate records cancelled the policy out.",
      +      "enum": [
      +        "none",
      +        "quarantine",
      +        "reject",
      +        "ignored",
      +        "unspecified"
      +      ],
      +      "type": "string"
      +    },
      +    "protects": {
      +      "description": "False for p=none (monitoring only) and for duplicate records.",
      +      "type": "boolean"
      +    },
      +    "record": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "domain"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, and the description adds real interpretive value beyond them: policy levels, what 'none' means, and the RFC 7489 multi-record failure mode. It omits failure behavior (no record found, DNS lookup failure) despite openWorldHint signaling external dependency, so it is not exhaustive.

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 a headline summarizing record, policy and protection, then supporting detail. The RFC 7489 aside and the 'none' explanation are somewhat verbose but each adds decision-relevant meaning.

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

Completeness5/5

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

A single-parameter read tool with no output schema; the description fully covers what values are returned and how to interpret them, leaving nothing essential for correct invocation.

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 100% and the schema already documents the domain parameter, including that a full email address is accepted. The description adds no parameter-level detail beyond what the schema states, so baseline 3 applies.

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?

Opens with a specific verb and resource ('Returns the DMARC TXT record at _dmarc.<domain>') plus the derived outputs (policy, percentage, spoofing protection). The resource is distinct enough from get_spf_record and get_mx_records that an agent can route correctly 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?

Provides a clear use condition: 'Use when assessing whether mail claiming to be from a domain can be trusted.' It does not name an alternative tool or state when-not to use it, so it stops short of full routing guidance.

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