Skip to main content
Glama

Abwesenheitsnotiz einrichten

set_email_autoreply

Schaltet die Abwesenheitsnotiz (automatische Antwort) eines bestehenden E-Mail-Kontos ein oder aus, etwa "richte für info@ eine Urlaubsantwort bis zum 31.01. ein". Beim Einschalten ist text Pflicht; subject (Betreff) und end_date (Enddatum, Format JJJJ-MM-TT, heute oder später) sind optional. Ohne Betreff gilt der Standard "Re: " plus der Betreff der eingegangenen Mail. Das Enddatum ist optional: Ohne Enddatum läuft die Notiz, bis sie ausgeschaltet wird — sag dem Kunden das, damit er sie nicht vergisst. Zum Ausschalten reicht enabled=false; Text und Betreff bleiben dann für das nächste Einschalten gespeichert. Jeder Absender bekommt höchstens EINE automatische Antwort pro Tag (nicht pro Mail). Der Text geht an jeden fremden Absender — nenne dem Kunden den Wortlaut, bevor du ihn setzt. Text höchstens 4000 Zeichen, Betreff höchstens 200; Emojis und einige Sonderzeichen kann das Postfach nicht speichern, dann wird nichts geändert. Text und Betreff dürfen nicht mit einem Bindestrich beginnen (Aufzählungen mit „-“ weiter unten im Text sind erlaubt); keine Emojis; keine unsichtbaren Steuerzeichen (etwa Nullbreiten- oder Richtungszeichen). Das Postfach wird serverseitig gegen die Postfächer genau dieser Domain geprüft; im Zweifel vorher get_email_accounts aufrufen, das den Stand der Notiz je Postfach zeigt (an, aus, abgelaufen). Das Ergebnis wird durch erneutes Lesen bestätigt: Kann der neue Stand nicht gelesen werden, meldet die Antwort ausdrücklich "nicht bestätigt" — gib das dann genau so weiter, nie als Erfolg.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>",
      "local_part": "<local_part>",
      "enabled": "<enabled>"
    },
    "name": "set_email_autoreply"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText der automatischen Antwort — erforderlich, wenn enabled=true. Höchstens 4000 Zeichen, Zeilenumbrüche erlaubt; kein Bindestrich am Textanfang, keine Emojis, keine unsichtbaren Steuerzeichen
domainYesDie Domain, z. B. example.de
enabledYestrue = Abwesenheitsnotiz einschalten, false = ausschalten (dann sind text, subject und end_date nicht nötig)
subjectNoBetreff der automatischen Antwort, höchstens 200 Zeichen, einzeilig. Weglassen = Standard "Re: " plus Betreff der eingegangenen Mail
end_dateNoEnddatum im Format JJJJ-MM-TT (z. B. "2026-12-31"), heute oder später. Weglassen = ohne Enddatum, die Notiz läuft bis zum Ausschalten
local_partYesLokaler Teil des bestehenden E-Mail-Kontos, z. B. "info" (nicht die volle Adresse)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With annotations only covering the read/write/open-world profile, the description carries the real behavioral burden and does it richly: one autoresponse per sender per day (not per mail), text goes to every external sender, state persists after disabling, validation failures result in no change at all, and a server-side read-back that can report 'nicht bestätigt', which must never be relayed as success.

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 core action and one example, and nearly every sentence contributes a distinct rule or consequence. It loses a little to duplication with the schema (character limits, emoji/hyphen bans) and to being one undivided block despite covering several distinct concerns.

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?

No output schema exists, yet the description explains the response semantics (confirmation by re-read, explicit 'nicht bestätigt' case), the failure modes (unsupported characters → no change), the rate limit, and the state model across enable/disable. Nothing an agent needs to call this 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 description coverage is 100%, so formats, limits and defaults are already documented in the schema and the description largely restates them (4000/200 characters, JJJJ-MM-TT, subject default). It adds the conditional requirement (text Pflicht beim Einschalten) and the consequence of omitting end_date, but that is incremental rather than compensating for any gap.

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?

Names a specific verb pair (ein-/ausschalten) and a precise resource (Abwesenheitsnotiz eines bestehenden E-Mail-Kontos) and includes a concrete usage example. An agent can instantly distinguish it from siblings such as set_email_forwarding, set_email_alias or get_email_accounts.

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?

Gives clear operative context: text is required only when enabling, enabled=false is sufficient to turn it off, and get_email_accounts is named as the pre-check when the mailbox state is uncertain. It stops short of explicitly contrasting with the adjacent mail tools (forwarding/alias) or stating when not to use it, so not a full 5.

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