Skip to main content
Glama
sieve-mcp-server

sieve-mcp-server

Official

sieve_add_account

Connects and securely stores a ManageSieve account after testing the connection and login, so MCP clients can manage server-side mail filtering rules.

Instructions

Add a ManageSieve account. Prefer telling the user to run sieve-mcp-setup add (or sieve-mcp-setup import-imap) in a terminal so the password is typed there instead of passing through this conversation; use this tool only if the user explicitly provides the details here. By default the connection and login are tested first and nothing is saved if they fail. The account is stored in the shared encrypted store used by every MCP client on this machine.

Input Schema

NameRequiredDescriptionDefault
tlsNoTransport security. "starttls" (default, standard for port 4190) upgrades the connection and refuses to continue if the server cannot; "implicit" for a port that speaks TLS from the first byte; "none" sends the password unencrypted — only for localhost or a trusted network.starttls
hostYesManageSieve server host name. Often the same as the IMAP host.
nameYesShort unique name for the account, e.g. "personal" or "work".
portNoManageSieve port; 4190 is standard.
testNoConnect and log in before saving; nothing is saved if this fails.
userYesLogin name, usually the full email address.
passwordYesPassword or app password. Pass an empty string to supply it instead via the SIEVE_MCP_ACCOUNT_<NAME>_PASSWORD environment variable in the MCP client config.
allowInvalidCertificateNoSkip TLS certificate verification. Only for a self-signed certificate the user trusts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the default test-before-save behavior with rollback semantics ('nothing is saved if they fail'), the storage location ('shared encrypted store used by every MCP client'), and the credential-safety concern that motivates the CLI alternative.

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

Conciseness5/5

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

Three sentences, front-loaded with purpose, then the usage steering, then the behavioral guarantee. No filler; each sentence adds a distinct decision-relevant fact.

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?

For a mutation tool with no annotations and no output schema, the description covers the critical gaps: safety of the write (test-first), what happens on failure, and where data lives. Combined with a fully documented schema, an agent has everything needed to call this correctly.

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 the schema already documents all 8 parameters thoroughly, making 3 the baseline. The description adds value beyond the schema by explaining the test/save interaction ('by default the connection and login are tested first') and the storage model, giving semantic context that no single parameter field conveys.

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 ('Add') and resource ('ManageSieve account'), and its name/scope clearly distinguishes it from siblings like sieve_update_account or sieve_list_accounts. An agent can tell immediately this is the creation path for a new account.

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?

Explicitly states the preferred alternative (the CLI setup tool) and the precise condition under which this tool should instead be used ('only if the user explicitly provides the details here'). This is a rare case of a description that actively steers away from itself and names the exact scenario for use.

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