Skip to main content
Glama
Resend Email MCP

Resend Email MCP

Create Domain

create-domain

Create a new domain in Resend and return the DNS records required for verification so they can be configured with the domain's DNS provider.

Instructions

Create a new domain in Resend. Returns DNS records that must be configured with the domain's DNS provider for verification. If you have a tool that manages the domain's DNS (an MCP server, CLI or API of its DNS provider), offer to add them yourself. Otherwise, you MUST display the DNS records to the user so they can set them up.

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": {
      "name": "<name>"
    },
    "name": "create-domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
tlsNoTLS mode. "opportunistic" attempts secure connection with fallback. "enforced" requires TLS or fails. Defaults to "opportunistic".
nameYesThe domain name (e.g., example.com)
regionNoDeployment region. Defaults to "us-east-1".
capabilitiesNoDomain capabilities configuration.
openTrackingNoEnable email open rate tracking.
clickTrackingNoEnable click tracking in HTML emails.
customReturnPathNoSubdomain for the Return-Path address. Defaults to "send".
trackingSubdomainNoCustom subdomain for tracking links (e.g., "track" for track.example.com). When set, click and open tracking URLs will use this subdomain instead of the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.12.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv2.10.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: the created domain is not immediately usable, it returns DNS records that must be configured for verification, plus a mandatory user-facing display obligation. It omits failure behavior (e.g., domain already exists), idempotency, and whether creation is undoable via remove-domain.

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 sentences, front-loaded with the action and its output, then the conditional DNS-handling instruction. No redundant restatement of the name or title, and every sentence carries an actionable requirement.

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 an 8-parameter mutation tool with a nested capabilities object and no output schema, the description compensates well by describing the return payload and the required follow-through. It falls short only on lifecycle completion (verify-domain) and on preconditions such as duplicate-domain handling or permission requirements.

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?

Schema description coverage is 100%, including enum and default documentation for tls, region, capabilities, tracking, and return-path options, so the schema already does the work. The description adds no parameter-level meaning, which is acceptable at full coverage but earns only the baseline.

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 ("Create a new domain in Resend") and immediately names the concrete artifact produced (DNS records), which cleanly separates it from siblings like get-domain, verify-domain, and update-domain. An agent knows this is the provisioning entry point, not a read or a verification call.

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 unusually explicit post-invocation guidance: use a DNS-capable tool if one is available, otherwise you MUST surface the records to the user. The gap is the missing forward reference to verify-domain once DNS is configured, so the agent is left to infer the next step in the lifecycle.

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