Google Workspace MCP Server
v0.5.067 curated MCP tools for Google Workspace: Gmail, Calendar, Drive, Sheets, Docs, Slides, Tasks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
drive_files_list
List files in Google Drive. Supports search queries via the 'q' parameter. Shared drive files are included automatically.
| Parameter | Type | Description |
|---|---|---|
fields | string | Fields to include (e.g. "files(id,name,mimeType)") |
orderBy | string | Sort order (e.g. "modifiedTime desc") |
pageSize | number | Max results per page (1-1000, default 100) |
q | string | Search query (e.g. "name contains 'report'" or "mimeType='application/vnd.google-apps.folder'") |
drive_files_get
Get a file's metadata by ID. Shared drive files are supported automatically.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file ID |
fields | string | Fields to include |
drive_files_create
Create a new file in Google Drive. Use with bodyParams for metadata and optionally upload a local file.
| Parameter | Type | Description |
|---|---|---|
name * | string | File name |
fields | string | Fields to return (e.g. "id,webViewLink") |
mimeType | string | MIME type (e.g. "application/vnd.google-apps.document") |
parents | string | Parent folder IDs (JSON array as string, e.g. '["folderId"]') |
uploadPath | string | Local file path to upload |
drive_files_copy
Copy a file. Useful for converting formats (e.g. markdown to Google Doc).
| Parameter | Type | Description |
|---|---|---|
fileId * | string | Source file ID to copy |
name * | string | Name for the copy |
fields | string | Fields to return |
mimeType | string | Target MIME type for conversion |
parents | string | Parent folder IDs (JSON array as string) |
drive_files_update
Update a file's metadata or content.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file ID to update |
fields | string | Fields to return |
mimeType | string | New MIME type |
name | string | New file name |
uploadPath | string | Local file path to upload |
drive_files_delete
Permanently delete a file.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file ID to delete |
drive_files_export
Export a Google Workspace file (Doc, Sheet, Slide) to a specific format. Returns JSON with export metadata. Use drive_files_download for automatic export with content returned inline.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The Google Workspace file ID to export |
mimeType * | string | Export format: text/plain, text/csv, application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx), application/vnd.openxmlformats-officedocument.spreadsheetml.sheet… |
drive_permissions_create
Share a file by creating a permission.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file ID to share |
role * | string | Permission role: owner, organizer, fileOrganizer, writer, commenter, reader |
type * | string | Grantee type: user, group, domain, anyone |
emailAddress | string | Email of user/group (required for user/group type) |
drive_permissions_list
List all permissions on a file. Use to audit sharing state — e.g. a permission with type "anyone" means the file is publicly accessible; there is no separate is-public field. Pass fields (e.g. "permissions(id,type,role,emailAddress,domain)") to identify grantees — the default response omits emailAddress/domain.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file to list permissions for |
fields | string | Fields to include (e.g. "permissions(id,type,role,emailAddress,domain)") |
pageSize | number | Max permissions to return |
pageToken | string | Page token from a previous call |
drive_permissions_update
Change an existing permission's role on a file (e.g. reader to writer). Can remove capabilities by downgrading a role. Ownership transfers are not supported. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file the permission belongs to |
permissionId * | string | The permission to update (get it from drive_permissions_list) |
role * | string | New non-owner role |
fields | string | Fields to return (e.g. "id,role,type,emailAddress") |
drive_permissions_delete
Revoke a permission from a file, removing that user's/group's/domain's access. Per the Drive API: concurrent permissions operations on the same file aren't supported, only the last update is applied.
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file the permission belongs to |
permissionId * | string | The permission to revoke (get it from drive_permissions_list) |
drive_comments_list
List comments on a file.
| Parameter | Type | Description |
|---|---|---|
fields * | string | Fields to include (required by the API for this resource, e.g. "comments(id,content,author,resolved),nextPageToken") |
fileId * | string | The file to list comments for |
includeDeleted | boolean | Whether to include deleted comments (they have no content) |
pageSize | number | Max comments to return (default 20) |
pageToken | string | Page token from a previous call |
startModifiedTime | string | Only return comments modified at or after this time (RFC 3339) |
drive_comments_get
Get a single comment on a file.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to retrieve |
fields * | string | Fields to include (required by the API for this resource, e.g. "id,content,author,resolved,replies") |
fileId * | string | The file the comment belongs to |
includeDeleted | boolean | Whether to return the comment if it has been deleted (it will have no content) |
drive_comments_create
Add a comment to a file. Set anchor to bind it to an app-defined region — Drive stores this as an opaque JSON string you define yourself, and does not validate or interpret it. Google Workspace editor apps (Docs/Sheets/Slides) still display comments created this way as unanchored; use the Docs/Sheets/Slides APIs directly if visual anchoring in those editors matters.
| Parameter | Type | Description |
|---|---|---|
content * | string | Comment text |
fields * | string | Fields to include in the response (required by the API for this resource, e.g. "id,content,createdTime") |
fileId * | string | The file to comment on |
anchor | string | App-defined region JSON string, optional (e.g. '{"line":10}') |
drive_comments_update
Change the text of an existing comment. This overwrites the comment's content; the previous text is not retained. Only the comment's own author can update it — the API rejects the request otherwise. The resolved state can't be changed here: see drive_replies_create's action field.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to update |
content * | string | New comment text |
fields * | string | Fields to include in the response (required by the API for this resource, e.g. "id,content,modifiedTime") |
fileId * | string | The file the comment belongs to |
drive_comments_delete
Permanently delete a comment. Only the comment's own author can delete it — the API rejects the request otherwise.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to delete |
fileId * | string | The file the comment belongs to |
drive_replies_list
List replies to a comment.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to list replies for |
fileId * | string | The file the comment belongs to |
fields | string | Fields to include (e.g. "replies(id,content,action),nextPageToken") |
includeDeleted | boolean | Whether to include deleted replies (they have no content) |
pageSize | number | Max replies to return (default 20) |
pageToken | string | Page token from a previous call |
drive_replies_get
Get a single reply to a comment.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The parent comment |
fileId * | string | The file the comment belongs to |
replyId * | string | The reply to retrieve |
fields | string | Fields to include (e.g. "id,content,action") |
includeDeleted | boolean | Whether to return the reply if it has been deleted (it will have no content) |
drive_replies_create
Add a reply to a comment, or resolve/reopen it — a comment can only be resolved or reopened by posting a reply with action set. content is required unless action is set; combine both to leave closing/reopening text. Setting action changes the parent comment's resolved field, but resolving is advisory only: the API keeps accepting further replies and doesn't hide anything itself, it's on the client to act on resolved being true (e.g. hide or dim the thread).
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment to reply to |
fileId * | string | The file the comment belongs to |
action | string | Set to change the parent comment's resolved state instead of (or alongside) replying with text |
content | string | Reply text. Required if action is not set |
fields | string | Fields to include (e.g. "id,content,action") |
drive_replies_update
Change the text of an existing reply. This overwrites the reply's content; the previous text is not retained. Only the reply's own author can update it — the API rejects the request otherwise. Does not support changing action — use drive_replies_create to resolve/reopen.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The parent comment |
content * | string | New reply text |
fileId * | string | The file the comment belongs to |
replyId * | string | The reply to update |
fields | string | Fields to include (e.g. "id,content,modifiedTime") |
drive_replies_delete
Permanently delete a reply. Only the reply's own author can delete it — the API rejects the request otherwise.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The parent comment |
fileId * | string | The file the comment belongs to |
replyId * | string | The reply to delete |
sheets_get
Get spreadsheet metadata.
| Parameter | Type | Description |
|---|---|---|
spreadsheetId * | string | The spreadsheet ID |
includeGridData | boolean | Include grid data |
sheets_values_get
Read values from a spreadsheet range.
| Parameter | Type | Description |
|---|---|---|
range * | string | A1 notation range (e.g. "Sheet1!A1:D10") |
spreadsheetId * | string | The spreadsheet ID |
majorDimension | string | ROWS or COLUMNS |
valueRenderOption | string | FORMATTED_VALUE, UNFORMATTED_VALUE, or FORMULA |
sheets_values_update
Write values to a spreadsheet range.
| Parameter | Type | Description |
|---|---|---|
range * | string | A1 notation range to write |
spreadsheetId * | string | The spreadsheet ID |
valueInputOption * | string | RAW or USER_ENTERED |
values * | string | 2D array of values as JSON string (e.g. '[["A","B"],["C","D"]]') |
sheets_values_append
Append values after the last row of a spreadsheet range.
| Parameter | Type | Description |
|---|---|---|
range * | string | A1 notation range to append to |
spreadsheetId * | string | The spreadsheet ID |
valueInputOption * | string | RAW or USER_ENTERED |
values * | string | 2D array of values as JSON string |
sheets_batchUpdate
Apply updates to a spreadsheet (conditional formatting, cell/border formatting, adding sheets, and more). Can also permanently delete content — e.g. removing a sheet or a conditional formatting rule — with no undo via the API.
| Parameter | Type | Description |
|---|---|---|
requests * | string | Array of update requests as JSON string |
spreadsheetId * | string | The spreadsheet ID |
calendar_events_list
List events from a calendar.
| Parameter | Type | Description |
|---|---|---|
calendarId * | string | Calendar ID (use 'primary' for main calendar) |
maxResults | number | Max events to return |
orderBy | string | Sort order: startTime or updated |
q | string | Free-text search |
singleEvents | boolean | Expand recurring events (usually true) |
timeMax | string | Upper bound (RFC3339) |
timeMin | string | Lower bound (RFC3339, e.g. "2026-03-07T00:00:00Z") |
calendar_events_get
Get a single calendar event by ID.
| Parameter | Type | Description |
|---|---|---|
calendarId * | string | Calendar ID |
eventId * | string | Event ID |
calendar_events_insert
Create a new calendar event.
| Parameter | Type | Description |
|---|---|---|
calendarId * | string | Calendar ID |
end * | string | End time JSON |
start * | string | Start time JSON (e.g. '{"dateTime":"2026-03-10T10:00:00-07:00"}') |
summary * | string | Event title |
attendees | string | Attendees (JSON array as string, e.g. '[{"email":"a@x.com"},{"email":"b@x.com","optional":true}]') |
description | string | Event description |
location | string | Event location |
sendUpdates | string | Sends invitation email to attendees when set: "all", "externalOnly", or "none" (default: none — no email, though the event may still appear on an attendee's calendar depending on their settings) |
calendar_events_update
Update an existing calendar event with patch semantics (only supplied fields change).
| Parameter | Type | Description |
|---|---|---|
calendarId * | string | Calendar ID |
eventId * | string | Event ID to update |
attendees | string | REPLACES the full attendee list — Google's patch overwrites array fields, so include everyone who should remain; anyone omitted is uninvited. JSON array as string, e.g. '[{"email":"a@x.com"},{"email… |
description | string | Event description |
end | string | End time JSON |
sendUpdates | string | Sends update email to attendees when set: "all", "externalOnly", or "none" (default: none — no email). With "all" or "externalOnly", attendees removed by this update receive a cancellation email |
start | string | Start time JSON |
summary | string | Event title |
calendar_events_delete
Delete a calendar event.
| Parameter | Type | Description |
|---|---|---|
calendarId * | string | Calendar ID |
eventId * | string | Event ID to delete |
calendar_freebusy_query
Query free/busy information for one or more calendars over a time range.
| Parameter | Type | Description |
|---|---|---|
items * | string | Calendars/groups to query, as JSON array string, e.g. '[{"id":"primary"}]' |
timeMax * | string | End of the interval, RFC3339 timestamp |
timeMin * | string | Start of the interval, RFC3339 timestamp (e.g. "2026-03-10T00:00:00Z") |
timeZone | string | IANA time zone for the response (e.g. "America/Los_Angeles") |
docs_get
Get a Google Doc's content and metadata.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | The document ID |
docs_create
Create a new empty Google Doc.
| Parameter | Type | Description |
|---|---|---|
title * | string | Document title |
docs_batchUpdate
Apply updates to a Google Doc (insert, format, replace, or permanently delete content).
| Parameter | Type | Description |
|---|---|---|
documentId * | string | The document ID |
requests * | string | Array of update requests as JSON string |
slides_get
Get a presentation's slides, layouts, masters, and page elements.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | The presentation ID |
slides_create
Create a new blank presentation.
| Parameter | Type | Description |
|---|---|---|
title * | string | Presentation title |
slides_batchUpdate
Apply updates to a presentation (insert/update/delete slides, text, shapes, tables, etc). Delete requests in a batch are permanent — the API has no undo.
| Parameter | Type | Description |
|---|---|---|
presentationId * | string | The presentation ID |
requests * | string | Array of update requests as JSON string |
slides_pages_get
Get a single page (slide, layout, or master) from a presentation.
| Parameter | Type | Description |
|---|---|---|
pageObjectId * | string | The object ID of the page (slide, layout, or master) to retrieve |
presentationId * | string | The presentation ID |
slides_pages_getThumbnail
Get a thumbnail image URL for a page (slide, layout, or master).
| Parameter | Type | Description |
|---|---|---|
pageObjectId * | string | The object ID of the page to render |
presentationId * | string | The presentation ID |
thumbnailProperties.mimeType | string | Thumbnail image format (PNG is the only supported value) |
thumbnailProperties.thumbnailSize | string | Thumbnail size: THUMBNAIL_SIZE_UNSPECIFIED, LARGE, MEDIUM, SMALL, or WIDTH2000_PX |
gmail_messages_list
List Gmail messages matching a query.
| Parameter | Type | Description |
|---|---|---|
userId * | string | User ID (use 'me') |
labelIds | string | Label IDs to filter by |
maxResults | number | Max messages to return |
q | string | Gmail search query (e.g. "from:user@example.com subject:hello") |
gmail_messages_get
Get a single Gmail message by ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | Message ID |
userId * | string | User ID (use 'me') |
format | string | Response format: full, metadata, minimal, raw |
gmail_threads_list
List Gmail threads matching a query.
| Parameter | Type | Description |
|---|---|---|
userId * | string | User ID (use 'me') |
maxResults | number | Max threads to return |
q | string | Gmail search query |
gmail_threads_get
Get a full Gmail thread by ID (all messages in the conversation).
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread ID |
userId * | string | User ID (use 'me') |
format | string | Response format: full, metadata, minimal |
gmail_threads_modify
Modify a Gmail thread: add/remove labels. To archive, remove INBOX. To mark read, remove UNREAD. To star, add STARRED.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread ID |
userId * | string | User ID (use 'me') |
addLabelIds | string | JSON array of label IDs to add, e.g. ["STARRED"] |
removeLabelIds | string | JSON array of label IDs to remove, e.g. ["INBOX","UNREAD"] |
tasks_tasklists_list
List the authenticated user's task lists.
| Parameter | Type | Description |
|---|---|---|
maxResults | number | Max task lists per page (1-100, default 20) |
pageToken | string | Token for the next page of results |
tasks_tasklists_get
Get a task list by ID.
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID (use "@default" for the user's default list) |
tasks_tasklists_insert
Create a new task list.
| Parameter | Type | Description |
|---|---|---|
title * | string | Task list title |
tasks_tasklists_update
Update a task list (only supplied fields change).
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID to update |
title | string | New task list title |
tasks_tasklists_delete
Delete a task list. If it contains assigned tasks, the originals (in Docs/Chat Spaces) are also removed.
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID to delete |
tasks_tasks_list
List tasks in a task list. Excludes hidden and assigned tasks by default; set showHidden/showAssigned to include them.
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID (use "@default" for the default list) |
completedMax | string | Upper bound on completion date (RFC 3339) |
completedMin | string | Lower bound on completion date (RFC 3339) |
dueMax | string | Upper bound on due date (RFC 3339) |
dueMin | string | Lower bound on due date (RFC 3339) |
maxResults | number | Max tasks per page (1-100, default 20) |
pageToken | string | Token for the next page of results |
showAssigned | boolean | Include tasks assigned from Docs/Chat Spaces |
showCompleted | boolean | Include completed tasks (default true; ignored unless showHidden is also true) |
showDeleted | boolean | Include deleted tasks |
showHidden | boolean | Include hidden (cleared) tasks |
updatedMin | string | Lower bound on last-modified time (RFC 3339) |
tasks_tasks_get
Get a task by ID.
| Parameter | Type | Description |
|---|---|---|
task * | string | Task ID |
tasklist * | string | Task list ID |
tasks_tasks_insert
Create a new task. Use parent to nest as a subtask, previous to position after a sibling.
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID to insert into |
title * | string | Task title |
due | string | Due date (RFC 3339, e.g. "2026-06-01T00:00:00.000Z") |
notes | string | Free-text notes / body |
parent | string | Parent task ID (insert as a subtask under this task) |
previous | string | Sibling task ID (insert immediately after this task) |
status | string | Task status: needsAction or completed |
tasks_tasks_update
Update a task (only supplied fields change). Common use: complete a task by setting status to "completed".
| Parameter | Type | Description |
|---|---|---|
task * | string | Task ID to update |
tasklist * | string | Task list ID |
due | string | Due date (RFC 3339) |
notes | string | Free-text notes / body |
status | string | Task status: needsAction or completed |
title | string | Task title |
tasks_tasks_move
Move a task within its list or to another list. Use parent/previous to set position; destinationTasklist to change list.
| Parameter | Type | Description |
|---|---|---|
task * | string | Task ID to move |
tasklist * | string | Source task list ID |
destinationTasklist | string | Destination task list ID (omit to move within the source list) |
parent | string | New parent task ID (move as subtask under this task) |
previous | string | New sibling task ID (move immediately after this task) |
tasks_tasks_delete
Delete a task. If assigned from Docs/Chat Spaces, the original is also removed.
| Parameter | Type | Description |
|---|---|---|
task * | string | Task ID to delete |
tasklist * | string | Task list ID |
tasks_tasks_clear
Hide all completed tasks in a list. Cleared tasks are not deleted but stop appearing in default list responses.
| Parameter | Type | Description |
|---|---|---|
tasklist * | string | Task list ID to clear |
drive_files_download
Download a file's content from Google Drive. Returns the text content for text files, or a base64-encoded string for binary files. For Google Docs/Sheets/Slides, exports to a readable format (plain text by default).
| Parameter | Type | Description |
|---|---|---|
fileId * | string | The file ID to download |
exportMimeType | string | For Google-native files (Docs/Sheets/Slides): export format. Defaults to text/plain for Docs, text/csv for Sheets. Examples: text/plain, text/csv, application/pdf |
savePath | string | For binary files (images, PDFs): save to this local path instead of returning content inline. The file path is returned in the response. |
gmail_drafts_create
Create a Gmail draft. Pass threadId to attach the draft to an existing conversation (it will appear as a reply within that thread). The draft is NOT sent — open Gmail to review and send.
| Parameter | Type | Description |
|---|---|---|
to * | string | Recipient(s). Comma-separated for multiple, e.g. "a@x.com, b@y.com" |
bcc | string | BCC recipient(s), comma-separated |
body | string | Plain-text body |
cc | string | CC recipient(s), comma-separated |
htmlBody | string | HTML body. If both body and htmlBody are provided, the draft is multipart/alternative. |
inReplyTo | string | Message-ID header value of the message being replied to. Improves threading robustness alongside threadId. |
references | string | References header value (space-separated Message-IDs of ancestor messages). |
subject | string | Subject line. When attaching to a thread via threadId, Gmail expects the subject to match the thread (typically "Re: <original>"). |
threadId | string | Thread ID to attach this draft to. Get it from gmail_threads_list / gmail_messages_get. |
drive_permissions_transferOwnership
Immediately transfer ownership of a file to another Google Workspace account in the SAME organization. The current owner is downgraded to writer as soon as this call succeeds — there is no separate acceptance step — and Google sends the new owner a notification email that cannot be disabled. Only works for files in "My Drive"; not supported for files in a shared drive, since the organization owns those, not an individual. For a transfer between personal/consumer Google accounts, use drive_permissions_proposeOwnershipTransfer instead, which requires the recipient's separate acceptance and d…
| Parameter | Type | Description |
|---|---|---|
emailAddress * | string | Email address of the new owner, in the same Workspace organization |
fileId * | string | The file to transfer (must be in "My Drive", not a shared drive) |
fields | string | Fields to return (e.g. "id,role,type,emailAddress") |
moveToNewOwnersRoot | boolean | If true, moves the file to the new owner's My Drive root and removes prior parents |
drive_permissions_proposeOwnershipTransfer
Propose transferring ownership of a file between personal/consumer Google accounts (use drive_permissions_transferOwnership instead for a same-organization Workspace transfer, which completes immediately). Google Workspace ownership cannot be transferred to an account outside the organization. This does NOT transfer ownership by itself: it sets role=writer + pendingOwner=true, and the prospective owner must separately accept by setting role=owner + transferOwnership=true on their own permission, under their own credentials. Google sends the recipient a notification email that cannot be disable…
| Parameter | Type | Description |
|---|---|---|
emailAddress * | string | Email address of the prospective new owner (an individual user) |
fileId * | string | The file to propose transferring |
fields | string | Fields to return (e.g. "id,role,type,pendingOwner") |