New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

Google Drive

131 tools. 94 can modify or destroy data without limits.

9 destructive tools with no built-in limits. Policy required.

Last updated:

94 can modify or destroy data
37 read-only
131 tools total

Community server · catalogue entry checked 20/10/2026 · full schemas captured for 129 of 131 tools

How to control Google Drive ↓

What Google Drive exposes to your agents

Read (37) Write / Execute (85) Destructive / Financial (9)

What Google Drive costs in tokens

31,440 tokens of tool definitions, loaded on every request
16% of a 200k context window
1,489 heaviest tool: applyParagraphStyle
Critical Risk

The most dangerous Google Drive tools

94 of Google Drive's 131 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Google Drive

PolicyLayer is an MCP gateway — it sits between your AI agents and Google Drive, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "deleteCalendarEvent": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "addComment": {
    "limits": [
      {
        "counter": "addcomment_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "authGetStatus": {
    "limits": [
      {
        "counter": "authgetstatus_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Google Drive — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON GOOGLE DRIVE →

Instant setup, no code required.

All 131 Google Drive tools

WRITE 85 tools
Write addComment Add a comment quoting a text range, targeted by startIndex+endIndex or by textToFind. The comment appears in t Write addDataValidation Add data validation rules to a sheet range Write addDimensionGroup Group a range of rows or columns in a sheet (creates a collapsible outline group). Indices are 0-based and the Write addDocumentTab Add a new tab in a Google Doc Write addGoogleSheetConditionalFormat Add conditional formatting to a Google Sheet Write addNamedRange Create a named range Write addPermission Add a sharing permission to a file. If the principal already holds a permission on the file, Drive updates tha Write addSheet Alias for addSpreadsheetSheet (adds a new sheet/tab) Write addSpreadsheetSheet Adds a new sheet/tab to an existing Google Spreadsheet Write appendSpreadsheetRows Appends rows of data to the end of a sheet in a Google Spreadsheet Write applyParagraphStyle Apply paragraph formatting — alignment, indents, spacing, named styles, borders (top/bottom/left/right/between Write applyTextStyle Apply text formatting (bold, italic, color, etc.) to a range or found text. Use EITHER startIndex+endIndex OR Write autoResizeColumns Auto-size one or more columns to fit their content. Indices are 0-based and the interval is half-open [startCo Write autoResizeRows Auto-size one or more rows to fit their content. Indices are 0-based and the interval is half-open [startRow, Write batchUpdateGoogleSheetValues Write many ranges in ONE call via spreadsheets.values.batchUpdate. Ranges may sit on different sheets of the s Write bulkConvertFolderPdfs Convert all PDFs in a folder into Google Docs and return per-file results Write convertPdfToGoogleDoc Convert an existing PDF in Drive into an editable Google Doc Write copyFile Creates a copy of a Google Drive file or document Write createCalendarEvent Create a new calendar event. Supports timed events, all-day events, and Google Meet integration. Write createDocFromHTML Create a Google Doc from HTML content in a single Drive API call. HTML tags are converted to native Google Doc Write createFolder Create a new folder in Google Drive Write createFootnote Create a footnote in a Google Doc. Footnotes cannot be inserted inside equations, headers, footers, or other f Write createGoogleDoc Create a new Google Doc Write createGoogleSheet Create a new Google Sheet. By default uses RAW mode which stores values as-is. Set valueInputOption to 'USER_E Write createGoogleSlides Create a new Google Slides presentation Write createGoogleSlidesShape Create a shape in Google Slides Write createGoogleSlidesTextBox Create a text box in Google Slides Write createParagraphBullets Add or remove bullet points / numbered lists on paragraphs in a Google Doc. Target paragraphs by startIndex+en Write createShortcut Create a shortcut (link) to a file or folder in Google Drive. Useful for referencing the same document from mu Write createTextFile Create a new text or markdown file Write duplicateSlide Duplicate a slide in a presentation Write editTableCell Edit the content and/or style of a specific table cell. Requires knowing the table start index. For multi-tab Write findAndReplaceInDoc Find and replace text across a Google Document. Dry-run mode counts matches exactly across body, tables, heade Write formatGoogleDocParagraph Apply paragraph formatting (alignment, indentation, spacing, heading style, borders, shading) in a Google Doc. Write formatGoogleDocText Apply text formatting (bold, italic, font, color, links, superscript/subscript) to a range or found text in a Write formatGoogleSheetCells Format cells in a Google Sheet (background, borders, alignment) Write formatGoogleSheetNumbers Apply number formatting to cells in a Google Sheet Write formatGoogleSheetText Apply text formatting to cells in a Google Sheet Write formatGoogleSlidesParagraph Apply paragraph formatting to text in Google Slides Write formatGoogleSlidesText Apply text formatting to elements in Google Slides Write hideSheetDimension Hide a range of columns or rows in a sheet (sets hiddenByUser=true). Indices are 0-based and the interval is h Write insertImageFromUrl Insert an inline image into a Google Document from a publicly accessible URL Write insertLocalImage Upload a local image file to Google Drive and insert it into a Google Document Write insertSheetDimension Insert empty rows or columns at a position in a sheet (one spreadsheets.batchUpdate); what is there now moves Write insertSlidesImageFromUrl Insert an image into a Google Slides slide from a publicly accessible URL Write insertSlidesLocalImage Upload a local image file to Google Drive and insert it into a Google Slides slide Write insertSmartChip Insert a person smart chip (mention) at a document index. Only person chips are supported by the Docs API; dat Write insertTable Insert a new table with the specified dimensions at a given index. For multi-tab docs, specify tabId to target Write insertText Insert text at a specific index (surgical edit, doesn't replace whole file). Works on Google Docs and text/ fi Write lockFile Lock a file to prevent editing by setting content restrictions. The file remains readable but cannot be modifi Write manage_accounts Manage connected Google accounts. action='list' shows all connected accounts (no secrets). action='add' starts Write mergeGoogleSheetCells Merge cells in a Google Sheet Write moveItem Move a file or folder Write moveSlideElement Move and/or resize an element (image, text box, shape) on a Google Slides slide Write protectRange Protect a range in a spreadsheet Write renameDocumentTab Rename an existing Google Doc tab Write renameItem Rename a file or folder Write renameSheet Rename a sheet/tab by sheetId Write reorderSlides Reorder one or more slides in a presentation Write replaceAllTextInSlides Replace all matching text across a presentation. It reaches slides, speaker notes, layouts and masters, so a m Write replaceSlideImage Replace an existing image in place, preserving its layering (z-order), position, size, and crop. Unlike delete Write replyToComment Add a reply to an existing comment Write restoreRevision Restore a file to a selected revision (creates a new head revision). Note: workspace files (Docs, Sheets, Slid Write setColumnWidth Set the width (in pixels) of one or more columns in a sheet. Indices are 0-based and the interval is half-open Write setElementText Replace the entire text of one shape/text box by objectId (element-scoped delete+insert in one atomic call). U Write setElementZOrder Change the stacking order of page elements (updatePageElementsZOrder). Inserted images land on top of the stac Write setGoogleSheetBorders Set borders for cells in a Google Sheet Write setGoogleSlidesBackground Set background color for slides Write setRowHeight Set the height (in pixels) of one or more rows in a sheet. Indices are 0-based and the interval is half-open [ Write setSlideVisibility Show or hide (skip) slides in one atomic call. Hidden slides are skipped in present mode and PDF export. Write shareFile Convenience wrapper to share a file with a user email. If the user already holds a permission on the file, tha Write showSheetDimension Show (unhide) a range of columns or rows in a sheet (sets hiddenByUser=false). Indices are 0-based and the int Write styleGoogleSlidesShape Style shapes in Google Slides Write unlockFile Unlock a previously locked file by removing content restrictions, restoring full edit access. Write updateCalendarEvent Update an existing calendar event Write updateDimensionGroup Collapse or expand an existing row or column group. Indices are 0-based and the interval is half-open [startIn Write updateGoogleDoc Update an existing Google Doc (replaces all content). The replacement is one atomic batchUpdate, so a failure Write updateGoogleSheet Update an existing Google Sheet. By default uses RAW mode which stores values as-is. Set valueInputOption to ' Write updateGoogleSheetIfUnchanged Write cell values only if the guarded area has not changed since you read it, and get back what was overwritte Write updateGoogleSlides Update an existing Google Slides presentation Write updateGoogleSlidesSpeakerNotes Update speaker notes for a specific slide in Google Slides Write updatePermission Update an existing permission role Write updateTextFile Update an existing text or markdown file Write uploadFile Upload a file (any type: image, audio, video, PDF, etc.) to Google Drive, either from a local path on the serv Write uploadPdfWithSplit Upload PDF and optionally split into chunked parts (metadata split plan for now)
READ 37 tools
Read authGetStatus Show authentication/token status and scope diagnostics Read authListScopes List configured/requested scopes and currently granted scopes Read authTestFileAccess Run auth diagnostics against Drive API/file access Read describeGoogleDocRange Style probe for one spot: the paragraph styles (named style, alignment, borders, shading, indents, spacing, bu Read downloadFile Download a Google Drive file to a local path. For Google Workspace files (Docs, Sheets, Slides, Drawings), exp Read exportSlideThumbnail Export a slide thumbnail URL Read getCalendarEvent Get a single calendar event by ID Read getCalendarEvents Get events from a Google Calendar with optional filtering Read getComment Get a specific comment with its full thread of replies Read getDocumentInfo Gets detailed information about a specific Google Document. Read getGoogleDocContent Get content of a Google Doc with text indices for formatting Read getGoogleDocContentPaginated Get a portion of a Google Doc with text indices for formatting, with pagination support. Use offset and limit Read getGoogleDocImage Fetch the bytes of an inline image embedded in a Google Doc, keyed by its inline object ID. Returns a native i Read getGoogleDocStyleSummary Compact style inventory of a whole document in a few hundred tokens: fonts with their size ladders, named-styl Read getGoogleSheetCells Read Google Sheets cells as structured data instead of joined text: each cell comes back with its own absolute Read getGoogleSheetContent Get content of a Google Sheet with cell information. Each row is returned as 'Row N: ' followed by that row's Read getGoogleSlidesContent Get content of Google Slides with element IDs for formatting Read getGoogleSlidesSpeakerNotes Get speaker notes from a specific slide in Google Slides Read getRevisions List revisions for a file Read getSlideElementInfo Get position, size, and transform of all elements on a slide. Returns actual rendered bounds. Read getSpreadsheetInfo Gets detailed information about a Google Spreadsheet including all sheets/tabs Read listCalendars List all accessible Google Calendars for the authenticated user Read listComments List all comments in a Google Document Read listDimensionGroups List the row and column groups of a spreadsheet, with each group's range, nesting depth and collapsed state. R Read listDocumentTabs List all tabs in a Google Doc with their IDs and hierarchy Read listFolder List contents of a folder (defaults to root) Read listGoogleDocs Lists Google Documents from your Google Drive with optional filtering. Read listGoogleSheets Lists Google Spreadsheets from your Google Drive with optional filtering Read listPermissions List sharing permissions for a file Read listSharedDrives List available Google Shared Drives Read listSheets List tabs/sheets in a Google Spreadsheet Read readGoogleDoc Read content of a Google Doc with format options. Supports multi-tab documents. Text/markdown output leads wit Read readGoogleDocPaginated Read a portion of a Google Doc with pagination support. Use offset and limit to read large documents in chunks Read readSmartChips Read smart chip-like elements (person mentions, rich links, date chips) from the default tab of a document Read readTextFile Read content of a text file (any text/ MIME type, e.g. text/plain, text/markdown, text/csv). For Google Docs, Read search Search for files in Google Drive. Results are sorted most-recently-modified first by default; use orderBy for Read styleDocTable Style a Docs table in one atomic call: cell borders/background/padding/content alignment (whole table via tabl

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Google Drive

Can an AI agent delete data through the Google Drive MCP server? +

Yes. The Google Drive server exposes 9 destructive tools including deleteCalendarEvent, deleteComment, deleteDimensionGroup. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Google Drive? +

The Google Drive server has 85 write tools including addComment, addDataValidation, addDimensionGroup. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Google Drive.

How many tools does the Google Drive MCP server expose? +

131 tools across 3 categories: Destructive, Read, Write. 37 are read-only. 94 can modify, create, or delete data.

How do I enforce a policy on Google Drive? +

Register the Google Drive MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Google Drive tool call.

Deterministic rules across all 131 Google Drive tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

131 Google Drive tools catalogued and risk-classified — across an index of 46,500+ MCP servers.

// WHERE THIS COMES FROM

These policies come from Google Drive's registry record.

The record behind this page: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.