Skip to main content
Glama

Set Automatic Replies

set_automatic_replies
DestructiveIdempotent

Turn out-of-office automatic replies on, off, or schedule them for a date range, and set internal or external messages for your mailbox or an allowed shared mailbox.

Instructions

Turn automatic replies (out of office) on, off, or on for a date range, and set their messages. Messages left out keep their current text. The replies go out on their own to people who write in.

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": {
      "status": "<status>"
    },
    "name": "set_automatic_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd, like 2027-01-02T09:00, in time_zone. Required for scheduled
startNoStart, like 2026-12-20T09:00, in time_zone. Required for scheduled
statusYesdisabled turns replies off; alwaysEnabled turns them on now; scheduled uses start and end
mailboxNoEmail address of another mailbox to act on (delegated or shared), e.g. 'someone@example.com'. Omit for your own mailbox; required when this server signs in as an application. Only addresses this server is configured to allow will be accepted.
time_zoneNoTime zone for start and end, e.g. "Eastern Standard Time" or "UTC" (default: the mailbox's own time zone)
external_messageNoReply to people outside your organization (HTML or text)
internal_messageNoReply to people in your organization (HTML or text)
external_audienceNoWho outside the organization gets the external reply

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.6.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety bar is lower, and the description still adds real context: replies are sent automatically to inbound senders, and message fields left out keep their current text (clarifying partial-update behavior rather than a full overwrite). It does not state that supplying a message replaces existing text or what permissions/delegation constraints apply, which is a gap given the destructive flag.

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 short sentences, front-loaded with the core action and modes, followed by two clarifying behaviors. The final sentence about replies going out on their own is slightly loose in phrasing but still earns its place by explaining the effect of enabling.

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?

For an 8-parameter mutation tool with no output schema, the description covers the mode selection, the preservation of unset messages, and the outbound effect. Remaining details (message overwrite behavior, delegated mailbox requirements) live in the schema, so nothing critical is missing, though the destructive aspect could be stated more directly.

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%, including enum explanations for status and external_audience, so the schema carries parameter meaning. The description only adds the omission semantics for the message fields; it adds nothing about time_zone, mailbox, or start/end pairing beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Turn automatic replies (out of office) on, off, or on for a date range') and enumerates the three operating modes, which maps directly to the status enum. It doesn't explicitly contrast itself with get_automatic_replies, but the write-vs-read distinction is clear enough from the wording.

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

Usage Guidelines3/5

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

Usage is implied rather than spelled out: the reader learns the three modes and that omitted messages are preserved, which guides partial updates. There is no explicit when-to-use/when-not guidance or naming of an alternative tool (e.g., get_automatic_replies to inspect current settings first).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools