Skip to main content
Glama

List authorized mailboxes

list_mailboxes
Read-onlyIdempotent

Start here when the user asks about their email: list the inboxes this AI may read.

    Covers Gmail, Outlook/Microsoft 365, QQ Mail, 163, Exmail and other IMAP mailboxes the owner ticked
    for this connection. Requires email:read. Returns a mailboxes array with IDs, addresses, providers and
    sync status; use its IDs in later calls. Does not connect mailboxes or enable collection. Never
    returns credentials. An empty list comes with owner_actions explaining what the owner can do.
    Also returns plan: the owner's plan name, connected_mailboxes on the whole account, mailbox_limit
    (a number, or "unlimited (fair use)" on Pro) and add_mailbox_url, the dashboard page for adding a
    mailbox. Mention the limit only when the user asks to add or connect another mailbox, or asks about
    a mailbox this connection cannot see; then point to add_mailbox_url.
    

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the required scope (email:read), the shape of the return (mailboxes array with IDs, addresses, providers, sync status), the empty-result behavior (owner_actions included), and a security guarantee ('Never returns credentials'). That is substantial behavioral context the annotations cannot express.

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?

Front-loaded with the purpose and the 'start here' directive, and each subsequent sentence carries operational information. It runs slightly long with the plan/limit detail, but that block is scoped with an explicit condition for when to surface it, so little is wasted.

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?

There is no output schema, so the description must explain return values, and it does so thoroughly (mailboxes array fields, owner_actions on empty, plan metadata, URL field). For a zero-parameter, read-only listing tool this leaves no meaningful gap for an agent to call it correctly.

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 there is nothing for the description to disambiguate; the baseline for a zero-parameter tool applies. The description instead documents return-side semantics (plan, connected_mailboxes, mailbox_limit, add_mailbox_url), which is useful but not parameter guidance.

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?

States a specific verb and resource ('list the inboxes this AI may read') and frames itself as the entry point ('Start here when the user asks about their email'), which cleanly separates it from read/search siblings. It also names the providers covered, so the agent knows the scope of the result set.

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?

Gives explicit when-to-use ('start here'), an explicit when-not ('Does not connect mailboxes or enable collection'), and instructions on follow-up behavior (use the returned IDs in later calls; mention mailbox_limit only when the user asks to add a mailbox, then point to add_mailbox_url). These are actionable routing rules rather than vague hints.

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.