Skip to main content
Glama

Sendfinery

Check a domain's DKIM keys

check_dkim
Read-only

Look up a domain's DKIM public keys in DNS and check them.

With a selector, reads the key at ._domainkey.. Without one, tries a fixed list of common selectors (Google Workspace, Microsoft 365, Amazon SES, SendGrid, Mailchimp and others); DNS cannot list a domain's selectors, so a key under any other name is not found and common_only is true. If nothing is found, ask the user for the s= tag of the DKIM-Signature header in a message they sent, and check again with that selector.

Returns found (each selector with its DNS name and parsed key: type k, RSA size bits, testing, revoked), tried (the selectors queried), findings (level, code, text) and grade, the worst level among the findings.

Credits: 1 per call.

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 that sends the mail, such as example.com.
selectorNoThe DKIM selector: the s= tag of the DKIM-Signature header in a message the domain sent. Leave it out to try common selectors.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses a real limitation (DNS cannot enumerate selectors, so a key under any other name is missed and common_only is true), a recovery path, and the cost ("Credits: 1 per call"). That is exactly the behavioral context annotations cannot carry.

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 the core action, then selector behavior, then the fallback, then returns. The return-value paragraph partially restates what the output schema already declares, which is the one place sentences do not fully earn their place.

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?

Covers the two-parameter surface, the fallback workflow, the failure mode that causes false negatives, and cost. With an output schema present, the description need not do more to let an agent call this correctly.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: where the selector is used in the DNS name and what omitting it actually triggers. It does not add format examples for the selector beyond the s= tag reference, so it is a 4 rather than a 5.

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 specific verb and resource: "Look up a domain's DKIM public keys in DNS and check them." That is clearly distinguishable from sibling checks like check_spf and check_dmarc without opening any 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?

Gives concrete conditional guidance: supply a selector to read <selector>._domainkey.<domain>, omit it to try common selectors, and if nothing is found ask the user for the s= tag and retry. It stops short of naming a sibling alternative (e.g. when to prefer a general DNS lookup), but the when-to-use context is 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.