Skip to main content
Glama
mail-mcp

mail-mcp

by honest-magic

list_accounts

Read-only

Lists configured IMAP mail accounts—Gmail, Outlook, and custom domains—so you can identify which accounts are available for email access.

Instructions

List IMAP mail accounts configured in mail-mcp — works with any provider (Gmail, Outlook, custom domains).

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.4.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds useful scope context — only accounts already configured in this server, provider-agnostic — but says nothing about what is returned per account (address, host, credentials?) or how an empty list behaves.

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 sentence with the core action front-loaded and a clarifying aside on provider coverage; nothing is wasted or buried.

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

Completeness4/5

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

For a zero-param read-only list tool with annotations and no output schema, the description covers the essential what and scope. The only gap is that it does not hint at the return shape (e.g., account identifiers an agent needs to pass to list_emails or list_folders), which matters for chaining.

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 tool takes zero parameters, which is the baseline-4 case: there is no parameter meaning for the description to compensate for, and the schema is trivially complete.

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?

The description gives a specific verb+resource ('List IMAP mail accounts configured in mail-mcp') and scopes it to configured accounts, which separates it from the mutation-oriented sibling register_oauth2_account. It stops short of naming a sibling or explicitly stating what it is not, so it is clear but not fully differentiated.

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?

Usage is only implied: an agent can infer this is the discovery call to run before account-scoped operations, but the description never says when to use it, when not to, or that register_oauth2_account is the path for adding an account. No prerequisites or follow-up calls are mentioned.

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