Skip to main content
Glama
pp123ys

email-mcp-server

by pp123ys

configure_account

Configure IMAP/SMTP credentials for email access. Call when account setup is missing or on first run; saves auth secret to .env and takes effect immediately after user consent.

Instructions

配置邮箱账号(IMAP/SMTP 凭据)。首次运行或配置缺失时调用;auth_secret 为敏感信息,请先征得用户同意再写入;写入后立即生效并持久化到 .env

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imap_sslNo
smtp_sslNo
usernameYes
auth_modeNoapp_password
imap_hostYes
imap_portNo
smtp_hostYes
smtp_portNo
auth_secretYes
sent_folderNoSent

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and discloses three behavioral traits: auth_secret is sensitive and requires user consent before writing, the configuration takes effect immediately after writing, and it persists to .env. It stops short of describing overwrite/re-run behavior or connection validation, but the key side effects and consent requirement are stated explicitly.

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?

A single dense sentence front-loads the purpose and then chains when-to-use, the consent requirement, and the persistence effect without filler. Every clause earns its place, making the description informative yet compact.

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?

The description covers purpose, invocation timing, secret sensitivity, immediate effect, and persistence, while the output schema handles return values. However, it leaves parameter semantics largely undocumented and does not state what happens when the tool is re-run over an existing configuration, which is relevant for a persistent config tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the 10 parameters, but it only provides a coarse IMAP/SMTP grouping and flags auth_secret as sensitive. Parameters such as sent_folder, auth_mode, imap_port/smtp_port defaults, and the ssl booleans remain unexplained, leaving an agent to guess at their meaning.

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 states a specific verb and resource: '配置邮箱账号(IMAP/SMTP 凭据)' (configure email account with IMAP/SMTP credentials). This clearly scopes the tool to initial account setup, which no sibling such as test_email_connection, get_account_status, or get_account_info covers.

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 gives explicit when-to-use context: '首次运行或配置缺失时调用' (call on first run or when configuration is missing). It does not name alternatives or exclusions, but none of the 29 siblings performs configuration, so the guidance is sufficient for an agent to select this tool at setup time.

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

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/pp123ys/email-mcp-server'

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