Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

set_offline_sync_dir

Choose the folder where your offline email archive is stored; configure this path before running your first offline sync to enable local mailbox access.

Instructions

Set where your offline email archive is stored. Ask the user: 'Where would you like to store your Offline Mailbox?' This must be configured before running offline_sync for the first time.

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": {
      "directory": "<directory>"
    },
    "name": "set_offline_sync_dir"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryYesFull path to the offline mailbox folder (e.g., C:\Users\YourName\Documents\Mailbox)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the ordering constraint and the user-interaction step, but says nothing about whether the directory is created if missing, whether existing archive contents are moved or orphaned, whether the setting is reversible, or what errors occur for invalid paths.

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 action, followed by the user prompt and the sequencing constraint. The quoted prompt is prescriptive but serves an operational purpose; nothing else is wasted.

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

Completeness3/5

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

A single-parameter configuration tool with no annotations and no output schema needs the description to cover side effects and re-run semantics, which it largely omits. It is adequate for a first-time setup call but leaves the agent guessing about idempotency and directory creation.

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?

There is a single parameter at 100% schema coverage, and the schema already documents that it is a full path with an example. The description reinforces that the value is a storage location the user should choose, but adds no format or validation detail beyond the schema.

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 and resource ('Set where your offline email archive is stored') and ties it to a named sibling by declaring it a prerequisite of offline_sync. An agent can distinguish this configuration step from the sync execution itself without inspecting 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 Guidelines4/5

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

Gives explicit sequencing guidance ('This must be configured before running offline_sync for the first time') and even prescribes a user prompt to collect the value. It does not cover the re-configuration case — whether the tool can be re-run after the first sync, or what happens if a directory is already set.

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