Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

remediate_domain

Idempotent

Diagnose domain email deliverability by auditing DNS health and returning severity, impact, and copy-paste DNS fixes for failing SPF, DKIM, DMARC, MX, Return Path, and BIMI records.

Instructions

Consultative DNS health check. Returns: letter grade, per-check severity, human-readable impact sentences, AND copy-paste-ready DNS records for every failing check (SPF, DKIM, DMARC, MX, Return Path, BIMI). This is the tool to answer: 'Why is my email bouncing?' or 'How do I fix my SPF 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": "remediate_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes
auto_apply_dmarc_policyNoWhen SPF+DKIM both pass but DMARC is missing, return the upgrade instruction automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare the side-effect profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the description's job is to add context. It does add strong return-value transparency — letter grade, per-check severity, impact sentences, and copy-paste-ready records for every failing check. However, it never addresses the one behavioral question the annotations raise: readOnlyHint=false implies some write behavior, yet the description frames everything as 'consultative' and merely returning instructions, leaving the agent unsure whether anything is mutated.

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 and dense: purpose, then the full return payload, then the two user questions it answers. Every sentence carries information, though the capitalised 'AND' and the chatty 'This is the tool to answer:' phrasing are slightly informal for a tool definition.

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?

With no output schema, the description correctly takes on the burden of describing returns, and it does so thoroughly. But for a tool whose annotations mark it non-read-only, the missing clarification of what it actually writes — plus the undocumented required domain_id — leaves the agent without enough to call it confidently in edge cases.

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

Parameters2/5

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

Schema coverage is exactly 50%: auto_apply_dmarc_policy is documented in the schema, but domain_id has no description anywhere, and the description adds nothing to clarify whether it expects an internal domain identifier or a raw domain name. For a required parameter that is the sole addressing input, the description should compensate and does not.

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?

The description names the resource (DNS health for email authentication) and enumerates the concrete record types it inspects (SPF, DKIM, DMARC, MX, Return Path, BIMI), so an agent knows exactly what domain of problem it covers. It is weaker on the verb: 'consultative DNS health check' plus 'remediate' never states plainly whether it diagnoses only or also applies fixes, which matters against siblings like verify_dmarc_domain and get_dmarc_domain.

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 routes the agent with two explicit triggering questions ('Why is my email bouncing?', 'How do I fix my SPF record?'), which is a clear use-case signal rather than vague implication. It stops short of naming alternatives or when-not-to-use conditions (e.g., use get_dmarc_domain for a simple lookup), leaving that inference to the agent.

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