Skip to main content
Glama

DKIM check

check_dkim
Read-onlyIdempotent

Look up a domain's DKIM public key, trying the selectors Google Workspace, Microsoft 365 and common senders use, plus one you name. Use when mail fails DKIM or to confirm signing is set up. Returns pass, warn or fail, the record as published, what was found, how to fix it, and a guide link. The value is the DKIM record found (shortened if long), or null if no selector matched.

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_dkim"
  }
}

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
totalYesAlways 1: one record was checked.
domainYesThe domain that was checked.
passedYes1 if the record passed, otherwise 0.
recordsYesOne row for the record checked: pass/warn/fail, the record as published, what was found, the fix and a guide link.
toolUrlYesThe same check as a free web tool on pipefire.ai.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / passed / description
      Previous value: -"How many records passed."New value: +"1 if the record passed, otherwise 0."
    • addedOutput schema / properties / records / description
      Added value: +"One row for the record checked: pass/warn/fail, the record as published, what was found, the fix and a guide link."
    • changedOutput schema / properties / total / description
      Previous value: -"How many records were checked."New value: +"Always 1: one record was checked."
  2. Changed1 schema field changed
    • 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"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds the multi-selector fallback behavior and the outcome vocabulary (pass/warn/fail) along with the fix guidance returned, though it does not mention lookup latency or what a partial match implies.

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?

Four sentences, front-loaded with purpose then usage then output shape; little waste. The return-value enumeration is slightly long and partially duplicates the output schema, but it remains scannable.

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?

For a two-parameter read-only check with an output schema, this is nearly complete: the agent knows the trigger, selector behavior, and what 'value' holds when nothing matches. Minor redundancy in restating return fields that the output schema already defines keeps it from a 5.

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

Parameters4/5

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

The schema already documents both parameters at 100% coverage, so the baseline is 3. The description adds real meaning by explaining that the built-in Workspace/M365/common selector set is tried in addition to ('plus one you name') the caller's selector rather than instead of it, clarifying the selector parameter's semantics beyond the schema.

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?

The description opens with a specific verb and resource ('Look up a domain's DKIM public key') and scopes the exact selector strategy used. This clearly separates it from the sibling generate_dkim_record, which would produce rather than look up a record, and from check_spf/check_dmarc which target different record types.

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?

It gives concrete triggering conditions: 'Use when mail fails DKIM or to confirm signing is set up,' which tells the agent both a diagnostic and a verification scenario. It does not name an explicit alternative or state exclusions, but the record-type focus makes the boundary reasonably clear.

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.