Skip to main content
Glama

dkim_lookup

Read-only

Fetch a domain's DKIM public-key record for a given selector (._domainkey.). The selector comes from an email's DKIM-Signature s= tag or a known default. Read-only.

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>",
      "selector": "<selector>"
    },
    "name": "dkim_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to query, e.g. example.com
selectorYesDKIM selector, e.g. 'google' or 'selector1'

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=true and openWorldHint=true, and the description's trailing "Read-only." merely restates that. What it does add beyond structured data is the record-naming convention and selector provenance, but it is silent on behavior the agent would care about — what happens when no record exists (empty answer vs. error) and whether the raw TXT string or a parsed key is returned.

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?

Three short sentences, front-loaded with the purpose, then the naming pattern, then selector provenance. Every sentence carries information, and the only fat is the redundant "Read-only." closing, which is minor.

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 lookup with no output schema, the description covers purpose, input derivation, and the DNS name being resolved. The remaining gap is the return shape — no output schema exists, so a word on whether a missing record yields an empty result or an error would complete it.

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 earns above that by explaining how the two parameters combine into the queried name and by sourcing the selector from a DKIM-Signature s= tag — meaning not present in the schema's terse 'google' / 'selector1' examples.

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 ("Fetch a domain's DKIM public-key record") and pins down exactly which DNS record is retrieved via the '<selector>._domainkey.<domain>' pattern. That level of specificity distinguishes it from generic lookups like dns_lookup and from email-auth siblings like dmarc_check without needing to name them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides real usage context by telling the agent where the selector comes from (an email's DKIM-Signature s= tag or a known default), which is the main practical hurdle to invoking it. However, it never states when to prefer this over siblings such as dmarc_check or dns_lookup, nor any exclusions, so the when-to-use guidance is implied rather than explicit.

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