Skip to main content
Glama
pkforge

multi-mailbox-gmail

by pkforge

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MULTI_MAILBOX_GMAIL_OAUTH_CLIENT_FILENoPath to the downloaded Google Desktop OAuth client JSON file. Organizations that prefer their own Google Cloud project can set this environment variable instead of passing the path to the CLI.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_mailboxesA

List connected Gmail mailbox aliases. Use this when an alias is unknown or the user asks which mailboxes are available.

connect_mailboxA

Connect a Gmail or Google Workspace account under a friendly alias. This opens Google sign-in in the user's browser and stores the resulting refresh token only on this computer.

disconnect_mailboxA

Delete one mailbox alias and its encrypted OAuth token from this computer. This does not revoke the grant in the Google Account.

search_mailboxesA

Search multiple named Gmail or Google Workspace mailboxes in parallel. Convert chat mentions such as @personal and @work into the mailboxes array without the @ prefix. The query uses normal Gmail search syntax.

search_all_mailboxesA

Search all connected Gmail and Google Workspace mailboxes in parallel using normal Gmail search syntax.

read_emailA

Read a Gmail message returned by a mailbox search. Always pass both its source mailbox alias and message ID.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have clearly distinct purposes: mailbox lifecycle management, searching, and reading. The only potential confusion is between search_all_mailboxes and search_mailboxes, but their names and descriptions clarify that one searches all and the other searches named mailboxes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: list_, connect_, disconnect_, search_, read_. The qualifiers such as all and mailboxes are applied uniformly, making the naming predictable and easy to follow.

Tool Count5/5

Six tools is well-scoped for a multi-mailbox Gmail server. Each tool earns its place by covering mailbox management, searching, and reading without unnecessary redundancy.

Completeness4/5

The core lifecycle and retrieval workflows are covered: connect, list, disconnect, search, and read. Missing capabilities like sending or modifying messages are not required by the apparent purpose, but a small gap exists for agents that need more than read-only access.

Maintenance

ActivityMaintained
ResponsivenessSyncing