Google Workspace MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level (e.g., DEBUG, INFO, WARNING, ERROR). | INFO |
| GOOGLE_TOKEN_PATH | Yes | Path to the stored OAuth token JSON file. | |
| GOOGLE_CREDENTIALS_PATH | Yes | Path to the Google OAuth credentials JSON file. |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| draft_emailA | Create a new email draft in Gmail. Args: to: Recipient email address (comma-separated for multiple recipients). subject: Email subject line. body: Email body content. cc: CC recipients (comma-separated, optional). bcc: BCC recipients (comma-separated, optional). body_type: Content type — "plain" for plain text or "html" for HTML content. Returns: Draft ID, message ID, and a summary of the created draft. |
| update_email_draftA | Update an existing email draft in Gmail. Only provide the fields you want to change — unchanged fields will be preserved from the original draft. Args: draft_id: The ID of the draft to update. to: New recipient(s), or leave empty to keep existing. subject: New subject, or leave empty to keep existing. body: New body content, or leave empty to keep existing. cc: New CC recipients, or leave empty to keep existing. bcc: New BCC recipients, or leave empty to keep existing. body_type: Content type — "plain" or "html". Returns: Updated draft details or error information. |
| send_new_emailA | Send an email directly via Gmail. This sends the email immediately without creating a draft first. Args: to: Recipient email address (comma-separated for multiple recipients). subject: Email subject line. body: Email body content. cc: CC recipients (comma-separated, optional). bcc: BCC recipients (comma-separated, optional). body_type: Content type — "plain" for plain text or "html" for HTML content. Returns: Sent message ID and thread details, or error information. |
| send_existing_draftB | Send an existing email draft via Gmail. Args: draft_id: The ID of the draft to send. Returns: Sent message details or error information. |
| get_email_draftB | Retrieve an existing email draft from Gmail. Args: draft_id: The ID of the draft to retrieve. Returns: Draft details including headers, snippet, and IDs. |
| create_google_docA | Create a new Google Document. Args: title: The title of the new document. content: Optional initial text content to add to the document body. Returns: Document ID, title, and URL on success, or error details on failure. |
| read_google_docA | Read the full content of a Google Document. Extracts all text content from the document, preserving paragraph structure. Args: document_id: The ID of the Google Document to read (found in the document URL). Returns: Document ID, title, full text content, and URL. |
| append_to_google_docA | Append content to the end of an existing Google Document. The content is added after the existing text without overwriting anything. Args: document_id: The ID of the Google Document to append to. content: The text content to append to the document. Returns: Document ID, title, number of characters appended, and URL. |
| get_google_doc_metadataA | Get metadata for a Google Document. Retrieves the document's title, revision ID, URL, and page size without reading the full content. Args: document_id: The ID of the Google Document. Returns: Document metadata including title, revision, and URL. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/risvan1605/MCP-Server---Gmail-and-Doc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server