Skip to main content
Glama

list_available_accounts

Retrieve all configured email accounts with masked credentials to manage email services and automate workflows.

Instructions

List all configured email accounts with masked credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'list_available_accounts' tool. It is decorated with @mcp.tool, which also serves as the registration. It retrieves the settings and returns a list of masked AccountAttributes for all configured email accounts.
    @mcp.tool(description="List all configured email accounts with masked credentials.") async def list_available_accounts() -> list[AccountAttributes]: settings = get_settings() return [account.masked() for account in settings.get_accounts()]

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

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