Skip to main content
Glama
nikolausm

IMAP MCP Server

by nikolausm

imap_update_account

Update an existing IMAP account to fix SMTP settings or change account details without deleting and re-adding it.

Instructions

Update an existing IMAP account. Useful for fixing SMTP settings without removing and re-adding the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tlsNoUse TLS for IMAP
hostNoIMAP host
nameNoNew friendly name
portNoIMAP port
userNoIMAP username
emailNoEmail address (From: header)
passwordNoNew password
smtpHostNoSMTP hostname
smtpPortNoSMTP port (465 for SMTPS, 587 for STARTTLS)
smtpUserNoSMTP username (if different from IMAP user)
accountIdYesID of the account to update
saveToSentNoSave sent emails to the Sent folder
smtpSecureNoUse implicit TLS (SMTPS). Port 587/25 always use STARTTLS regardless
smtpPasswordNoSMTP password (if different from IMAP password)
Behavior3/5

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

With no annotations, the description must cover behavioral traits. It implies mutation but does not disclose whether updates are partial, destructive, or require specific permissions. Basic transparency is present but incomplete.

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?

Two sentences front-loaded with purpose. No wasted words, efficiently conveys core information.

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?

Given 14 parameters and no output schema or annotations, the description is minimal. It does not explain return values, partial update behavior, or parameter relationships, leaving gaps for a tool of this complexity.

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?

The input schema has 100% parameter descriptions, so the description adds limited value. It hints at SMTP-related parameters but does not provide additional semantics beyond what the schema already offers.

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 states the action ('Update an existing IMAP account') and specifies a common use case ('fixing SMTP settings without removing and re-adding the account'), effectively distinguishing it from sibling tools like imap_add_account and imap_remove_account.

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?

The description provides a clear context for use (fixing SMTP settings) but does not explicitly state when not to use or mention alternatives. The implication is sufficient, but lacking explicit exclusions.

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