Skip to main content
Glama
nikolausm

IMAP MCP Server

by nikolausm

imap_add_account

Add a new IMAP account configuration by specifying server host, port, credentials, and optional SMTP details to enable sending emails.

Instructions

Add a new IMAP account configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tlsNoUse TLS/SSL (default: true)
hostYesIMAP server hostname
nameYesFriendly name for the account
portNoIMAP server port (default: 993)
userYesUsername for authentication
emailNoEmail address (From: header). Defaults to user if omitted
passwordYesPassword for authentication
smtpHostNoSMTP server hostname. Defaults to IMAP host with imap.→smtp. rewrite
smtpPortNoSMTP server port (465 for SMTPS, 587 for STARTTLS). Defaults to 587
smtpSecureNoUse implicit TLS (SMTPS). Ignored for port 587/25 which always use STARTTLS, and for port 465 which always uses implicit TLS
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It does not mention that the tool likely validates credentials, stores configuration, or what happens if the account already exists. Essential side effects are omitted.

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?

The description is a single concise sentence but could be slightly expanded to include key context without becoming verbose. It is front-loaded with the core action.

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

Completeness2/5

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

The description is insufficient given the tool's complexity (10 parameters, no output schema, no annotations). It lacks context about the overall workflow, such as being a prerequisite to imap_connect or imap_test_account.

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 coverage is 100% with each parameter described. The tool description adds no additional meaning beyond what the schema already provides, so baseline score of 3 is appropriate.

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?

The description clearly uses the verb 'Add' and explicitly states the resource 'a new IMAP account configuration', distinguishing it from sibling tools like imap_update_account or imap_connect.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool instead of alternatives such as imap_test_account (for testing) or imap_connect (for connecting). There are no prerequisites or exclusion conditions mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolausm/imap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server