Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOKEN_ENC_KEYYesBase64-encoded 32-byte key used to encrypt tokens.enc with AES-256-GCM. Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('base64'))". If lost, delete tokens.enc and re-run auth.
GOOGLE_CLIENT_IDYesOAuth client ID from the Google Cloud Console (Desktop app OAuth client).
GOOGLE_CLIENT_SECRETYesOAuth client secret from the Google Cloud Console (Desktop app OAuth client).

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_accountsA

List configured Google accounts and whether each is authorized (has a stored refresh token).

gmail_searchB

Search Gmail for an account using Gmail query syntax (e.g. 'from:boss is:unread newer_than:7d').

gmail_get_threadB

Fetch a full Gmail thread (all messages, headers, and plain-text bodies).

gmail_create_draftA

Create a Gmail draft (does NOT send it).

drive_searchB

Search Google Drive for an account by file name / full-text content.

drive_read_fileA

Read a Drive file's content (Google Docs/Sheets/Slides are exported to text). Binary or oversized files return metadata only.

drive_list_recentB

List the most recently modified Drive files for an account.

calendar_list_eventsA

List primary-calendar events for an account within an optional time window.

calendar_create_eventC

Create an event on an account's primary calendar.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation5/5

Each tool targets a distinct service+action combination, with drive_, gmail_, and calendar_ prefixes making service boundaries explicit. The closest pairs (drive_search vs drive_read_file, gmail_search vs gmail_get_thread) are clearly differentiated by whether they locate versus retrieve content.

Naming Consistency4/5

Tools follow a predictable service_action_object snake_case pattern (drive_read_file, gmail_create_draft, calendar_list_events). The lone outlier is list_accounts, which omits a service prefix despite being account-scoped, but this is a minor deviation.

Tool Count4/5

Nine tools covering three Google services plus account discovery is a lean, well-scoped set with no redundant entries. It is slightly under-provisioned for the breadth of the Drive/Gmail/Calendar surface, but every tool earns its place.

Completeness3/5

Core read paths are covered plus two write operations (draft creation, event creation), but there is no Gmail send, no calendar update/delete, and Drive is entirely read-only with no upload or modify capability. These are notable gaps that would block common agent workflows.