Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

rotate_dkim

Rotate DKIM keys for a sending domain and return the new selector and DNS record to keep email authentication current.

Instructions

Rotate DKIM keys for a sending domain. Returns new selector and DNS record.

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_id": "<domain_id>"
    },
    "name": "rotate_dkim"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYesSending domain ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world mutation, and the description adds useful output context (new selector and DNS record). However, it omits the operational consequence that matters most: whether the old key stays valid during cutover, and that DNS must be published before the new key can sign, which is a significant gap for a rotation operation.

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 short sentences with the action front-loaded and the return value second; nothing is wasted or repeated from structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a one-parameter mutation: the schema covers the input and the description covers the return shape despite no output schema. It is still thin on cutover behavior and side effects, which are the main things an agent must know before rotating keys.

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?

The single domain_id parameter is fully documented in the schema, so the baseline applies. The description adds no clarification on whether this is the internal sending domain ID versus a domain name, nor any constraint on eligibility to rotate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (rotate DKIM keys) plus the scope (a sending domain), which cleanly separates it from read-only siblings like get_dkim_dns_record. It does not explicitly name a contrasting sibling, but the action is unambiguous.

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

Usage Guidelines2/5

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

The description states what the tool does but never says when to rotate versus when to inspect or add a DKIM record with a sibling tool. There is no prerequisite, timing, or exclusion guidance, so the agent must infer the trigger condition entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools