Skip to main content
Glama

E-Mail-Anbieter einrichten

setup_email_provider
Destructive

Stellt die E-Mail-Zustellung einer Domain auf einen externen Anbieter (Google Workspace oder Microsoft 365) um — setzt MX, SPF und bei Microsoft 365 zusätzlich den Autodiscover-CNAME. ACHTUNG, Eingriff in die laufende Mailzustellung: Vorhandene MX-Einträge der Domain werden gelöscht und ERSETZT, ein vorhandener SPF-Eintrag wird mit dem Wert des Anbieters zusammengeführt und neu geschrieben. Lokale Postfächer bei turbopress empfangen danach keine Mail mehr — eingehende Mail geht vollständig an den neuen Anbieter und muss dort neu angelegt werden. Vor dem Aufruf ausdrücklich rückfragen und die betroffenen Postfächer benennen (get_email_accounts); die Antwort nennt sie ebenfalls. DKIM ist pro Kundenkonto einzigartig und muss danach mit dem vom Anbieter bereitgestellten Wert separat über add_dns_record ergänzt werden.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
providerYesDer einzurichtende E-Mail-Anbieter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds crucial context beyond them: existing MX records are deleted and replaced, the SPF record is merged and rewritten, local turbopress mailboxes stop receiving mail, and DKIM requires a separate manual step. This is exactly the extra behavioral detail an agent needs for a destructive operation.

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 with the action, then a clearly marked warning and follow-up steps. It is dense and somewhat long, but nearly every sentence carries operational weight given the destructive nature of the tool.

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

Completeness5/5

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

Despite no output schema, the description covers side effects, prerequisites, required confirmation, and follow-up DKIM steps, and even notes that the response lists affected mailboxes. Nothing an agent needs to call it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so parameters are documented ('domain', provider enum). The description goes further by clarifying that the provider choice changes behavior (microsoft365 also sets an Autodiscover CNAME), adding meaning beyond the schema's flat enum list.

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: it switches a domain's email delivery to an external provider (Google Workspace or Microsoft 365) by setting MX/SPF/Autodiscover records. This clearly distinguishes it from siblings like create_email_account and add_dns_record.

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?

Explicitly instructs the agent to ask for confirmation before calling, to name the affected mailboxes using get_email_accounts, and to add DKIM afterward via add_dns_record. It names the alternative/prerequisite tools and the conditions selecting them.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources