Skip to main content
Glama

DKIM Record Check (RFC 6376)

dkim_record_check
Read-onlyIdempotent

Check a DKIM public key record (the TXT record published at ._domainkey.) before you publish it or when DKIM fails. Send the record text (for example 'v=DKIM1; k=rsa; p=MIIBIjANBg...'), and optionally the selector and domain. Get back whether verifiers can use the record at all (read_by_verifiers is false when they discard it or it gives no usable key), the key type (rsa or ed25519), the key length in bits (read from the key itself), whether the key is revoked (empty p=) or in testing mode (t=y), the allowed hashes and service types, the strict-subdomain flag, the key's SHA-256 fingerprint, and each problem with its RFC: no p tag, a key under 1024 bits (cannot validate) or under 2048 (below the recommended size), a key that is not valid base64 or not a real key, a hash list with no SHA-256. No DNS query is made. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/dkim-record-check). Not legal, tax or financial advice.

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": {
      "record": "<record>"
    },
    "name": "dkim_record_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOptional: the signing domain, to name the DNS record the key belongs at.
recordYesThe DKIM key TXT record text (several strings of one TXT record joined without spaces).
selectorNoOptional: the selector, to name the DNS record the key belongs at.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses what the caller actually needs: no network or DNS access, nothing stored, free, hourly rate limits, an error contract (ok false with reason for bad input, too large, hourly limit), and that responses are cryptographically signed. It also spells out the semantics of the key output flag (read_by_verifiers is false when verifiers discard the record).

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

Conciseness3/5

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

The instruction is front-loaded well, but the middle is a dense run-on enumeration of every returned field and every failure rule. The trailing 'ok, verdict, result, rule, does_not, sources, observation, signature, verify' list and 'Not legal, tax or financial advice' add bulk with little selection value, especially since there is no output schema to anchor those names.

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?

For a single-record validator with no output schema, the definition covers the input format, the full set of returned verdicts, the specific RFC-level failure conditions and their thresholds (under 1024 bits cannot validate, under 2048 below recommended), the error contract, and privacy/rate-limit behavior. An agent has everything needed to decide and call.

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?

Schema coverage is already 100%, so the baseline is 3. The description still adds value by giving a concrete record-text example ('v=DKIM1; k=rsa; p=MIIBIjANBg...') and framing selector/domain as optional naming inputs, which helps an agent format the call correctly.

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 names a specific verb and resource — checking a DKIM public key TXT record at <selector>._domainkey.<domain> — and explicitly scopes it as offline validation with 'No DNS query is made', which cleanly separates it from the DNS-fetching siblings like mx_record_check and spf_record_check.

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 clear trigger conditions: 'before you publish it or when DKIM fails'. That is genuinely actionable context, but it never names an alternative tool or states when a different check (e.g. dmarc_record_check or domain_health_check) would be the better call.

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