Skip to main content
Glama
Motorical SMTP MCP Server

Motorical SMTP MCP Server

motorical_domain_add

Add a customer domain and return DNS verification records so you can publish the required DKIM entries and authenticate email sending.

Instructions

Add a customer domain. Returns verification DNS instructions. For cname_managed DKIM publish the CNAME in verification.records.dkim / dnsRecords (not a TXT p= key). On 409 (domain already registered), call motorical_domain_list first to check whether it is already on this account before asking the user to resolve the conflict. A Free account may have one domain; adding another returns free_domain_limit with a nextAction. Over hosted OAuth it needs the manage:domains scope; the local server uses MOTORICAL_JWT. Requires OAuth scope: manage:domains (see motorical_whoami for what it allows).

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": "motorical_domain_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
motorBlockIdNoOptional. This operation acts on the whole account, so a Motor Block is never needed; pass one only to record which block the call was made on behalf of.
idempotencyKeyNoOptional. Pass the same value on a retry to get the exact original response back, instead of a duplicate.
verificationMethodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-idempotent write; the description adds substantially beyond that: the response carries DNS verification instructions, specific error codes (409, free_domain_limit) and their prescribed handling, DKIM record semantics, and both auth paths (hosted OAuth manage:domains scope vs. MOTORICAL_JWT on the local server). No contradiction with annotations.

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?

Front-loaded with the purpose and outcome, which is good, and the 409/free-tier guidance earns its place. However, the auth information is stated twice in the final two sentences ('Over hosted OAuth it needs the manage:domains scope; the local server uses MOTORICAL_JWT' followed by 'Requires OAuth scope: manage:domains'), which is redundant bloat.

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?

With no output schema, the description usefully sketches the return payload (verification.records.dkim / dnsRecords) and covers the main failure modes and auth prerequisites, so an agent knows what comes back and what to do on error. The remaining gap is parameter selection behavior rather than overall coverage.

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 only 50% and the description never explains any of the four parameters: the required 'domain' format, the 'verificationMethod' dns/email enum (the DKIM sentence is about reading results, not choosing the method), or the optional motorBlockId/idempotencyKey (those two do carry schema descriptions). The description does not compensate for the undocumented half, so an agent must guess how verificationMethod relates to the DKIM guidance.

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 ('Add a customer domain') plus an immediate outcome ('Returns verification DNS instructions'), and clearly separates the tool from motorical_domain_list (conflict triage) and motorical_whoami (scope inspection). An agent can distinguish it from siblings 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 Guidelines5/5

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

Explicit routing guidance: on 409 call motorical_domain_list before asking the user to resolve; on free_domain_limit follow nextAction; for cname_managed DKIM publish the CNAME rather than a TXT p= key. These are concrete when/when-not conditions tied to named alternatives, not generic advice.

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