Skip to main content
Glama

E-Mail-Alias einrichten

set_email_alias

Setzt einen Alias für ein bestehendes E-Mail-Konto (z. B. "kontakt" liefert dann zusätzlich an "info"). Ein neuer Alias KOMMT ZU den bestehenden DAZU und ersetzt keinen (gemessen 2026-09-21; die frühere Auskunft "pro Mailbox ist immer nur ein Alias aktiv, ein neuer ersetzt den bisherigen still" war falsch und darf dem Kunden nicht mehr gegeben werden). Es gehen also keine Adressen verloren — dafür sammeln sie sich an. ÜBER DIESEN WEG lässt sich ein Alias nicht löschen (gemessen: Plesk lehnt einen leeren Alias ab); ENTFERNEN geht aber sehr wohl, und zwar mit remove_email_alias (seit dem 21.09.2026 gemessen — die frühere Auskunft "das geht nur im Kundenbereich" war falsch und darf dem Kunden nicht mehr gegeben werden). Welche Aliase ein Postfach hat, zeigt get_email_accounts — vor einem erneuten Aufruf dort nachsehen, damit nicht versehentlich ein weiterer dazukommt. Geprüft wird nur, dass Postfach und Alias nicht leer sind: Umlaute gehen durch diese Prüfung durch und scheitern erst bei Plesk. Ob das Postfach existiert, wird NICHT vorab geprüft: Gibt es die Mailbox nicht, wird die Aktion abgelehnt und nichts geändert — das ist keine Störung. Im Zweifel vorher get_email_accounts aufrufen, statt den Namen zu raten.

Input Schema

NameRequiredDescriptionDefault
aliasYesLokaler Teil des neuen Alias, z. B. "kontakt"
domainYesDie Domain, z. B. example.de
mailboxYesLokaler Teil des bestehenden E-Mail-Kontos, das den Alias bekommen soll, z. B. "info"

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true): aliases accumulate rather than replace, so nothing is lost but they pile up; validation only rejects empty mailbox/alias so umlauts pass validation and fail at Plesk; mailbox existence is not pre-checked and a missing mailbox causes rejection with no changes (explicitly framed as normal, not a failure). This is exactly the kind of operational context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Operationally dense and mostly earning its space, but notably long, and the meta-warnings about previously incorrect answers ("die frühere Auskunft ... war falsch und darf dem Kunden nicht mehr gegeben werden") appear twice and restate the same point in different words. Useful for correcting stale agent priors, yet bloated for a three-parameter 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?

With no output schema, no enums, and a flat three-parameter object, this covers everything an agent needs: prerequisites, the additive (non-destructive) effect, the failure mode for a non-existent mailbox, the fact that umlauts surface only at Plesk, and the deletion alternative. Nothing material is left to inference.

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% and every parameter already has a description with an example, so the baseline is 3. The description adds relationship semantics (the alias is a local part attached to the named mailbox's local part within the given domain) but no syntax or constraint detail beyond what the schema states.

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 and resource ("Setzt einen Alias für ein bestehendes E-Mail-Konto") plus a concrete example showing the additive effect ("kontakt" liefert zusätzlich an "info"). It also names the sibling it is not (remove_email_alias) and the sibling that reveals state (get_email_accounts), so an agent can route without opening any 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?

Explicit when-to-use and when-not: this path cannot delete an alias, use remove_email_alias for that; call get_email_accounts first (especially before a repeat call) so you don't add another alias inadvertently; if unsure whether the mailbox exists, look it up rather than guessing. Alternatives and preconditions are both spelled out.

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