{
  "data": {
    "a": {
      "slug": "google-docs-api",
      "name": "Google Docs API + MCP",
      "vendor": "Google",
      "vendorUrl": "https://developers.google.com/workspace/docs",
      "company": "google.com",
      "kind": "http-api",
      "category": "productivity",
      "summary": "REST API and hosted MCP server from Google for creating, reading and editing Google Docs, covering text, styles, tables, tabs, comments and suggestions. Access is by OAuth 2.0, and the two-tool MCP server is generally available.",
      "url": "https://www.anchorterminal.com/tools/google-docs-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/google-docs-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/google-docs-api.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/google-docs-api.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/google-docs-api.json",
      "dns": "google-docs-api.grade.anchorterminal.com",
      "repo": "https://github.com/googleapis/google-api-nodejs-client",
      "license": "Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0",
      "transports": [
        "http",
        "streamable-http"
      ],
      "remoteUrl": "https://docs.googleapis.com/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "@googleapis/docs"
        },
        {
          "registry": "pypi",
          "name": "google-api-python-client"
        }
      ],
      "auth": "oauth",
      "authNotes": "OAuth 2.0, set up by a person in a Google Cloud project. The discovery document lists five scopes, documents, documents.readonly, drive, drive.readonly and drive.file. The MCP server also needs docsmcp.googleapis.com enabled and an OAuth client with 'Use this client for an AI-powered agent' selected. Since 11 November 2026 Workspace MCP servers reject clients not marked that way. Personal mode onboarding in the Cloud console makes a client for one Google Account with no app verification. No Developer Preview membership is needed since general availability on 24 November 2026. From 1 February 2027 the Workspace AI Tools Addendum requires an AI agent to reach Workspace through Google's MCP servers or the Workspace CLI, not the REST API.",
      "pricing": "free",
      "pricingNotes": "All use of the Docs API is at no additional cost, and exceeding a quota doesn't incur charges. A free Google account can start without a card or contract. REST quotas are 3,000 reads and 600 writes a minute per project and 300 reads and 60 writes a minute per user per project. The MCP server has the same per-minute quotas and, on the default Standard Tier, 5,000 requests a day per project with no billing account. Higher MCP quotas need the Scaled Tier with a billing account, and Scaled Tier MCP billing from 1 April 2027 covers only the Gmail, Calendar and Drive servers (https://developers.google.com/workspace/docs/api/limits; https://developers.google.com/workspace/tools-safety).",
      "priceSummary": "Free",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Docs API limits page, the Workspace tiering page, the MCP pages or the discovery document (checked 2026-11-27).",
        "endpoints": []
      },
      "toolCount": 2,
      "popularity": {
        "githubStars": 12291,
        "npmWeekly": 754570,
        "pypiWeekly": null,
        "asOf": "2026-11-23"
      },
      "docsUrl": "https://developers.google.com/workspace/docs/api/how-tos/overview",
      "capabilities": [
        "work.docs"
      ],
      "tags": [
        "hosted",
        "official",
        "free-tier",
        "mcp",
        "oauth",
        "typescript",
        "python",
        "enterprise",
        "status-page"
      ],
      "lastRelease": "2026-11-24",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 78.4,
        "grade": "A",
        "agentReady": true,
        "rank": 62,
        "ranked": true,
        "rankOf": 1698,
        "categoryRank": 3,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 69,
          "maintenance": 85,
          "payments": 60,
          "reliability": 92,
          "schema": 83,
          "security": 77,
          "transparency": 79
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-27"
        },
        "negative": 0,
        "verdict": "The MCP server is generally available, asks the user before sensitive calls, and Google's terms will require agents to use it from 1 February 2027. documents.batchUpdate applies 53 request kinds atomically with stale-write protection. update_doc alone is 42 KB, and a person must set up OAuth in a Cloud project first.",
        "bestFor": "Agents drafting or editing documents people already keep in Google Docs, especially with suggestions for review.",
        "strengths": [
          "documents.batchUpdate takes 53 request kinds and applies none of them if any is invalid",
          "writeControl.requiredRevisionId rejects a write made against a stale revision, and writeMode SUGGEST makes edits as suggestions for a person to accept",
          "The MCP server is GA and asks the user through form elicitation before writes to shared documents, with admin-set approval rules",
          "No charge for REST or MCP use, and exceeding quota doesn't incur charges",
          "documents.readonly and drive.file scopes keep an agent to reading or to files the user picked"
        ],
        "weaknesses": [
          "From 1 February 2027 Google's terms require AI agents to use the MCP server or the Workspace CLI, not the REST API",
          "update_doc is one 42,027-byte tool definition that takes its requests as untyped objects",
          "update_doc carries destructiveHint false although it can delete content, tabs, headers and comments",
          "documents.get returns the whole document with no paging, only a fields mask",
          "MCP use is capped at 5,000 requests a day per project unless a billing account is linked for the Scaled Tier"
        ],
        "agentNotes": [
          "If you are an AI agent, plan on the MCP server or gwscli. From 1 February 2027 Google's terms forbid agents reaching Docs through the REST API directly",
          "Declare form elicitation support and connect to /mcp/v1. Without it, a call that needs approval returns MissingRequiredClientCapability, so use /mcp/v1self instead",
          "Pass writeControl.requiredRevisionId from the last read so a retried or late batchUpdate fails instead of applying twice",
          "Indexes are UTF-16 code units and the body starts with a section break at 0, so insert at index 1 or later and apply edits from the end of the document backwards",
          "There is no create tool in the MCP server. Use documents.create over REST or the Drive tools to make a new document"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 78.4
          }
        ],
        "editorialScores": {
          "ergonomics": 69,
          "maintenance": 85,
          "payments": 60,
          "reliability": 92,
          "schema": 83,
          "security": 77,
          "transparency": 62
        },
        "provenanceScore": 95,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-27",
            "maintenance": "2026-11-27",
            "payments": "2026-11-27",
            "reliability": "2026-11-27",
            "schema": "2026-11-27",
            "security": "2026-11-27",
            "transparency": "2026-11-27"
          },
          "last": "2026-11-27",
          "lastMoved": "2026-11-27",
          "oldest": "2026-11-27",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "npm install @googleapis/docs",
        "http": "curl \"https://docs.googleapis.com/v1/documents/$DOCUMENT_ID?fields=title,revisionId\" \\\n  -H \"Authorization: Bearer $GOOGLE_ACCESS_TOKEN\"",
        "config": {
          "mcpServers": {
            "google-docs": {
              "url": "https://docsmcp.googleapis.com/mcp/v1"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/work.docs",
        "tool": "https://letme.dev/google-docs-api"
      },
      "sameCompany": [
        "gemini-4-argon",
        "gemini-4-carbon",
        "gemini-4-hydrogen",
        "gemini-4-neon",
        "gemini-api",
        "vertex-ai",
        "embeddinggemma-2",
        "embeddinggemma-300m",
        "gemini-embedding",
        "vertex-ai-tuning",
        "cloud-run-gpus",
        "google-model-armor",
        "shieldgemma",
        "google-imagen",
        "gemini-omni-1-2-flash",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "google-cloud-tts",
        "gemini-live",
        "google-adk",
        "genkit",
        "google-memory-bank",
        "google-secret-manager",
        "data-commons-mcp",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "puppeteer",
        "firebase-mcp",
        "mcp-toolbox-databases",
        "google-cloud-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-cloud-storage",
        "google-drive-api",
        "google-stitch",
        "google-chat-api",
        "google-slides-api",
        "gemini-enterprise",
        "gemini-decision-1",
        "antigravity-cli",
        "gemini-cli",
        "harness2",
        "jules",
        "gemini-spark",
        "google-analytics-mcp",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api",
        "google-tasks-api",
        "google-people-api",
        "diffusiongemma-26b-a4b-it",
        "gemma-4-12b-it",
        "gemma-4-26b-a4b-it",
        "gemma-4-31b-it",
        "gemma-4-e2b-it",
        "gemma-4-e4b-it",
        "virustotal"
      ],
      "area": "business",
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoints are on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://developers.google.com/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://www.google.com/appsstatus/dashboard/",
        "changelog": "https://developers.google.com/workspace/docs/release-notes",
        "securityTxt": "valid",
        "checked": "2026-11-27",
        "notes": [
          "Legal entity, domain registration date and terms URL follow Google's other Workspace API listings.",
          "www.google.com/.well-known/security.txt expires on 1 April 2030 and names g.co/vulnz, security@google.com and the vulnerability reward programme (read 23 November 2026).",
          "Google publishes a discovery document for the API, not an OpenAPI spec.",
          "The Google APIs Terms of Service, last modified 9 November 2021 when read on 27 November 2026, don't link the Workspace AI Tools Addendum. Google's tiering page does, and the addendum says it supplements those terms and governs where they conflict.",
          "The addendum forbids scraping or systematic probing of Google MCPs and their documentation beyond a user-authorised task. Our check sent one unauthenticated initialize and one tools/list, as the MCP reference page shows.",
          "The Google privacy policy read on 23 November 2026 is the version effective 16 October 2026.",
          "docsmcp.googleapis.com answered robots.txt with 400 on 27 November 2026, so it publishes no rules."
        ],
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/google-docs-api.json",
      "live": {
        "slug": "google-docs-api",
        "probe": {
          "target": "https://docs.googleapis.com/v1",
          "method": "get",
          "lastAt": "2026-11-27T21:32:23.836378096Z",
          "lastOk": true,
          "lastStatus": 400,
          "lastMs": 153,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 163,
          "p95ms24h": 280,
          "samples24h": 237,
          "samples30d": 1010,
          "days": [
            {
              "date": "2026-11-23",
              "probes": 81,
              "ok": 81
            },
            {
              "date": "2026-11-24",
              "probes": 239,
              "ok": 239
            },
            {
              "date": "2026-11-25",
              "probes": 239,
              "ok": 239
            },
            {
              "date": "2026-11-26",
              "probes": 235,
              "ok": 235
            },
            {
              "date": "2026-11-27",
              "probes": 216,
              "ok": 216
            }
          ],
          "since": "2026-11-23T15:53:20.702572341Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "googleapis/google-api-nodejs-client",
            "version": "auditmanager-v2.2.0",
            "released": "2026-11-12",
            "seenAt": "2026-11-27T06:07:25.892803578Z"
          },
          {
            "registry": "npm",
            "name": "@googleapis/docs",
            "version": "14.1.1",
            "seenAt": "2026-11-27T06:07:22.855951659Z"
          },
          {
            "registry": "pypi",
            "name": "google-api-python-client",
            "version": "2.202.0",
            "released": "2026-11-10",
            "seenAt": "2026-11-27T06:07:25.753147584Z"
          }
        ],
        "githubStars": 12293,
        "npmWeekly": 846774,
        "pypiWeekly": 29059567,
        "securityTxt": {
          "url": "https://google.com/.well-known/security.txt",
          "state": "valid",
          "expires": "2030-04-01T00:00:00z",
          "checkedAt": "2026-11-27T16:55:26.186928156Z"
        },
        "pages": [
          {
            "url": "https://developers.google.com/workspace/docs/release-notes",
            "kind": "changelog",
            "status": 200,
            "checkedAt": "2026-11-27T03:50:47.202462122Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "1502c63c8baa"
          }
        ],
        "mcpTools": {
          "url": "https://docsmcp.googleapis.com/mcp/v1",
          "checkedAt": "2026-11-27T06:42:04.460113231Z",
          "status": "ok",
          "protocol": "2026-07-28",
          "tools": [
            {
              "name": "read_doc",
              "description": "This tool retrieves a JSON representation of the Google Doc given its document ID.\n\nThe JSON representation includes both the text as well as structural information about the document.\n\nCorresponds to [`documents.get`](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/get) in the REST API.\n",
              "inputSchema": {
                "properties": {
                  "commentsIncluded": {
                    "description": "Optional. If true, comments will be included in the response. By default, comments are not included.",
                    "type": "boolean"
                  },
                  "documentId": {
                    "description": "Required. The ID of the document to read. This is the same as file_id from Drive tools.",
                    "type": "string"
                  }
                },
                "required": [
                  "documentId"
                ],
                "type": "object"
              },
              "outputSchema": {
                "properties": {
                  "content": {
                    "additionalProperties": {
                      "description": "Properties of the object."
                    },
                    "description": "The verbalized text content of the document.",
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": true,
                "readOnlyHint": true,
                "title": "Reads a document."
              }
            },
            {
              "name": "update_doc",
              "description": "Updates a document using batch update requests. It accepts a `documents.batchUpdate` request (as JSON).\n\nCorresponds to [`documents.batchUpdate`](https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/batchUpdate) in the REST API.\n\nThe list of possible updates is:\n\n- `replaceAllText`: Replaces all instances of the specified text.\n  Schema:\n    - `replaceText` (string, required): The text that will replace the matched text.\n    - Criteria (exactly one required):\n      - `containsText` (object): Criteria for matching text:\n        - `text` (string, required): The text to search for in the document.\n        - `matchCase` (boolean, optional): Whether the search should respect case.\n        - `searchByRegex` (boolean, optional): Whether the search text is treated as a regular expression.\n    - `tabsCriteria` (object, optional): Criteria used to specify in which tabs the replacement occurs:\n      - `tabIds` (array of strings, optional): The list of tab IDs in which the request executes.\n- `insertText`: Inserts text at the specified location.\n  Schema:\n    - `text` (string, required): The text to be inserted.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts text at a specific index:\n        - `index` (integer, required): Zero-based index in UTF-16 code units. Must be inside an existing paragraph: the document body starts with a section break at index 0, so the first valid insertion index in the body is 1 (use `index: 1` to insert at the very beginning of the document).\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts text at the end of a header, footer, footnote, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `updateTextStyle`: Updates the text style at the specified range.\n  Schema:\n    - `textStyle` (object, required): The styles to set on the text:\n      - `bold` (boolean, optional): Whether the text is rendered as bold.\n      - `italic` (boolean, optional): Whether the text is italicized.\n      - `underline` (boolean, optional): Whether the text is underlined.\n      - `strikethrough` (boolean, optional): Whether the text is struck through.\n      - `smallCaps` (boolean, optional): Whether the text is in small capital letters.\n      - `backgroundColor` (object, optional): Text background color: `{\"color\": {\"rgbColor\": {\"red\": number, \"green\": number, \"blue\": number}}}`.\n      - `foregroundColor` (object, optional): Text foreground color: `{\"color\": {\"rgbColor\": {\"red\": number, \"green\": number, \"blue\": number}}}`.\n      - `fontSize` (object, optional): Font size: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `weightedFontFamily` (object, optional): Font family and weight: `{\"fontFamily\": string, \"weight\": integer}`.\n      - `baselineOffset` (string, optional): Vertical offset: `\"NONE\"`, `\"SUPERSCRIPT\"`, or `\"SUBSCRIPT\"`.\n      - `link` (object, optional): Hyperlink destination: `{\"url\": string}` or `{\"tabId\": string}`.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"bold,foregroundColor\"` or `\"*\"`).\n    - Insertion location (exactly one required):\n      - `range` (object): The range of text to style:\n        - `startIndex` (integer, optional): Zero-based start index of this range.\n        - `endIndex` (integer, optional): Zero-based end index of this range.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that contains this range.\n- `createParagraphBullets`: Creates bullets for paragraphs.\n  Schema:\n    - `range` (object, required): The range to apply the bullet preset to:\n      - `startIndex` (integer, optional): Zero-based start index of this range.\n      - `endIndex` (integer, optional): Zero-based end index of this range.\n      - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n      - `tabId` (string, optional): The tab that contains this range.\n    - `bulletPreset` (string, required): Preset pattern of bullet glyphs for lists: `\"BULLET_DISC_CIRCLE_SQUARE\"`, `\"BULLET_DIAMONDX_ARROW3D_SQUARE\"`, `\"BULLET_CHECKBOX\"`, `\"BULLET_ARROW_DIAMOND_DISC\"`, `\"BULLET_STAR_CIRCLE_SQUARE\"`, `\"BULLET_ARROW3D_CIRCLE_SQUARE\"`, `\"BULLET_LEFTTRIANGLE_DIAMOND_DISC\"`, `\"BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE\"`, `\"BULLET_DIAMOND_CIRCLE_SQUARE\"`, `\"NUMBERED_DECIMAL_ALPHA_ROMAN\"`, `\"NUMBERED_DECIMAL_ALPHA_ROMAN_PARENS\"`, `\"NUMBERED_DECIMAL_NESTED\"`, `\"NUMBERED_UPPERALPHA_ALPHA_ROMAN\"`, `\"NUMBERED_UPPERROMAN_UPPERALPHA_DECIMAL\"`, `\"NUMBERED_ZERODECIMAL_ALPHA_ROMAN\"`.\n- `deleteParagraphBullets`: Deletes bullets from paragraphs.\n  Schema:\n    - `range` (object, required): The range to delete bullets from:\n      - `startIndex` (integer, optional): Zero-based start index of this range.\n      - `endIndex` (integer, optional): Zero-based end index of this range.\n      - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n      - `tabId` (string, optional): The tab that contains this range.\n- `createNamedRange`: Creates a named range.\n  Schema:\n    - `name` (string, required): The name of the NamedRange (1 to 256 characters).\n    - `range` (object, required): The range to apply the name to:\n      - `startIndex` (integer, optional): Zero-based start index of this range.\n      - `endIndex` (integer, optional): Zero-based end index of this range.\n      - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n      - `tabId` (string, optional): The tab that contains this range.\n- `deleteNamedRange`: Deletes a named range.\n  Schema:\n    - Named range reference (exactly one required):\n      - `namedRangeId` (string): The ID of the named range to delete.\n      - `name` (string): The name of the range(s) to delete. All named ranges with this name will be deleted.\n    - `tabsCriteria` (object, optional): Criteria used to specify which tab(s) the range deletion applies to:\n      - `tabIds` (array of strings, optional): The list of tab IDs.\n- `updateParagraphStyle`: Updates the paragraph style at the specified range.\n  Schema:\n    - `paragraphStyle` (object, required): The styles to set on the paragraphs:\n      - `alignment` (string, optional): Text alignment: `\"START\"`, `\"CENTER\"`, `\"END\"`, `\"JUSTIFIED\"`.\n      - `lineSpacing` (number, optional): Line spacing percentage (e.g. 100 for 100%).\n      - `direction` (string, optional): Text direction: `\"LEFT_TO_RIGHT\"`, `\"RIGHT_TO_LEFT\"`.\n      - `spacingMode` (string, optional): Spacing mode: `\"NEVER_COLLAPSE\"`, `\"COLLAPSE_LISTS\"`.\n      - `spaceAbove` (object, optional): Space above paragraph: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `spaceBelow` (object, optional): Space below paragraph: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `borderBetween` / `borderTop` / `borderBottom` / `borderLeft` / `borderRight` (object, optional): `{\"color\": {\"color\": {\"rgbColor\": ...}}, \"width\": {\"magnitude\": number, \"unit\": \"PT\"}, \"padding\": {\"magnitude\": number, \"unit\": \"PT\"}, \"dashStyle\": \"SOLID\"|\"DOT\"|\"DASH\"}`.\n      - `indentFirstLine` (object, optional): First line indent: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `indentStart` (object, optional): Indent at start: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `indentEnd` (object, optional): Indent at end: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `namedStyleType` (string, optional): Named style type: `\"NORMAL_TEXT\"`, `\"TITLE\"`, `\"SUBTITLE\"`, `\"HEADING_1\"`, `\"HEADING_2\"`, `\"HEADING_3\"`, `\"HEADING_4\"`, `\"HEADING_5\"`, `\"HEADING_6\"`.\n      - `keepWithNext` (boolean, optional): Whether to keep paragraph on same page as next.\n      - `keepLinesTogether` (boolean, optional): Whether to keep all lines on same page.\n      - `avoidWidowAndOrphan` (boolean, optional): Whether to avoid widow/orphan lines.\n      - `shading` (object, optional): Paragraph background shading: `{\"backgroundColor\": {\"color\": {\"rgbColor\": {\"red\": number, \"green\": number, \"blue\": number}}}}`.\n      - `pageBreakBefore` (boolean, optional): Whether the paragraph should always start at the beginning of a page.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"alignment,namedStyleType\"` or `\"*\"`).\n    - Insertion location (exactly one required):\n      - `range` (object): The range overlapping the paragraphs to style:\n        - `startIndex` (integer, optional): Zero-based start index of this range.\n        - `endIndex` (integer, optional): Zero-based end index of this range.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that contains this range.\n- `deleteContentRange`: Deletes content from the document.\n  Schema:\n    - `range` (object, required): The range of content to delete:\n      - `startIndex` (integer, optional): Zero-based start index of this range.\n      - `endIndex` (integer, optional): Zero-based end index of this range.\n      - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n      - `tabId` (string, optional): The tab that contains this range.\n- `insertInlineImage`: Inserts an inline image at the specified location.\n  Schema:\n    - `uri` (string, required): The image URI. Must be publicly accessible and at most 2 kB in length.\n    - `objectSize` (object, optional): Size image should appear in document: `{\"width\": {\"magnitude\": number, \"unit\": \"PT\"}, \"height\": {\"magnitude\": number, \"unit\": \"PT\"}}`.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts image at a specific location:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts image at end of header, footer, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `insertTable`: Inserts a table at the specified location.\n  Schema:\n    - `rows` (integer, required): Number of rows in the table.\n    - `columns` (integer, required): Number of columns in the table.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts table at a specific location:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts table at end of header, footer, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `insertTableRow`: Inserts an empty row into a table.\n  Schema:\n    - `tableCellLocation` (object, required): Reference table cell location from which rows will be inserted:\n      - `tableStartLocation` (object, required): Location where table starts in document:\n        - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n        - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n        - `tabId` (string, optional): Tab that contains the table.\n      - `rowIndex` (integer, required): Zero-based row index.\n      - `columnIndex` (integer, required): Zero-based column index.\n    - `insertBelow` (boolean, required): Whether to insert new row below the reference cell (`true` for below, `false` for above).\n- `insertTableColumn`: Inserts an empty column into a table.\n  Schema:\n    - `tableCellLocation` (object, required): Reference table cell location from which columns will be inserted:\n      - `tableStartLocation` (object, required): Location where table starts in document:\n        - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n        - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n        - `tabId` (string, optional): Tab that contains the table.\n      - `rowIndex` (integer, required): Zero-based row index.\n      - `columnIndex` (integer, required): Zero-based column index.\n    - `insertRight` (boolean, required): Whether to insert new column to the right of the reference cell (`true` for right, `false` for left).\n- `deleteTableRow`: Deletes a row from a table.\n  Schema:\n    - `tableCellLocation` (object, required): Reference table cell location from which row will be deleted:\n      - `tableStartLocation` (object, required): Location where table starts in document:\n        - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n        - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n        - `tabId` (string, optional): Tab that contains the table.\n      - `rowIndex` (integer, required): Zero-based row index.\n      - `columnIndex` (integer, required): Zero-based column index.\n- `deleteTableColumn`: Deletes a column from a table.\n  Schema:\n    - `tableCellLocation` (object, required): Reference table cell location from which column will be deleted:\n      - `tableStartLocation` (object, required): Location where table starts in document:\n        - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n        - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n        - `tabId` (string, optional): Tab that contains the table.\n      - `rowIndex` (integer, required): Zero-based row index.\n      - `columnIndex` (integer, required): Zero-based column index.\n- `insertPageBreak`: Inserts a page break at the specified location.\n  Schema:\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts page break at a specific index:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts page break at the end of the document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `deletePositionedObject`: Deletes a positioned object from the document.\n  Schema:\n    - `objectId` (string, required): ID of positioned object to delete.\n    - `tabId` (string, optional): Tab that contains the positioned object.\n- `updateTableColumnProperties`: Updates the properties of columns in a table.\n  Schema:\n    - `tableStartLocation` (object, required): Location where table starts in document:\n      - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n      - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n      - `tabId` (string, optional): Tab that contains the table.\n    - `columnIndices` (array of integers, optional): Zero-based column indices to update. If omitted, all columns are updated.\n    - `tableColumnProperties` (object, required): Column properties to update:\n      - `width` (object, optional): Column width: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `widthType` (string, optional): `\"EVENLY_DISTRIBUTED\"`, `\"FIXED_WIDTH\"`.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"width\"` or `\"*\"`).\n- `updateTableCellStyle`: Updates the style of table cells.\n  Schema:\n    - Cells (exactly one required):\n      - `tableRange` (object): Subset of table cells to update:\n        - `tableCellLocation` (object, required): Reference cell location:\n          - `tableStartLocation` (object, required): Location where table starts in document:\n            - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n            - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n            - `tabId` (string, optional): Tab that contains the table.\n          - `rowIndex` (integer, required): Zero-based row index.\n          - `columnIndex` (integer, required): Zero-based column index.\n        - `rowSpan` (integer, required): Row span of table range.\n        - `columnSpan` (integer, required): Column span of table range.\n      - `tableStartLocation` (object): Location where table starts to apply to all cells in the table:\n        - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n        - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n        - `tabId` (string, optional): Tab that contains the table.\n    - `tableCellStyle` (object, required): Cell style to set:\n      - `backgroundColor` (object, optional): `{\"color\": {\"rgbColor\": {\"red\": number, \"green\": number, \"blue\": number}}}`.\n      - `paddingTop` / `paddingBottom` / `paddingLeft` / `paddingRight` (object, optional): `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `contentAlignment` (string, optional): `\"TOP\"`, `\"MIDDLE\"`, `\"BOTTOM\"`.\n      - `borderTop` / `borderBottom` / `borderLeft` / `borderRight` (object, optional): `{\"color\": {\"color\": {\"rgbColor\": ...}}, \"width\": {\"magnitude\": number, \"unit\": \"PT\"}, \"dashStyle\": \"SOLID\"|\"DOT\"|\"DASH\"}`.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"backgroundColor,contentAlignment\"` or `\"*\"`).\n- `updateTableRowStyle`: Updates the row style in a table.\n  Schema:\n    - `tableStartLocation` (object, required): Location where table starts in document:\n      - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n      - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n      - `tabId` (string, optional): Tab that contains the table.\n    - `rowIndices` (array of integers, optional): Zero-based row indices to update. If omitted, all rows are updated.\n    - `tableRowStyle` (object, required): Row style to set:\n      - `minRowHeight` (object, optional): Minimum row height: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `preventOverflow` (boolean, optional): Whether row cannot overflow across pages.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"minRowHeight\"` or `\"*\"`).\n- `replaceImage`: Replaces an image in the document.\n  Schema:\n    - `imageObjectId` (string, required): ID of existing image to replace.\n    - `uri` (string, required): URI of new image. Must be publicly accessible.\n    - `imageReplaceMethod` (string, optional): `\"CENTER_CROP\"`.\n    - `tabId` (string, optional): Tab that contains the image to replace.\n- `updateDocumentStyle`: Updates the style of the document.\n  Schema:\n    - `documentStyle` (object, required): Document style to set:\n      - `background` (object, optional): `{\"color\": {\"color\": {\"rgbColor\": {\"red\": number, \"green\": number, \"blue\": number}}}}`.\n      - `marginTop` / `marginBottom` / `marginLeft` / `marginRight` (object, optional): `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `pageSize` (object, optional): `{\"width\": {\"magnitude\": number, \"unit\": \"PT\"}, \"height\": {\"magnitude\": number, \"unit\": \"PT\"}}`.\n      - `useCustomHeaderFooterMargins` (boolean, optional): Whether to use custom header/footer margins.\n      - `marginHeader` / `marginFooter` (object, optional): `{\"magnitude\": number, \"unit\": \"PT\"}`.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"background,marginTop\"` or `\"*\"`).\n    - `tabId` (string, optional): Tab containing the document style to update.\n- `mergeTableCells`: Merges cells in a table.\n  Schema:\n    - `tableRange` (object, required): Table range specifying which cells to merge:\n      - `tableCellLocation` (object, required): Location of reference cell:\n        - `tableStartLocation` (object, required): Location where table starts in document:\n          - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n          - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n          - `tabId` (string, optional): Tab that contains the table.\n        - `rowIndex` (integer, required): Zero-based row index.\n        - `columnIndex` (integer, required): Zero-based column index.\n      - `rowSpan` (integer, required): Row span of table range.\n      - `columnSpan` (integer, required): Column span of table range.\n- `unmergeTableCells`: Unmerges cells in a table.\n  Schema:\n    - `tableRange` (object, required): Table range specifying which cells to unmerge:\n      - `tableCellLocation` (object, required): Location of reference cell:\n        - `tableStartLocation` (object, required): Location where table starts in document:\n          - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n          - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n          - `tabId` (string, optional): Tab that contains the table.\n        - `rowIndex` (integer, required): Zero-based row index.\n        - `columnIndex` (integer, required): Zero-based column index.\n      - `rowSpan` (integer, required): Row span of table range.\n      - `columnSpan` (integer, required): Column span of table range.\n- `createHeader`: Creates a header.\n  Schema:\n    - `type` (string, required): Type of header: `\"DEFAULT\"`, `\"FIRST_PAGE\"`.\n    - `sectionBreakLocation` (object, optional): Location of section break which begins the section this header belongs to. If omitted, applies to document style:\n      - `index` (integer, required): Zero-based index in UTF-16 code units.\n      - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n      - `tabId` (string, optional): Tab that contains the section break.\n- `createFooter`: Creates a footer.\n  Schema:\n    - `type` (string, required): Type of footer: `\"DEFAULT\"`, `\"FIRST_PAGE\"`.\n    - `sectionBreakLocation` (object, optional): Location of section break preceding the section this footer belongs to. If omitted, applies to document style:\n      - `index` (integer, required): Zero-based index in UTF-16 code units.\n      - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n      - `tabId` (string, optional): Tab that contains the section break.\n- `createFootnote`: Creates a footnote.\n  Schema:\n    - Footnote reference location (exactly one required):\n      - `location` (object): Inserts footnote reference at a specific index:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts footnote reference at the end of the document body:\n        - `tabId` (string, optional): The tab that the location is in.\n- `replaceNamedRangeContent`: Replaces the content in a named range.\n  Schema:\n    - `text` (string, required): Text to replace the content with.\n    - Named range reference (exactly one required):\n      - `namedRangeId` (string): ID of named range to replace.\n      - `namedRangeName` (string): Name of named range(s) to replace.\n    - `tabsCriteria` (object, optional):\n      - `tabIds` (array of strings, optional): The list of tab IDs in which replacement occurs.\n- `updateSectionStyle`: Updates the section style of the specified range.\n  Schema:\n    - `range` (object, required): Range overlapping sections to style:\n      - `startIndex` (integer, optional): Zero-based start index of range.\n      - `endIndex` (integer, optional): Zero-based end index of range.\n      - `tabId` (string, optional): Tab that contains this range.\n    - `sectionStyle` (object, required): Section style properties:\n      - `columnProperties` (array of objects, optional): Properties for each column (up to 3 columns):\n        - `paddingEnd` (object, optional): Padding at the end of the column: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n        - `width` (object, optional): Column width: `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `columnSeparatorStyle` (string, optional): `\"NONE\"`, `\"BETWEEN_EACH_COLUMN\"`.\n      - `contentDirection` (string, optional): `\"LEFT_TO_RIGHT\"`, `\"RIGHT_TO_LEFT\"`.\n      - `marginTop` / `marginBottom` / `marginLeft` / `marginRight` / `marginHeader` / `marginFooter` (object, optional): `{\"magnitude\": number, \"unit\": \"PT\"}`.\n      - `sectionType` (string, optional): `\"CONTINUOUS\"`, `\"NEXT_PAGE\"`.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"marginTop,sectionType\"` or `\"*\"`).\n- `insertSectionBreak`: Inserts a section break at the specified location.\n  Schema:\n    - `sectionType` (string, required): Type of section: `\"CONTINUOUS\"` or `\"NEXT_PAGE\"`.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts section break at a specific index in the document:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts section break at the end of the document body:\n        - `tabId` (string, optional): The tab that the location is in.\n- `deleteHeader`: Deletes a header from the document.\n  Schema:\n    - `headerId` (string, required): ID of header to delete.\n    - `tabId` (string, optional): Tab containing the header to delete.\n- `deleteFooter`: Deletes a footer from the document.\n  Schema:\n    - `footerId` (string, required): ID of footer to delete.\n    - `tabId` (string, optional): Tab containing the footer to delete.\n- `pinTableHeaderRows`: Updates the number of pinned header rows in a table.\n  Schema:\n    - `tableStartLocation` (object, required): Location where table starts in document:\n      - `index` (integer, required): Zero-based index of table start in UTF-16 code units.\n      - `segmentId` (string, optional): ID of header, footer, or footnote. Empty or omitted for document body.\n      - `tabId` (string, optional): Tab that contains the table.\n    - `pinnedHeaderRowsCount` (integer, required): Number of table rows to pin (0 unpins all rows).\n- `addDocumentTab`: Adds a document tab.\n  Schema:\n    - `tabProperties` (object, optional): Properties of tab to add:\n      - `tabId` (string, optional): User-supplied tab ID.\n      - `title` (string, optional): Title of the tab.\n      - `index` (integer, optional): Zero-based index where tab will be inserted.\n      - `parentTabId` (string, optional): Parent tab ID for nested tabs.\n      - `iconEmoji` (string, optional): Emoji icon displayed with the tab.\n- `deleteTab`: Deletes a document tab.\n  Schema:\n    - `tabId` (string, required): ID of tab to delete.\n- `updateDocumentTabProperties`: Updates the properties of a document tab.\n  Schema:\n    - `tabProperties` (object, required): Tab properties to update:\n      - `tabId` (string, required): ID of tab to update.\n      - `title` (string, optional): Updated title of the tab.\n      - `index` (integer, optional): Updated zero-based index of the tab.\n      - `parentTabId` (string, optional): Updated parent tab ID.\n      - `iconEmoji` (string, optional): Updated emoji icon displayed with the tab.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"title,iconEmoji\"` or `\"*\"`).\n- `insertPerson`: Inserts a person mention.\n  Schema:\n    - `personProperties` (object, required): Person properties:\n      - `email` (string, required): Email address of the person.\n      - `name` (string, optional): Name of the person.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts person mention at a specific location:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts person mention at end of header, footer, footnote, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `updateNamedStyle`: Updates a named style.\n  Schema:\n    - `namedStyle` (object, required): Named style to update:\n      - `namedStyleType` (string, required): Named style type: `\"NORMAL_TEXT\"`, `\"TITLE\"`, `\"SUBTITLE\"`, `\"HEADING_1\"`, `\"HEADING_2\"`, `\"HEADING_3\"`, `\"HEADING_4\"`, `\"HEADING_5\"`, `\"HEADING_6\"`.\n      - `textStyle` (object, optional): Text style properties for this named style.\n      - `paragraphStyle` (object, optional): Paragraph style properties for this named style.\n    - `fields` (string, required): Comma-separated list of fields to update (e.g. `\"textStyle,paragraphStyle\"` or `\"*\"`).\n    - `tabId` (string, optional): Tab to update.\n- `insertRichLink`: Insert a rich link.\n  Schema:\n    - `richLinkProperties` (object, required): Rich link properties:\n      - `uri` (string, required): URI of the rich link.\n      - `title` (string, optional): Title of the rich link.\n      - `mimeType` (string, optional): MIME type of the rich link.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts rich link at a specific location:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts rich link at end of header, footer, footnote, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `insertDate`: Inserts a date.\n  Schema:\n    - `dateElementProperties` (object, required): Date properties:\n      - `timestamp` (string, required): UTC timestamp.\n      - `timeZoneId` (string, optional): Time zone (e.g. `\"America/New_York\"`). Defaults to `\"etc/UTC\"`.\n      - `locale` (string, optional): Locale code (e.g. `\"en\"`).\n      - `dateFormat` (string, optional): `\"DATE_FORMAT_MONTH_DAY_ABBREVIATED\"`, `\"DATE_FORMAT_MONTH_DAY_FULL\"`, `\"DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED\"`, `\"DATE_FORMAT_ISO8601\"`.\n      - `timeFormat` (string, optional): `\"TIME_FORMAT_DISABLED\"`, `\"TIME_FORMAT_HOUR_MINUTE\"`, `\"TIME_FORMAT_HOUR_MINUTE_TIMEZONE\"`.\n    - Insertion location (exactly one required):\n      - `location` (object): Inserts date at a specific location:\n        - `index` (integer, required): Zero-based index in UTF-16 code units.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n      - `endOfSegmentLocation` (object): Inserts date at end of header, footer, or document body:\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that the location is in.\n- `insertComment`: Inserts a comment into the document.\n  Schema:\n    - `content` (string, required): Plain text comment content.\n    - `assigneeEmailAddress` (string, optional): The email address of the assignee of the comment. Leave empty for a non-assigned comment.\n    - Anchor (exactly one required):\n      - `range` (object): The range in the document to anchor the comment to:\n        - `startIndex` (integer, optional): The zero-based start index of this range.\n        - `endIndex` (integer, optional): The zero-based end index of this range.\n        - `segmentId` (string, optional): The ID of the header, footer, or footnote. Empty for document body.\n        - `tabId` (string, optional): The tab that contains this range.\n- `addCommentReply`: Adds a reply to an existing comment or suggestion thread.\n  Schema:\n    - Thread ID (exactly one required):\n      - `commentId` (string): ID of the comment thread.\n      - `suggestionId` (string): ID of the suggestion thread.\n    - `post` (object, required):\n      - `content` (string, required unless resolving/reopening): Plain text reply content.\n      - `commentAction` (string, optional): Action for comment threads (`\"NO_COMMENT_ACTION_CHANGE\"`, `\"RESOLVE\"`, `\"REOPEN\"`).\n      - `assigneeEmail` (string, optional): The email of the user who is being newly assigned to the thread as part of this post.\n- `updateCommentPost`: Updates the content of a comment post in a comment thread or suggestion thread.\n  Schema:\n    - Thread ID (exactly one required):\n      - `commentId` (string): ID of the comment thread.\n      - `suggestionId` (string): ID of the suggestion thread.\n    - `postId` (string, required): ID of the comment post to update.\n    - `content` (string, required): The updated content of the comment post.\n- `deleteComment`: Deletes a comment thread.\n  Schema:\n    - `commentId` (string, required): ID of the comment thread to delete.\n- `deleteCommentReply`: Deletes a reply post from a comment thread or suggestion thread.\n  Schema:\n    - Thread ID (exactly one required):\n      - `commentId` (string): ID of the comment thread.\n      - `suggestionId` (string): ID of the suggestion thread.\n    - `postId` (string, required): ID of the reply post to delete.\n- `acceptSuggestion`: Accepts a suggestion.\n  Schema:\n    - `suggestionId` (string, required): ID of the suggestion to accept.\n- `rejectSuggestion`: Rejects a suggestion.\n  Schema:\n    - `suggestionId` (string, required): ID of the suggestion to reject.\n- `deleteSuggestion`: Deletes a suggestion.\n  Schema:\n    - `suggestionId` (string, required): ID of the suggestion to delete.\n\n\u003c!--\n## Workflow for Updating a Document: READ -\u003e MODIFY -\u003e VERIFY\nRecommend to follow this pattern when making updates:\n1. **Read** the document using the `read_doc` tool to plan your edits.\n2. **Make** the planned edits using the `update_doc` tool.\n3. **Read** the document again using the `read_doc` tool to verify that the edits were made correctly including formatting.\n\n## Common Pitfalls\nThe Batch Update API is complex. Avoid these common traps:\n\n*   **Newline Escaping**: When inserting line breaks, use raw newline characters (\\n) in your strings. Do NOT escape them as \\\\n, otherwise the document will contain the literal characters \\n.\n*   **Body Index 0 Is the Section Break**: Body content starts at index 1, so `index: 0` or `startIndex: 0` in any body location or range is rejected. Use `index: 1` to insert at the very beginning of the document.\n*   **Index Shifting**: If making multiple text insertions or deletions in a single batch request, order your requests from the HIGHEST index to the LOWEST index (reverse order). Otherwise, earlier insertions will shift the indexes of later operations, causing them to apply at the wrong locations.\n--\u003e\n",
              "inputSchema": {
                "$defs": {
                  "WriteControl": {
                    "description": "Provides control over how write requests are executed.",
                    "properties": {
                      "requiredRevisionId": {
                        "description": "The revision ID of the document that the write request will be applied to. If this is not the latest revision of the document, the request will not be processed and will return a 400 bad request error. When a required revision ID is returned in a response, it indicates the revision ID of the document after the request was applied. Only one of this field or targetRevisionId should be set.",
                        "type": "string"
                      },
                      "targetRevisionId": {
                        "description": "The target revision ID of the document that the write request will be applied to. If collaborator changes have occurred after the target revision ID was retrieved, the changes may produce a different result than if they were applied to the target revision ID. When a target revision ID is specified, the write request is applied based on the target revision ID and the revision ID of the document is incremented by 1. If you don't specify a target revision ID, the write request is applied to the latest revision ID and the revision ID of the document is incremented by 1. When a target revision ID is returned in a response, it indicates the revision ID of the document after the request was applied. Only one of this field or requiredRevisionId should be set.",
                        "type": "string"
                      },
                      "writeMode": {
                        "description": "Optional. The write mode of the request.",
                        "enum": [
                          "WRITE_MODE_UNSPECIFIED",
                          "EDIT",
                          "SUGGEST"
                        ],
                        "type": "string",
                        "x-google-enum-descriptions": [
                          "The default write mode. A request without a write mode specified is treated as `EDIT`.",
                          "Changes are applied directly to the document.",
                          "Changes are made as suggestions."
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "properties": {
                  "documentId": {
                    "description": "Required. The ID of the document to update. This is the same as file_id from Drive tools.",
                    "type": "string"
                  },
                  "requests": {
                    "description": "A list of updates to apply to the document. Each request should be a valid documents.batchUpdate Request object, using the schema documented in: https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/request Requests will be applied in the order they are specified. If any request is not valid, no requests will be applied.",
                    "items": {
                      "additionalProperties": {
                        "description": "Properties of the object."
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "writeControl": {
                    "$ref": "#/$defs/WriteControl",
                    "description": "Optional. Provides control over how write requests are executed."
                  }
                },
                "required": [
                  "documentId"
                ],
                "type": "object"
              },
              "outputSchema": {
                "$defs": {
                  "WriteControl": {
                    "description": "Provides control over how write requests are executed.",
                    "properties": {
                      "requiredRevisionId": {
                        "description": "The revision ID of the document that the write request will be applied to. If this is not the latest revision of the document, the request will not be processed and will return a 400 bad request error. When a required revision ID is returned in a response, it indicates the revision ID of the document after the request was applied. Only one of this field or targetRevisionId should be set.",
                        "type": "string"
                      },
                      "targetRevisionId": {
                        "description": "The target revision ID of the document that the write request will be applied to. If collaborator changes have occurred after the target revision ID was retrieved, the changes may produce a different result than if they were applied to the target revision ID. When a target revision ID is specified, the write request is applied based on the target revision ID and the revision ID of the document is incremented by 1. If you don't specify a target revision ID, the write request is applied to the latest revision ID and the revision ID of the document is incremented by 1. When a target revision ID is returned in a response, it indicates the revision ID of the document after the request was applied. Only one of this field or requiredRevisionId should be set.",
                        "type": "string"
                      },
                      "writeMode": {
                        "description": "Optional. The write mode of the request.",
                        "enum": [
                          "WRITE_MODE_UNSPECIFIED",
                          "EDIT",
                          "SUGGEST"
                        ],
                        "type": "string",
                        "x-google-enum-descriptions": [
                          "The default write mode. A request without a write mode specified is treated as `EDIT`.",
                          "Changes are applied directly to the document.",
                          "Changes are made as suggestions."
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "properties": {
                  "replies": {
                    "description": "The replies from executing the batch update requests. Includes errors, warnings, and raw API responses to help the model make adjustments. The raw API responses use the schema documented in: https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/response",
                    "items": {
                      "additionalProperties": {
                        "description": "Properties of the object."
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "writeControl": {
                    "$ref": "#/$defs/WriteControl",
                    "description": "The revision of the document after the updates were applied. Pass `write_control.required_revision_id` in the next `update_doc` request to reject the write if the document changed in between."
                  }
                },
                "type": "object"
              },
              "annotations": {
                "destructiveHint": false,
                "idempotentHint": false,
                "openWorldHint": true,
                "readOnlyHint": false,
                "title": "Update document content"
              }
            }
          ],
          "schemaTokens": 10741,
          "changedAt": "2026-11-24T05:54:34.076612087Z",
          "check": {
            "checker": "anchor-check/1.0",
            "totalTokens": 10741,
            "counts": {
              "error": 0,
              "note": 0,
              "warn": 3
            },
            "findings": [
              {
                "rule": "TC07",
                "severity": "warn",
                "tool": "update_doc",
                "message": "the description is about 8,960 tokens",
                "fix": "Keep the description to what a model needs to choose and call the tool; move the manual to a resource or the docs."
              },
              {
                "rule": "TC15",
                "severity": "warn",
                "tool": "update_doc",
                "message": "inputSchema uses $ref/$defs",
                "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
              },
              {
                "rule": "TC22",
                "severity": "warn",
                "tool": "update_doc",
                "message": "the definition is about 10,482 tokens",
                "fix": "Trim the description and parameter docs, or split the tool."
              }
            ]
          }
        },
        "updatedAt": "2026-11-27T21:32:23.836378096Z"
      },
      "streak": {
        "days": 4,
        "from": "2026-11-23",
        "sinceWatching": true,
        "last": {
          "kind": "breaking",
          "date": "2026-11-11",
          "what": "Google Docs MCP server rejects OAuth clients not marked 'Use this client for an AI-powered agent'. Create a new agentic client. REST-only clients are unaffected",
          "source": "https://developers.google.com/workspace/docs/release-notes"
        },
        "best": 4
      }
    },
    "answer": "Google Slides API + MCP scores 79.7 (A) on agent readiness against Google Docs API + MCP's 78.4 (A), and leads in 2 of 7 scored categories.",
    "b": {
      "slug": "google-slides-api",
      "name": "Google Slides API + MCP",
      "vendor": "Google",
      "vendorUrl": "https://developers.google.com/workspace/slides",
      "company": "google.com",
      "kind": "http-api",
      "category": "productivity",
      "summary": "REST API from Google for creating, reading and editing Google Slides presentations, covering slides, shapes, text, tables, images, charts and comments. Access is by OAuth 2.0, with a four-tool hosted MCP server.",
      "url": "https://www.anchorterminal.com/tools/google-slides-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/google-slides-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/google-slides-api.min.md",
      "cardUrl": "https://www.anchorterminal.com/tools/google-slides-api.card.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/google-slides-api.json",
      "dns": "google-slides-api.grade.anchorterminal.com",
      "repo": "https://github.com/googleapis/google-api-nodejs-client",
      "license": "Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0",
      "transports": [
        "http",
        "streamable-http"
      ],
      "remoteUrl": "https://slides.googleapis.com/v1",
      "packages": [
        {
          "registry": "npm",
          "name": "@googleapis/slides"
        },
        {
          "registry": "pypi",
          "name": "google-api-python-client"
        }
      ],
      "auth": "oauth",
      "authNotes": "OAuth 2.0, set up by a person in a Google Cloud project. The discovery document lists seven scopes, presentations, presentations.readonly, drive, drive.readonly, drive.file, spreadsheets and spreadsheets.readonly. The MCP server also needs slidesmcp.googleapis.com enabled and an OAuth client with 'Use this client for an AI-powered agent' selected, and Google's setup guide asks for presentations, presentations.readonly, drive.file and drive.readonly. Personal mode onboarding in the Cloud console makes a client for one Google Account with no app verification.",
      "pricing": "free",
      "pricingNotes": "All use of the Slides API is at no additional cost, and Google says exceeding quota doesn't incur charges. A free Google account can start without a card or contract. The MCP server is free on the Standard Tier, capped at 5,000 requests a day per project. Higher MCP quotas need the Scaled Tier and a linked billing account. Scaled Tier MCP billing applies only to Gmail, Calendar and Drive for now (https://developers.google.com/workspace/slides/api/limits; https://developers.google.com/workspace/guides/quota-usage-tiers).",
      "priceSummary": "Free",
      "where": "hosted",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the Slides limits page, the MCP pages, the tiering page or the discovery document (checked 2026-11-27).",
        "endpoints": []
      },
      "toolCount": 4,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 535124,
        "pypiWeekly": null,
        "asOf": "2026-11-27"
      },
      "docsUrl": "https://developers.google.com/workspace/slides",
      "capabilities": [
        "work.docs"
      ],
      "tags": [
        "hosted",
        "official",
        "free-tier",
        "mcp",
        "oauth",
        "typescript",
        "python",
        "enterprise",
        "status-page"
      ],
      "lastRelease": "2026-11-24",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 79.7,
        "grade": "A",
        "agentReady": true,
        "rank": 38,
        "ranked": true,
        "rankOf": 1698,
        "categoryRank": 2,
        "methodology": "1.0",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 76,
          "maintenance": 85,
          "payments": 60,
          "reliability": 92,
          "schema": 83,
          "security": 77,
          "transparency": 81
        },
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-27"
        },
        "negative": 0,
        "verdict": "presentations.batchUpdate takes 49 request kinds, writeControl rejects writes against a stale revision, and the MCP server marks its edit tool destructive and asks a person before changing shared files. A person must set up OAuth in a Cloud project, and update_presentation alone is a 31,774-byte tool definition.",
        "bestFor": "Agents that build or edit decks people keep in Google Slides, including filling templates with replaceAllText and inserting Sheets charts.",
        "strengths": [
          "The MCP server went generally available on 24 November 2026, and its four tools carry typed input and output schemas and annotations",
          "update_presentation is annotated destructiveHint true, and Google's server asks the user before edits to shared presentations by default",
          "writeControl.requiredRevisionId in REST and in the MCP tool rejects a write made against a stale revision",
          "read_slide_page and a fields mask let an agent read one slide instead of the whole deck",
          "Google states that all Slides API use is at no additional cost and that exceeding quota doesn't incur charges"
        ],
        "weaknesses": [
          "A person must create a Cloud project and an OAuth client marked for AI agents before any call",
          "update_presentation is a 31,774-byte definition that takes its requests as untyped objects",
          "Write quotas are 60 a minute per user per project, and the MCP server allows 5,000 requests a day per project on the free tier",
          "The Workspace SLA covers Slides at 99.9 per cent but measures the web interface, not the API",
          "No llms.txt, and Slides error responses weren't documented on the pages read"
        ],
        "agentNotes": [
          "Pass writeControl.requiredRevisionId from the last read so a retried update_presentation fails instead of applying twice",
          "Use read_slide_page with a fields mask for large decks. read_presentation returns every slide",
          "If your MCP host doesn't support form elicitation, use the /mcp/v1self endpoint. Calls that need approval fail there with MissingRequiredClientCapability",
          "There is no create tool in the MCP server. Call presentations.create over REST to make a new deck",
          "If you build an agent that will run after 1 February 2027, connect through the MCP server or the Workspace CLI. Google's terms require it, and direct REST calls by agents are held to Standard Tier quotas"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "A",
            "methodology": "1.0",
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 79.7
          }
        ],
        "editorialScores": {
          "ergonomics": 76,
          "maintenance": 85,
          "payments": 60,
          "reliability": 92,
          "schema": 83,
          "security": 77,
          "transparency": 67
        },
        "provenanceScore": 95,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-27",
            "maintenance": "2026-11-27",
            "payments": "2026-11-27",
            "reliability": "2026-11-27",
            "schema": "2026-11-27",
            "security": "2026-11-27",
            "transparency": "2026-11-27"
          },
          "last": "2026-11-27",
          "oldest": "2026-11-27",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "npm install @googleapis/slides",
        "http": "curl \"https://slides.googleapis.com/v1/presentations/$PRESENTATION_ID?fields=title,revisionId\" \\\n  -H \"Authorization: Bearer $GOOGLE_ACCESS_TOKEN\"",
        "config": {
          "mcpServers": {
            "google-slides": {
              "url": "https://slidesmcp.googleapis.com/mcp/v1"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/work.docs",
        "tool": "https://letme.dev/google-slides-api"
      },
      "sameCompany": [
        "gemini-4-argon",
        "gemini-4-carbon",
        "gemini-4-hydrogen",
        "gemini-4-neon",
        "gemini-api",
        "vertex-ai",
        "embeddinggemma-2",
        "embeddinggemma-300m",
        "gemini-embedding",
        "vertex-ai-tuning",
        "cloud-run-gpus",
        "google-model-armor",
        "shieldgemma",
        "google-imagen",
        "gemini-omni-1-2-flash",
        "google-veo",
        "google-lyria",
        "google-speech-to-text",
        "google-cloud-tts",
        "gemini-live",
        "google-adk",
        "genkit",
        "google-memory-bank",
        "google-secret-manager",
        "data-commons-mcp",
        "google-cloud-document-ai",
        "google-weather-api",
        "chrome-devtools-mcp",
        "puppeteer",
        "firebase-mcp",
        "mcp-toolbox-databases",
        "google-cloud-mcp",
        "google-maps-platform",
        "google-cloud-translation",
        "google-calendar-api",
        "firebase-cloud-messaging",
        "google-cloud-storage",
        "google-drive-api",
        "google-stitch",
        "google-chat-api",
        "google-docs-api",
        "gemini-enterprise",
        "gemini-decision-1",
        "antigravity-cli",
        "gemini-cli",
        "harness2",
        "jules",
        "gemini-spark",
        "google-analytics-mcp",
        "google-search-console",
        "google-ads-api",
        "google-forms",
        "google-sheets-api",
        "gmail-api",
        "google-tasks-api",
        "google-people-api",
        "diffusiongemma-26b-a4b-it",
        "gemma-4-12b-it",
        "gemma-4-26b-a4b-it",
        "gemma-4-31b-it",
        "gemma-4-e2b-it",
        "gemma-4-e4b-it",
        "virustotal"
      ],
      "area": "business",
      "provenance": {
        "legalEntity": "Google LLC",
        "domain": "google.com",
        "domainRegistered": "1997-09-15",
        "domainNote": "The endpoints are on googleapis.com, Google's API domain. google.com was registered in 1997.",
        "endpointOnVendorDomain": true,
        "terms": "https://developers.google.com/terms",
        "privacy": "https://policies.google.com/privacy",
        "statusPage": "https://www.google.com/appsstatus/dashboard/",
        "changelog": "https://developers.google.com/workspace/release-notes",
        "securityTxt": "valid",
        "checked": "2026-11-27",
        "notes": [
          "Legal entity, domain registration date and terms URL follow Google's other Workspace API listings.",
          "www.google.com/.well-known/security.txt expires on 1 April 2030 and names g.co/vulnz, security@google.com and the vulnerability reward programme (read 27 November 2026).",
          "Google publishes a discovery document for the API, not an OpenAPI spec.",
          "The Google privacy policy read on 27 November 2026 is the version effective 16 October 2026.",
          "The Workspace AI Tools Addendum (last modified 24 November 2026, effective 1 February 2027) bars operators of agent tools from storing Google Technical Information for more than 30 days, from training models on user data, and from scraping or systematic probing of the Google MCP servers and their documentation beyond a user-authorised task.",
          "slidesmcp.googleapis.com answered robots.txt with 400, so it publishes no rules. One initialize and one tools/list were sent, as the MCP tools page shows.",
          "The Workspace subprocessor list (last modified 16 November 2026) and the Cloud Data Processing Addendum were read on 27 November 2026 by links from Google's Cloud Privacy Notice, and the SOC 2 page from a search result."
        ],
        "score": 95
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/google-slides-api.json",
      "live": {
        "slug": "google-slides-api",
        "probe": {
          "target": "https://slides.googleapis.com/v1",
          "method": "get",
          "lastAt": "2026-11-27T21:32:24.149601855Z",
          "lastOk": true,
          "lastStatus": 400,
          "lastMs": 254,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 181,
          "p95ms24h": 254,
          "samples24h": 9,
          "samples30d": 9,
          "days": [
            {
              "date": "2026-11-27",
              "probes": 9,
              "ok": 9
            }
          ],
          "since": "2026-11-27T20:42:44.446277366Z"
        },
        "updatedAt": "2026-11-27T21:32:24.149601855Z"
      },
      "streak": {
        "days": 0,
        "from": "2026-11-27",
        "sinceWatching": true,
        "last": {
          "kind": "breaking",
          "date": "2026-11-11",
          "what": "The Google Slides MCP server rejects OAuth clients not marked 'Use this client for an AI-powered agent'. Create a new agentic client. REST-only clients are unaffected",
          "source": "https://developers.google.com/workspace/release-notes"
        },
        "best": 0
      }
    },
    "edges": [
      {
        "by": 7,
        "category": "ergonomics",
        "leads": "google-slides-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "The MCP server has two tools, but its tools/list response measured 43,010 bytes on 27 November, 42,027 of them update_doc. REST responses can be cut with a fields mask (20 of 25). documents.get returns the whole document, tabs included, with no paging or range read, and comments only on request (10 of 20). MCP failures come back as isError results in documented classes, and an approval the client can't show returns MissingRequiredClientCapability. Standard Google error bodies on REST, not read for Docs (12 of 20). Batches are atomic, writeControl guards against stale writes, and read_doc is readOnlyHint and idempotentHint true. update_doc is destructiveHint false though its request list includes deleteContentRange, deleteTab, deleteHeader and deleteComment (13 of 20). Google API client libraries in Node.js, Python, Java, Go and more, and few required parameters (14 of 15). Total 69.",
          "b": "Four MCP tools, but tools/list measured 37,962 bytes on 27 November, 31,774 of them update_presentation. read_presentation and read_slide_page take a fields mask (20 of 25). No paging, but read_slide_page and presentations.pages.get read one slide, and thumbnails come from their own tool (14 of 20). MCP failures come back as isError results in documented classes, and an approval the client can't show returns MissingRequiredClientCapability. Standard Google error bodies on REST, not read for Slides (12 of 20). writeControl guards against stale writes, and every tool is annotated. The three read tools are readOnlyHint and idempotentHint true, and update_presentation is destructiveHint true. There is no idempotency key (16 of 20). Google API client libraries in Node.js, Python, Java, Go and more, and few required parameters (14 of 15). Total 76."
        },
        "scores": {
          "a": 69,
          "b": 76
        }
      }
    ],
    "facts": [
      {
        "a": "HTTP API",
        "b": "HTTP API",
        "name": "Kind"
      },
      {
        "a": "Google",
        "b": "Google",
        "name": "Vendor"
      },
      {
        "a": "https://docs.googleapis.com/v1",
        "b": "https://slides.googleapis.com/v1",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP, Streamable HTTP",
        "b": "HTTP, Streamable HTTP",
        "name": "Transports"
      },
      {
        "a": "OAuth",
        "b": "OAuth",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0",
        "b": "Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "2",
        "b": "4",
        "name": "Tools exposed"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2026-11-24",
        "b": "2026-11-24",
        "name": "Last release"
      },
      {
        "a": "2021-11-09",
        "b": "2021-11-09",
        "name": "Terms last updated"
      },
      {
        "a": "2026-10-01",
        "b": "2026-10-01",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "12k stars, 755k npm/wk",
        "b": "535k npm/wk",
        "name": "Popularity"
      }
    ],
    "faq": [
      {
        "answer": "Google Slides API + MCP scores 79.7 (A) on agent readiness against Google Docs API + MCP's 78.4 (A), and leads in 2 of 7 scored categories.",
        "question": "Which is better for AI agents, Google Docs API + MCP or Google Slides API + MCP?"
      },
      {
        "answer": "Both use an OAuth sign-in.",
        "question": "Do Google Docs API + MCP and Google Slides API + MCP need an API key?"
      },
      {
        "answer": "Yes. Google Docs API + MCP has a hosted endpoint at https://docs.googleapis.com/v1 and Google Slides API + MCP at https://slides.googleapis.com/v1.",
        "question": "Can an agent call Google Docs API + MCP and Google Slides API + MCP without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": null,
        "also": null,
        "goodFor": "Agents drafting or editing documents people already keep in Google Docs, especially with suggestions for review.",
        "slug": "google-docs-api",
        "watchFor": "From 1 February 2027 Google's terms require AI agents to use the MCP server or the Workspace CLI, not the REST API"
      },
      {
        "aheadOn": [
          "Agent ergonomics, 76 against 69"
        ],
        "also": null,
        "goodFor": "Agents that build or edit decks people keep in Google Slides, including filling templates with replaceAllText and inserting Sheets charts.",
        "slug": "google-slides-api",
        "watchFor": "A person must create a Cloud project and an OAuth client marked for AI agents before any call"
      }
    ],
    "history": {
      "google-docs-api": [
        {
          "causes": [
            "pricing",
            "product",
            "evidence"
          ],
          "date": "2026-11-27",
          "delta": 5.7,
          "from": 72.7,
          "fromGrade": "BB",
          "to": 78.4,
          "toGrade": "A"
        }
      ],
      "google-slides-api": null
    },
    "job": {
      "capability": "work.docs",
      "name": "Docs and wikis"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-docs-api.json",
        "title": "Atlassian Rovo MCP Server vs Google Docs API + MCP",
        "url": "https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-docs-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-slides-api.json",
        "title": "Atlassian Rovo MCP Server vs Google Slides API + MCP",
        "url": "https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-slides-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-docs-api-vs-notion-mcp.json",
        "title": "Google Docs API + MCP vs Notion MCP",
        "url": "https://www.anchorterminal.com/compare/google-docs-api-vs-notion-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-docs-api-vs-outline.json",
        "title": "Google Docs API + MCP vs Outline",
        "url": "https://www.anchorterminal.com/compare/google-docs-api-vs-outline"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-slides-api-vs-notion-mcp.json",
        "title": "Google Slides API + MCP vs Notion MCP",
        "url": "https://www.anchorterminal.com/compare/google-slides-api-vs-notion-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/google-slides-api-vs-outline.json",
        "title": "Google Slides API + MCP vs Outline",
        "url": "https://www.anchorterminal.com/compare/google-slides-api-vs-outline"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 0,
        "edge": "",
        "google-docs-api": 92,
        "google-slides-api": 92,
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 0,
        "edge": "",
        "google-docs-api": 83,
        "google-slides-api": 83,
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 7,
        "edge": "google-slides-api",
        "google-docs-api": 69,
        "google-slides-api": 76,
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 0,
        "edge": "",
        "google-docs-api": 77,
        "google-slides-api": 77,
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "google-docs-api": 60,
        "google-slides-api": 60,
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 0,
        "edge": "",
        "google-docs-api": 85,
        "google-slides-api": 85,
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 2,
        "edge": "google-slides-api",
        "google-docs-api": 79,
        "google-slides-api": 81,
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "Google Slides API + MCP scores 79.7 (A) on agent readiness against Google Docs API + MCP's 78.4 (A), and leads in 2 of 7 scored categories. Both do docs and wikis.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "google-docs-api": "The MCP server is generally available, asks the user before sensitive calls, and Google's terms will require agents to use it from 1 February 2027. documents.batchUpdate applies 53 request kinds atomically with stale-write protection. update_doc alone is 42 KB, and a person must set up OAuth in a Cloud project first.",
      "google-slides-api": "presentations.batchUpdate takes 49 request kinds, writeControl rejects writes against a stale revision, and the MCP server marks its edit tool destructive and asks a person before changing shared files. A person must set up OAuth in a Cloud project, and update_presentation alone is a 31,774-byte tool definition."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api",
    "json": "https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api.min.md"
  },
  "markdown": "Google Slides API + MCP scores 79.7 (A) on agent readiness against Google Docs API + MCP's 78.4 (A), and leads in 2 of 7 scored categories. Both do docs and wikis.\n\n- Google Docs API + MCP: grade A, 78.4/100, rank #62 of 1698. Markdown https://www.anchorterminal.com/tools/google-docs-api.md · JSON https://www.anchorterminal.com/api/v1/tools/google-docs-api.json\n- Google Slides API + MCP: grade A, 79.7/100, rank #38 of 1698. Markdown https://www.anchorterminal.com/tools/google-slides-api.md · JSON https://www.anchorterminal.com/api/v1/tools/google-slides-api.json\n- Best issue tracking, docs and chat tools for AI agents: https://www.anchorterminal.com/best/productivity/index.md\n- All 61 work comparisons: https://www.anchorterminal.com/compare/productivity/index.md\n\n## Which one, for what\n\n### Google Docs API + MCP (A)\n\nGood for: Agents drafting or editing documents people already keep in Google Docs, especially with suggestions for review.\n\nWatch for: From 1 February 2027 Google's terms require AI agents to use the MCP server or the Workspace CLI, not the REST API\n\n### Google Slides API + MCP (A)\n\nGood for: Agents that build or edit decks people keep in Google Slides, including filling templates with replaceAllText and inserting Sheets charts.\n\nAhead on:\n- Agent ergonomics, 76 against 69\n\nWatch for: A person must create a Cloud project and an OAuth client marked for AI agents before any call\n\n\n## Why the edge\n\n### Agent ergonomics: Google Slides API + MCP +7\n\n- Google Docs API + MCP (69): The MCP server has two tools, but its tools/list response measured 43,010 bytes on 27 November, 42,027 of them update_doc. REST responses can be cut with a fields mask (20 of 25). documents.get returns the whole document, tabs included, with no paging or range read, and comments only on request (10 of 20). MCP failures come back as isError results in documented classes, and an approval the client can't show returns MissingRequiredClientCapability. Standard Google error bodies on REST, not read for Docs (12 of 20). Batches are atomic, writeControl guards against stale writes, and read_doc is readOnlyHint and idempotentHint true. update_doc is destructiveHint false though its request list includes deleteContentRange, deleteTab, deleteHeader and deleteComment (13 of 20). Google API client libraries in Node.js, Python, Java, Go and more, and few required parameters (14 of 15). Total 69.\n- Google Slides API + MCP (76): Four MCP tools, but tools/list measured 37,962 bytes on 27 November, 31,774 of them update_presentation. read_presentation and read_slide_page take a fields mask (20 of 25). No paging, but read_slide_page and presentations.pages.get read one slide, and thumbnails come from their own tool (14 of 20). MCP failures come back as isError results in documented classes, and an approval the client can't show returns MissingRequiredClientCapability. Standard Google error bodies on REST, not read for Slides (12 of 20). writeControl guards against stale writes, and every tool is annotated. The three read tools are readOnlyHint and idempotentHint true, and update_presentation is destructiveHint true. There is no idempotency key (16 of 20). Google API client libraries in Node.js, Python, Java, Go and more, and few required parameters (14 of 15). Total 76.\n\n## Score by category\n\n| Category | Weight | Google Docs API + MCP | Google Slides API + MCP | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% | 92 | 92 | even |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% | 83 | 83 | even |\n| Agent ergonomics | 13% | 69 | 76 | Google Slides API + MCP +7 |\n| Security \u0026 auth | 14% | 77 | 77 | even |\n| Payments \u0026 pricing | 10% | 60 | 60 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% | 85 | 85 | even |\n| Transparency \u0026 trust | 7% | 79 | 81 | Google Slides API + MCP +2 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **78.4 · A** | **79.7 · A** | |\n\n## Facts side by side\n\n| Fact | Google Docs API + MCP | Google Slides API + MCP |\n| --- | --- | --- |\n| Kind | HTTP API | HTTP API |\n| Vendor | Google | Google |\n| Hosted endpoint | `https://docs.googleapis.com/v1` | `https://slides.googleapis.com/v1` |\n| Transports | HTTP, Streamable HTTP | HTTP, Streamable HTTP |\n| Auth | OAuth | OAuth |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0 | Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0 |\n| Tools exposed | 2 | 4 |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2026-11-24 | 2026-11-24 |\n| Terms last updated | 2021-11-09 | 2021-11-09 |\n| Privacy policy last updated | 2026-10-01 | 2026-10-01 |\n| Customer content may train models | yes | yes |\n| Terms restrict automated access | yes | yes |\n| Terms restrict benchmarking | not found in the text | not found in the text |\n| Terms or service can change without notice | not found in the text | not found in the text |\n| Arbitration or class-action waiver | not found in the text | not found in the text |\n| Popularity | 12k stars, 755k npm/wk | 535k npm/wk |\n\n## How the scores have moved\n\n### Google Docs API + MCP\n\n- +5.7 on 27 November 2026 (BB to A): pricing, product, new evidence\n\n### Google Slides API + MCP\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Google Docs API + MCP.** The MCP server is generally available, asks the user before sensitive calls, and Google's terms will require agents to use it from 1 February 2027. documents.batchUpdate applies 53 request kinds atomically with stale-write protection. update_doc alone is 42 KB, and a person must set up OAuth in a Cloud project first.\n\n**Google Slides API + MCP.** presentations.batchUpdate takes 49 request kinds, writeControl rejects writes against a stale revision, and the MCP server marks its edit tool destructive and asks a person before changing shared files. A person must set up OAuth in a Cloud project, and update_presentation alone is a 31,774-byte tool definition.\n\n## Before you call either\n\n### Google Docs API + MCP\n\n1. If you are an AI agent, plan on the MCP server or gwscli. From 1 February 2027 Google's terms forbid agents reaching Docs through the REST API directly\n2. Declare form elicitation support and connect to /mcp/v1. Without it, a call that needs approval returns MissingRequiredClientCapability, so use /mcp/v1self instead\n3. Pass writeControl.requiredRevisionId from the last read so a retried or late batchUpdate fails instead of applying twice\n4. Indexes are UTF-16 code units and the body starts with a section break at 0, so insert at index 1 or later and apply edits from the end of the document backwards\n5. There is no create tool in the MCP server. Use documents.create over REST or the Drive tools to make a new document\n\n### Google Slides API + MCP\n\n1. Pass writeControl.requiredRevisionId from the last read so a retried update_presentation fails instead of applying twice\n2. Use read_slide_page with a fields mask for large decks. read_presentation returns every slide\n3. If your MCP host doesn't support form elicitation, use the /mcp/v1self endpoint. Calls that need approval fail there with MissingRequiredClientCapability\n4. There is no create tool in the MCP server. Call presentations.create over REST to make a new deck\n5. If you build an agent that will run after 1 February 2027, connect through the MCP server or the Workspace CLI. Google's terms require it, and direct REST calls by agents are held to Standard Tier quotas\n\n## Questions\n\n### Which is better for AI agents, Google Docs API + MCP or Google Slides API + MCP?\n\nGoogle Slides API + MCP scores 79.7 (A) on agent readiness against Google Docs API + MCP's 78.4 (A), and leads in 2 of 7 scored categories.\n\n### Do Google Docs API + MCP and Google Slides API + MCP need an API key?\n\nBoth use an OAuth sign-in.\n\n### Can an agent call Google Docs API + MCP and Google Slides API + MCP without installing anything?\n\nYes. Google Docs API + MCP has a hosted endpoint at https://docs.googleapis.com/v1 and Google Slides API + MCP at https://slides.googleapis.com/v1.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api.json, and with the fewest tokens: https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"google-docs-api\", \"b\": \"google-slides-api\"}`. From a terminal: `anchor compare google-docs-api google-slides-api`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/google-docs-api.json and https://www.anchorterminal.com/api/v1/tools/google-slides-api.json\n\n## Other comparisons with Google Docs API + MCP or Google Slides API + MCP\n\n- [Atlassian Rovo MCP Server vs Google Docs API + MCP](https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-docs-api.md)\n- [Atlassian Rovo MCP Server vs Google Slides API + MCP](https://www.anchorterminal.com/compare/atlassian-rovo-mcp-vs-google-slides-api.md)\n- [Google Docs API + MCP vs Notion MCP](https://www.anchorterminal.com/compare/google-docs-api-vs-notion-mcp.md)\n- [Google Docs API + MCP vs Outline](https://www.anchorterminal.com/compare/google-docs-api-vs-outline.md)\n- [Google Slides API + MCP vs Notion MCP](https://www.anchorterminal.com/compare/google-slides-api-vs-notion-mcp.md)\n- [Google Slides API + MCP vs Outline](https://www.anchorterminal.com/compare/google-slides-api-vs-outline.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-27",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "1.0",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Google Docs API + MCP vs Google Slides API + MCP",
        "url": ""
      }
    ],
    "description": "Google Slides scores 79.7 (A) to Google Docs's 78.4 (A) for docs and wikis. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Google Docs API + MCP A 78.4",
      "Google Slides API + MCP A 79.7",
      "scores"
    ],
    "h1": "Google Docs API + MCP vs Google Slides API + MCP",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/google-docs-api-vs-google-slides-api",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Google Docs vs Google Slides for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-27",
    "url": "https://www.anchorterminal.com/compare/google-docs-api-vs-google-slides-api"
  },
  "tokens": {
    "markdown": 2600,
    "slim": 580
  },
  "version": 1
}
