Skip to main content
Glama

Email authentication check (MX, SPF, DKIM, DMARC)

check_domain_email_setup
Read-onlyIdempotent

Check whether a domain is set up to send and receive email properly: MX, SPF, DKIM and DMARC in one go, each with pass/warn/fail, what was found, and how to fix it. Use when someone asks why their email goes to spam, whether their domain is set up right, or before sending cold email.

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": "check_domain_email_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to check, e.g. example.com. A URL or email address also works.
selectorNoDKIM selector if known (e.g. google, selector1). Common ones are tried automatically.

Output Schema

NameRequiredDescriptionDefault
totalYesHow many records were checked.
domainYesThe domain that was checked.
passedYesHow many records passed.
recordsYes
toolUrlYesThe same check as a free web tool on pipefire.ai.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"The domain to check, e.g. example.com."New value: +"The domain to check, e.g. example.com. A URL or email address also works."
    • changedInput schema / properties / selector / description
      Previous value: -"DKIM selector if known. Common ones are tried automatically."New value: +"DKIM selector if known (e.g. google, selector1). Common ones are tried automatically."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "domain": {
      +      "description": "The domain that was checked.",
      +      "type": "string"
      +    },
      +    "passed": {
      +      "description": "How many records passed.",
      +      "type": "integer"
      +    },
      +    "records": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "finding": {
      +            "description": "What was found, in one sentence.",
      +            "type": "string"
      +          },
      +          "fix": {
      +            "description": "What to change. Empty when nothing needs doing.",
      +            "type": "string"
      +          },
      +          "guide": {
      +            "description": "Pipefire guide that explains this record.",
      +            "type": "string"
      +          },
      +          "record": {
      +            "description": "Which record: MX, SPF, DKIM, DMARC, BIMI or MTA-STS.",
      +            "type": "string"
      +          },
      +          "state": {
      +            "enum": [
      +              "pass",
      +              "warn",
      +              "fail"
      +            ],
      +            "type": "string"
      +          },
      +          "value": {
      +            "description": "The record as published, or null if there is none.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "record",
      +          "state",
      +          "value",
      +          "finding",
      +          "fix",
      +          "guide"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "toolUrl": {
      +      "description": "The same check as a free web tool on pipefire.ai.",
      +      "type": "string"
      +    },
      +    "total": {
      +      "description": "How many records were checked.",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "domain",
      +    "passed",
      +    "total",
      +    "records",
      +    "toolUrl"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the agent knows this is a safe, repeatable, network-touching read. The description adds that each record returns a pass/warn/fail grade plus findings and remediation advice, which is genuine behavioral context. It says nothing about lookup timeouts, missing-record handling, or how partial failures surface, though the output schema likely covers result shape.

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?

Two sentences, front-loaded with the check scope and followed by usage triggers. Every clause carries information (record types, grading, remediation, triggers) with no filler.

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 full schema coverage, a present output schema, and rich annotations, the definition supplies what an agent needs to pick and call it: scope, triggers, and result character. Only minor operational details (network latency, behavior when a record is absent) are left unstated, and those are the output schema's job.

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 100%, including that a URL or email address is accepted for `domain` and that common DKIM selectors are tried automatically for `selector`. The description adds no parameter meaning beyond that, so the baseline of 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?

States a concrete verb and resource ("Check whether a domain is set up to send and receive email properly") and enumerates exactly what is covered: MX, SPF, DKIM and DMARC. The phrase "in one go" plus the per-record pass/warn/fail result framing makes it distinguishable from the single-record siblings (check_mx, check_spf, etc.).

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 three concrete trigger scenarios: diagnosing mail going to spam, verifying a domain is set up correctly, and pre-cold-email validation. It does not explicitly say "if you only need one record type, use check_mx/check_spf instead", so the boundary with the granular siblings is implied by "in one go" rather than stated.

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.