Skip to main content
Glama

E-Mail-Weiterleitung einrichten

set_email_forwarding

Aktiviert oder deaktiviert die Weiterleitung eines bestehenden E-Mail-Kontos an eine beliebige externe Adresse (z. B. "leite info@ an meine private Gmail weiter"). target_address ist beim Aktivieren zwingend erforderlich. 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

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
enabledYestrue = Weiterleitung aktivieren, false = deaktivieren
mailboxYesLokaler Teil des bestehenden E-Mail-Kontos, z. B. "info" (nicht die volle Adresse)
target_addressNoZiel-E-Mail-Adresse der Weiterleitung — erforderlich wenn enabled=true. Geprüft wird nur, dass das Feld nicht leer ist; der Wert geht unverändert in EIN einzelnes Adressfeld bei Plesk. Genau EINE Adresse eintragen: Mehrere Empfänger ("a@x.de, b@y.de") oder ein Name davor ("Max Mustermann <max@gmail.com>") werden nicht hier, sondern erst von Plesk abgelehnt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false) by disclosing that mailbox existence is NOT pre-checked, that a missing mailbox causes rejection with no change made ("das ist keine Störung"), and that only non-emptiness of target_address is validated while multiple recipients or display names are rejected later by Plesk. These are exactly the failure-mode details an agent needs and cannot get from structured fields.

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?

Three dense sentences, front-loaded with the core action and the required-parameter rule; every clause carries information (precondition, failure semantics, fallback tool). Slightly long and nested, but no filler.

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

Completeness4/5

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

No output schema exists, and the description covers failure behavior, validation limits, and prerequisites well enough to call the tool correctly. It omits required permissions and any note on distinguishing enable vs disable side effects, which keeps it from a 5.

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 a 3 is the baseline, but the description adds real semantics: target_address is required specifically when enabling (implying it is optional on disable) and may be an arbitrary external address. It largely echoes the schema's own notes about single-address format, so it stops short of a 5.

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 pair (enable/disable) applied to a precise resource (forwarding of an existing mailbox to an external address), and the parenthetical example ("leite info@ an meine private Gmail weiter") makes the operation unmistakable. It is clearly distinguishable from siblings like set_email_alias or create_email_account, which act on different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives the precondition (target_address mandatory when enabling) and routes the agent to an alternative: "Im Zweifel vorher get_email_accounts aufrufen, statt den Namen zu raten." It does not, however, contrast forwarding with the sibling set_email_alias, so the agent must infer that distinction.

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