Skip to main content
Glama

list_mail_accounts

Read-onlyIdempotent

List the current user's connected and explicitly shared email accounts. Each address identifies the connected account, not every address that can receive mail there: aliases, custom-domain addresses and forwarded recipients may differ. An address missing from this list does not prove that its messages are unavailable. To find mail addressed to it, search across connected mailboxes with search_emails using the to filter and inspect message recipients, subject to search coverage and folder limits. list_sender_identities lists approved From addresses, not all inbound recipients. Entries may include canSend and sendUnavailableReason; smtp_auth_rejected means Outlook receiving is available while SMTP sending is unavailable. Every send action rechecks mailbox and sender authorization.

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_mail_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses that addresses represent connected accounts rather than all deliverable recipients (aliases, custom domains, forwards), that absence is not proof of unavailability, and that entries may carry canSend and sendUnavailableReason with smtp_auth_rejected meaning receive-only. This is meaningful behavioral context the annotations do not supply.

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?

The core purpose is front-loaded in the first sentence, followed by caveats about address coverage and a routing pointer to search_emails. Five sentences is a bit long for a zero-parameter list tool, and the closing note that send actions recheck authorization is only loosely tied to the listing purpose.

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

Completeness5/5

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

With no output schema, the description correctly carries the burden of describing return content: account addresses, optional canSend, and sendUnavailableReason with its smtp_auth_rejected interpretation. Combined with the coverage caveats, an agent has enough to call the tool and interpret the results.

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 no parameters, so the schema carries no semantic burden and the baseline is 4. The description goes further by explaining the meaning of returned fields such as canSend and sendUnavailableReason, though that is return-value semantics rather than parameter semantics.

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 opening sentence gives a specific verb and resource: 'List the current user's connected and explicitly shared email accounts.' It also separates this tool from adjacent ones by naming list_sender_identities as the approved From-address list, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

The description explicitly routes the agent: an address missing from this list does not mean its mail is unavailable, and to find mail addressed to it the agent should use search_emails with the 'to' filter. It also states the exclusion that list_sender_identities covers approved From addresses, not inbound recipients, giving both alternatives and conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources