Google Workspace (headless, service-account auth)

v1.0.0
io.github.holms/google-workspace-headless-mcp Checked 4 days ago Published 6 days ago

56 Google Workspace tools.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_calendars List Calendars

List all calendars accessible to the user.

list_calendar_events List Calendar Events

List upcoming calendar events for the specified calendar.

ParameterTypeDescription
calendar_idstring
max_resultsinteger

create_calendar_event Create Calendar Event

Create a new calendar event. Times must be ISO-8601 (e.g. 2026-09-08T15:00:00Z).

ParameterTypeDescription
end_iso *string
start_iso *string
summary *string
calendar_idstring
descriptionstring

update_calendar_event Update Calendar Event

Update an existing calendar event. Only provided fields will be updated.

ParameterTypeDescription
event_id *string
calendar_idstring
descriptionstring
end_isostring
start_isostring
summarystring

delete_calendar_event Delete Calendar Event

Delete a calendar event by ID.

ParameterTypeDescription
event_id *string
calendar_idstring

search_calendar_events Search Calendar Events

Search calendar events by text (e.g. 'team sync', 'dentist').

ParameterTypeDescription
query *string
calendar_idstring
max_resultsinteger

get_free_busy Get Free Busy

Check free/busy status for one or more calendars. Times must be ISO-8601.

ParameterTypeDescription
time_max_iso *string
time_min_iso *string
calendar_idsarray

list_gmail_labels List Gmail Labels

List all Gmail labels for the user.

search_gmail Search Gmail

Search Gmail messages. Uses Gmail search syntax (e.g. 'from:someone@example.com subject:report newer_than:7d').

ParameterTypeDescription
query *string
max_resultsinteger

read_gmail_message Read Gmail Message

Read a full Gmail message by ID, including body text.

ParameterTypeDescription
message_id *string

list_gmail_attachments List Gmail Attachments

List attachments of a Gmail message (filename, mime type, size). Does not download.

ParameterTypeDescription
message_id *string

download_gmail_attachments Download Gmail Attachments

Download attachments from a Gmail message to a local directory (default ~/Downloads). If filename is given, only that attachment is saved. Returns saved file paths.

ParameterTypeDescription
message_id *string
filenamestring
save_dirstring

send_gmail Send Gmail

Send an email. Recipients should be comma-separated. Optional attachment_paths is a list of local file paths to attach. Optional from_email specifies a 'Send mail as' alias configured in Gmail (e.g. 'otaku@otaku.lt'). The signature for the from_email alias is automatically appended.

ParameterTypeDescription
body *string
subject *string
to *string
attachment_paths
ccstring
from_emailstring

reply_to_gmail Reply To Gmail

Reply to an existing Gmail thread. Optional attachment_paths is a list of local file paths to attach. Optional from_email specifies a 'Send mail as' alias. The signature for the from_email alias is automatically appended.

ParameterTypeDescription
body *string
thread_id *string
attachment_paths
from_emailstring

create_gmail_draft Create Gmail Draft

Create a Gmail draft (not sent). Optional attachment_paths is a list of local file paths to attach. Optional from_email specifies a 'Send mail as' alias. The signature for the from_email alias is automatically appended.

ParameterTypeDescription
body *string
subject *string
to *string
attachment_paths
from_emailstring

mark_gmail_read Mark Gmail Read

Mark a Gmail message as read.

ParameterTypeDescription
message_id *string

mark_gmail_unread Mark Gmail Unread

Mark a Gmail message as unread.

ParameterTypeDescription
message_id *string

delete_gmail_message Delete Gmail Message

Delete (trash) a Gmail message.

ParameterTypeDescription
message_id *string

search_drive_files Search Drive Files

Search or list files in Google Drive. Example queries: "name contains 'Invoice'" or "mimeType = 'application/vnd.google-apps.document'".

ParameterTypeDescription
page_sizeinteger
querystring

read_drive_file Read Drive File

Read a file's content from Google Drive. For Google Docs/Sheets/Slides, exports as text.

ParameterTypeDescription
file_id *string

download_drive_file Download Drive File

Download a Drive file to a local path. Saves to `save_dir` (default ~/Downloads) under the file's Drive name unless `save_name` is given. For Google Docs/Sheets/Slides, exports to a suitable office format.

ParameterTypeDescription
file_id *string
save_dirstring
save_namestring

create_drive_folder Create Drive Folder

Create a new folder in Google Drive.

ParameterTypeDescription
name *string
parent_folder_idstring

share_drive_file Share Drive File

Share a Drive file with a user. Role can be 'reader', 'commenter', 'writer', or 'owner'.

ParameterTypeDescription
email *string
file_id *string
rolestring

upload_drive_file Upload Drive File

Upload a file to Google Drive. Pass `content` (a text string) for small text files, or `local_path` (a local filesystem path) for binary/large files.

ParameterTypeDescription
file_name *string
content
local_path
mime_typestring
parent_folder_idstring

delete_drive_file Delete Drive File

Delete a file from Google Drive.

ParameterTypeDescription
file_id *string

rename_drive_file Rename Drive File

Rename a file in Google Drive.

ParameterTypeDescription
file_id *string
new_name *string

move_drive_file Move Drive File

Move a file to a different folder in Google Drive.

ParameterTypeDescription
file_id *string
new_parent_folder_id *string

read_google_doc Read Google Doc

Read the full content of a Google Doc by its ID.

ParameterTypeDescription
document_id *string

create_google_doc Create Google Doc

Create a new Google Doc and return its ID.

ParameterTypeDescription
title *string

append_to_google_doc Append To Google Doc

Append text to the end of a Google Doc.

ParameterTypeDescription
document_id *string
text *string

replace_text_in_google_doc Replace Text In Google Doc

Find and replace text in a Google Doc.

ParameterTypeDescription
document_id *string
find_text *string
replace_text *string

delete_google_doc Delete Google Doc

Delete a Google Doc (via Drive API).

ParameterTypeDescription
document_id *string

read_google_sheet Read Google Sheet

Read values from a Google Sheet. Range example: 'Sheet1!A1:D50'.

ParameterTypeDescription
spreadsheet_id *string
range_namestring

write_google_sheet Write Google Sheet

Write values to a Google Sheet. Range example: 'Sheet1!A1'. Values is a 2D array of strings.

ParameterTypeDescription
range_name *string
spreadsheet_id *string
values *array

append_to_google_sheet Append To Google Sheet

Append rows to a Google Sheet after the last row of data.

ParameterTypeDescription
range_name *string
spreadsheet_id *string
values *array

create_google_sheet Create Google Sheet

Create a new Google Sheet and return its ID.

ParameterTypeDescription
title *string

clear_google_sheet Clear Google Sheet

Clear values in a range of a Google Sheet.

ParameterTypeDescription
range_name *string
spreadsheet_id *string

add_sheet_tab Add Sheet Tab

Add a new tab/sheet to an existing Google Sheet.

ParameterTypeDescription
spreadsheet_id *string
tab_title *string

read_google_slides Read Google Slides

Read the content of a Google Slides presentation, including text on each slide.

ParameterTypeDescription
presentation_id *string

create_google_slides Create Google Slides

Create a new Google Slides presentation and return its ID.

ParameterTypeDescription
title *string

add_slide_with_text Add Slide With Text

Add a new slide with a title and optional body text to a Google Slides presentation.

ParameterTypeDescription
presentation_id *string
title *string
body_textstring

delete_slide Delete Slide

Delete a slide from a Google Slides presentation by its object ID.

ParameterTypeDescription
presentation_id *string
slide_object_id *string

update_slide_text Update Slide Text

Update text in a specific text box on a slide. Deletes existing text first, then inserts new.

ParameterTypeDescription
new_text *string
presentation_id *string
slide_object_id *string
text_object_id *string

list_task_lists List Task Lists

List all Google Tasks task lists.

list_tasks List Tasks

List tasks in a task list. Use list_task_lists to get the task_list_id.

ParameterTypeDescription
task_list_id *string
max_resultsinteger

create_task Create Task

Create a new task in a task list. Due date should be ISO-8601 format.

ParameterTypeDescription
task_list_id *string
title *string
due_isostring
notesstring

complete_task Complete Task

Mark a task as completed.

ParameterTypeDescription
task_id *string
task_list_id *string

delete_task Delete Task

Delete a task from a task list.

ParameterTypeDescription
task_id *string
task_list_id *string

update_task Update Task

Update a task. Only provided fields will be changed.

ParameterTypeDescription
task_id *string
task_list_id *string
due_isostring
notesstring
titlestring

create_task_list Create Task List

Create a new Google Tasks task list.

ParameterTypeDescription
title *string

create_google_form Create Google Form

Create a new Google Form and return its ID and URL.

ParameterTypeDescription
title *string

read_google_form Read Google Form

Read the structure and questions of a Google Form.

ParameterTypeDescription
form_id *string

read_form_responses Read Form Responses

Read all responses to a Google Form.

ParameterTypeDescription
form_id *string

list_keep_notes List Keep Notes

List all Google Keep notes.

ParameterTypeDescription
page_sizeinteger

read_keep_note Read Keep Note

Read a single Google Keep note by its name (e.g. 'notes/12345').

ParameterTypeDescription
note_name *string

create_keep_note Create Keep Note

Create a new Google Keep note with a title and text body.

ParameterTypeDescription
text *string
title *string