Skip to main content
Glama

E-Mail-Alias entfernen

remove_email_alias
Destructive

Entfernt EINE Alias-Adresse von einem Postfach — der Weg zurück zu set_email_alias. Nachrichten an die Alias-Adresse kommen danach NICHT MEHR AN, sondern werden abgewiesen; sage dem Kunden das vorher und frage, ob die Adresse noch irgendwo steht (Website, Signatur, Visitenkarten, Formulare). Das Postfach selbst und alle Nachrichten darin bleiben unberührt — auch das gehört in die Antwort, sonst glaubt der Kunde, seine Mails seien mit weg. Postfach UND Alias werden serverseitig gegen die Postfächer genau dieses Abonnements geprüft, bevor irgendetwas entfernt wird; get_email_accounts zeigt die Aliase je Postfach, rate keinen. EINE BESONDERHEIT, die du nie übergehen darfst: Das Hosting-System meldet für diesen Befehl gemessen AUCH DANN Erfolg, wenn es den Alias gar nicht gab. Der Server verlässt sich deshalb nicht darauf, sondern sieht danach nach — steht der Alias noch da, meldet die Antwort einen FEHLER und keinen Erfolg. Melde diesen Fall nie als erledigt. War die Postfachliste nicht abrufbar, wird nichts entfernt; das heißt dann NICHT, dass es den Alias nicht gibt. Neu einrichten lässt sich ein Alias jederzeit mit set_email_alias.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasYesDie zu entfernende Alias-Adresse — lokaler Teil ("kontakt") oder volle Adresse ("kontakt@example.de"), genau wie von get_email_accounts geliefert. Der Alias muss an GENAU DIESEM Postfach hängen.
emailYesDas Postfach, an dem der Alias hängt — lokaler Teil ("info") oder volle Adresse ("info@example.de"), genau wie von get_email_accounts geliefert
domainYesDie Domain, z. B. example.de

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 declare destructiveHint=true, and the description goes well beyond them: it states messages to the alias will be rejected afterward while the mailbox and its messages are untouched, that mailbox AND alias are validated server-side against this subscription's mailboxes before removal, and the critical quirk that the hosting system reports success even when the alias never existed — so the server re-checks and returns an ERROR instead. It also explains the failure mode when the mailbox list is unavailable. This is exactly the behavioral context an agent needs.

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 most important consequence (alias stops receiving mail) and the imperative to warn the customer. It is long, but nearly every sentence carries distinct operational value (reversibility path, validation behavior, false-success quirk). Slightly verbose, but justified.

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?

For a destructive 3-param mutation tool with no output schema, the description covers consequences, reversibility, prerequisites, validation behavior, and even the false-success edge case. Nothing an agent needs to invoke this correctly 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 all three params are documented in the schema themselves (including local-part vs. full-address formats and the alias-must-belong-to-this-mailbox constraint). The description adds value by pointing to get_email_accounts as the source of valid values and reiterating 'rate keinen', which supplements rather than contradicts the schema.

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 precise verb+resource and scope: 'Entfernt EINE Alias-Adresse von einem Postfach' — removes exactly one alias from a mailbox. Explicitly distinguishes itself from the sibling set_email_alias ('der Weg zurück') and from get_email_accounts, so the agent can differentiate without opening a 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?

Gives explicit when-to-use and consequential context: warn the customer beforehand that messages will be rejected, ask whether the address still appears anywhere (website, signature, business cards, forms), and routing guidance to use get_email_accounts rather than guessing the alias. Names both the alternative (set_email_alias) and the discovery tool.

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