Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAILX_MCP_URLNoOverride the upstream URL (staging/self-hosting)
preferred_providerNoDefault provider for spf_generate (google, mailgun, sendgrid, postmark, amazon-ses, outlook, zoho, fastmail)
default_dkim_selectorNoDefault selector used by dkim_check when the call omits dkim_selector
dmarc_aggregate_emailNoDefault rua= address for dmarc_generate

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
spf_checkA

Check if a domain has a valid SPF (Sender Policy Framework) DNS record. SPF specifies which mail servers are authorized to send email on behalf of a domain.

dkim_checkB

Check if a domain has a valid DKIM (DomainKeys Identified Mail) DNS record for a given selector. DKIM allows the receiver to verify that an email was sent by the domain owner.

dmarc_checkA

Check if a domain has a valid DMARC (Domain-based Message Authentication, Reporting & Conformance) DNS record. DMARC tells receiving servers what to do with emails that fail SPF or DKIM checks.

bimi_checkA

Check if a domain has a valid BIMI (Brand Indicators for Message Identification) DNS record. BIMI allows brands to display their logo next to authenticated emails in supporting email clients.

dmarc_generateA

Generate a DMARC DNS record for a domain. Returns the record name, value, and type ready to be added to DNS.

spf_generateA

Generate an SPF DNS record for a domain based on the email provider being used. Returns the record name, value, and type ready to be added to DNS.

smtp_checkA

Test an SMTP server connection by attempting to connect and authenticate. Optionally sends a test email to verify full sending capability.

imap_checkA

Test an IMAP server connection by attempting to connect and authenticate. Use this to verify email receiving configuration.

smtp_finderA

Look up SMTP server settings (host, port, encryption) for a given email provider. Use this to find the correct SMTP configuration for services like Gmail, Outlook, SendGrid, etc.

imap_finderA

Look up IMAP server settings (host, port, encryption) for a given email provider. Use this to find the correct IMAP configuration for services like Gmail, Outlook, Yahoo, etc.

blacklist_checkA

Check if a domain or IP address is listed in popular email blacklists (DNSBLs). Being blacklisted can severely impact email deliverability.

bimi_hostA

Host and serve your BIMI SVG file for email authentication

mx_lookupA

Look up MX (Mail Exchanger) records for a domain. Returns the mail servers and their priorities.

txt_lookupA

Look up all TXT records for a domain. TXT records contain SPF policies, domain verification tokens, DKIM keys, and other metadata.

cname_lookupA

Look up CNAME (Canonical Name) records for a domain. Shows where a hostname aliases to.

ptr_lookupA

Reverse DNS lookup. Find the hostname associated with an IP address. A valid PTR record is important for email sending reputation.

dns_lookupA

Look up all DNS records for a domain in one query. Returns A, AAAA, CNAME, MX, NS, TXT, and SOA records.

Prompts

Interactive templates invoked by user choice

NameDescription
audit-deliverabilityRun a full deliverability audit on a domain: SPF, DMARC, DKIM, and blacklist checks. Produces a pass/fail summary with copy-pasteable fixes.
setup-dnsGenerate SPF and DMARC DNS records for a domain based on its email provider, with copy-pasteable values ready to add to DNS.

Resources

Contextual data attached and managed by the client

NameDescription
email-deliverability-skillGuide for diagnosing and fixing email deliverability: SPF, DKIM, DMARC, BIMI, blacklists, SMTP/IMAP. Includes audit workflow, DNS setup, and troubleshooting.
email-deliverability-diagnosisDetailed reference for interpreting combined SPF/DKIM/DMARC/blacklist results and mapping failures to fixes per provider.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mailwarm/mailx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server