Skip to main content
Glama

Postfach löschen

delete_email_account
Destructive

LÖSCHT ein E-Mail-Postfach einer Domain UNWIDERRUFLICH samt allen Mails darin. Aliasse und Weiterleitung des Postfachs gehen mit. Es gibt keinen Rückweg und keine Wiederherstellung durch turbopress; ein neu angelegtes Postfach mit demselben Namen (create_email_account) ist LEER. Bevor du das aufrufst: Sieh mit get_email_accounts nach, welche Postfächer es gibt und welche Aliasse und Weiterleitung daran hängen, nenne dem Kunden die Adresse GENAU und frage ausdrücklich nach, z. B. "Soll das Postfach info@example.de mit allen Mails endgültig gelöscht werden?" — und weise auf eine eigene Sicherung der Mails hin (z. B. per Mail-Programm). Rufe das Werkzeug erst nach einem klaren Ja des Kunden auf. Das Postfach wird serverseitig gegen die Postfächer genau dieses Abonnements geprüft; gibt es es nicht, wird nichts gelöscht. War die Postfachliste nicht abrufbar, wird ebenfalls nichts gelöscht — das heißt dann NICHT, dass es das Postfach nicht gibt. Die Antwort belegt das Löschen nur, wenn der Server danach nachgesehen und das Postfach nicht mehr gefunden hat. Meldet sie "Auftrag angenommen, Ergebnis nicht geprüft" oder dass das Postfach noch vorhanden ist, melde es NIE als gelöscht, sondern sieh mit get_email_accounts nach. Kommt statt einer Ausführung ein Vorgang zur Bestätigung (status confirmation_required), wurde NICHTS gelöscht: Der Kunde muss ihn selbst bestätigen.

Input Schema

NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
local_partYesNur der lokale Teil des Postfachs (vor dem @), z. B. "info" für info@example.de — NICHT die ganze Adresse. get_email_accounts liefert volle Adressen: den Teil vor dem @ abschneiden. Eine volle Adresse info@<domain> wird nur angenommen, wenn der Teil nach dem @ genau der angegebenen Domain entspricht. Nur Buchstaben, Ziffern, Punkt, Bindestrich, Unterstrich, höchstens 64 Zeichen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Although annotations already declare destructiveHint=true and readOnlyHint=false, the description adds substantial context beyond them: irreversibility, loss of aliases/forwarding, no recovery, server-side validation that nothing is deleted when the mailbox doesn't exist or the list couldn't be retrieved, and how to interpret ambiguous responses. It stops short of being perfect only because the response-interpretation rules, while detailed, are lengthy and partly operational rather than purely descriptive.

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?

The destructive warning is correctly front-loaded and the sentence order follows the decision flow (what it does → consequences → check first → confirm → interpret response). It is long, but for an irreversible operation most sentences earn their place; a few (e.g. the repeated no-deletion scenarios) are slightly redundant.

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?

With no output schema and two parameters fully documented, the description carries the remaining burden excellently — it explains the possible response states (verified deletion, 'accepted but unverified', still present, confirmation_required) and warns never to report success unless the server re-checked. Nothing needed to call and interpret this tool correctly is missing.

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 coverage is 100% — the schema already explains that domain is the domain and local_part is the part before the @, with format constraints. The description adds the customer-facing example 'info@example.de' but no syntax beyond the schema, so the baseline of 3 applies.

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?

The opening sentence states a specific verb and resource — permanently deleting an email mailbox including all its mails, aliases and forwarding. It explicitly contrasts with the sibling create_email_account ('a newly created mailbox with the same name is EMPTY'), so the agent can distinguish it without opening the 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?

It gives explicit pre-conditions and routing: first look up mailboxes with get_email_accounts, name the exact address to the customer, ask for an explicit confirmation with a sample phrasing, advise on backups, and only call after a clear 'yes'. This is a complete when-to-use and how-to-proceed protocol.

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