Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoCan be used as alternative to GAM_MCP_ENV.
GAM_MCP_ENVNoEnvironment mode.
GAM_MCP_CONFIGNoPath to a config file.
GAM_MCP_LOG_LEVELNoLog level.
GAM_MCP_READ_ONLYNoSet to '1'/'true'/'yes' to enable read-only mode.
GAM_MCP_OUTPUT_DIRNoAllowlist root for tool I/O. Defaults to cwd.
GAM_MCP_CREDENTIALSNoPath to the service-account JSON key file.
GOOGLE_APPLICATION_CREDENTIALSNoStandard GCP env var for service account key path.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gam_admin_create_userA

Creates a new user account in the Google Workspace directory. If password is omitted on a non-dry-run, a secure random password is generated and returned ONCE in the response.

gam_admin_update_ouA

Moves a user to a different OU or re-parents an OU. The caller MUST set targetType explicitly.

gam_admin_sync_group_membersA

Synchronizes a Google Group's membership against a target list, adding/removing concurrently.

gam_admin_print_usersB

Lists user profiles, paginating until exhaustion (capped at MAX_PAGES_LIMIT pages).

gam_admin_print_groupsA

Lists groups, paginating until exhaustion (capped at MAX_PAGES_LIMIT pages).

gam_admin_print_group_membersB

Lists active members of a group, paginating until exhaustion.

gam_gmail_search_messagesB

Searches a mailbox and returns metadata + snippets. The mailbox owner (userEmail) is the DWD impersonation subject.

gam_gmail_get_messageA

Fetches details of a single email including recursively decoded body content.

gam_gmail_bulk_deleteA

Purges emails matching a query in bulk. Defaults to dry-run with samples.

gam_drive_list_filesC

Lists Drive file metadata matching a server-side query.

gam_drive_audit_permissionsC

Memory-safe Drive permissions audit. Streams results to a local file under GAM_MCP_OUTPUT_DIR (or cwd if unset).

gam_export_audit_to_sheetsB

Streams a local CSV audit to a Google Sheet tab in safe 2000-row chunks. CSV path must live under GAM_MCP_OUTPUT_DIR.

gam_read_admin_sheetC

Reads a worksheet range to feed administrative execution scripts.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/undeadindustries/gam-mcp'

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