Skip to main content
Glama
imap-mail-mcp

imap-mail-mcp

by EastMG

list_accounts

Retrieves configured 网易, 新浪, and 完美邮箱 accounts with their IMAP/SMTP endpoints, helping agents identify available mailboxes before reading, searching, or sending mail.

Instructions

List configured mailboxes (网易/新浪/完美邮箱) with their IMAP/SMTP endpoints.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden; "List" and "configured" imply a non-mutating read of previously set-up accounts, which is useful. It does not disclose whether credentials/secrets are exposed in the endpoints, nor any auth requirements or error behavior for an unconfigured server.

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?

A single front-loaded sentence with no filler; the resource and the returned data are stated in order of importance. The provider list in parentheses is the only content of arguable marginal value.

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?

There is no output schema, so the description must convey return contents, and it does partially (mailboxes plus IMAP/SMTP endpoints). It omits whether credentials are included, whether results are ordered or paginated, and what happens when no accounts are configured — gaps that matter for a mail tool.

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?

The schema takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The parenthetical naming of specific providers (网易/新浪/完美邮箱) hints at which account types can appear without implying any filtering input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List configured mailboxes ... with their IMAP/SMTP endpoints" gives a specific verb (List) and resource (configured mailboxes) plus the payload shape. It is distinguishable from list_folders by scope (accounts vs. folders), though that contrast is left implicit rather than stated.

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

Usage Guidelines3/5

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

The agent can infer this is the discovery/enumeration call before using folder or message tools, but the description never says when to use it or that it is the prerequisite step. No exclusions or alternatives are named.

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