Google's Workspace API Terms for AI Agents: What Changes and How to Migrate
Google's new Workspace API terms for AI agents, the Workspace AI Tools Addendum, change four things. From February 1, 2027, any AI agent that reads Gmail, Drive, Calendar or Docs data must connect through Google's Workspace MCP servers or the Workspace CLI instead of the REST APIs. Data your agent derives from Workspace, such as embeddings and memory indexes, can't be kept longer than 30 days. Nothing can be used for model training. And users confirm high-impact actions under rules their admin sets.
What the Google Workspace AI Tools Addendum is
The Workspace AI Tools Addendum is a supplement to the Google APIs Terms of Service that sets rules for any "GWS Access Tool" driven by an AI agent, an AI harness or an AI model. It requires those tools to use a Google MCP, limits how long derived data can be stored, bans training on Workspace data, and lets Google cut off access when the rules are broken.
Where it conflicts with the older API terms, the addendum wins. Its definitions are broad on purpose:
| Term in the addendum | What it covers |
|---|---|
| AI Harness | The software layer that deploys agents, invokes tools or APIs, or orchestrates several agents |
| GWS Access Point | A Workspace API, connector, proxy, CLI or third-party service that reaches user data |
| Google MCP | A Google-provided MCP server or tool interface, including the Google Workspace CLI |
| Google Technical Information | Anything derived from access: embeddings, memory indexes, user profiles, organizational graphs, findings |
Read the harness definition twice. If a model in your orchestration layer decides which Gmail call to make, you're in scope, and the addendum bans "obfuscating" a tool to dodge that.
The MCP requirement: agents leave the REST APIs
Rule 1 is the one that changes code. A tool that "is or is driven by an AI Agent, an AI Harness or an AI model" must use a Google MCP. Google now offers two ways in, both generally available:
- Workspace MCP servers for cloud and web agents, one per product. Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat and Tasks are GA, with Keep coming later, per Google's announcement.
-
Workspace CLI (
gwscli) for local and desktop agents. If you used the earlier community tool, our Google Workspace CLI guide covers the basics.
Every call through these front doors is checked against the organization's permissions, data loss prevention (DLP) rules and classification labels.
Apps not driven by AI keep the REST APIs. The MCP configuration guide covers setup: create an OAuth client, tick Use this client for an AI-powered agent, then enable the MCP services:
gcloud services enable gmailmcp.googleapis.com drivemcp.googleapis.com \
docsmcp.googleapis.com calendarmcp.googleapis.com --project=PROJECT_ID
These dedicated agent OAuth client IDs let consent screens and the admin console label the caller as an AI agent.
The 30-day rule and the data you can keep
Social posts summarized this as "agents can't keep derived knowledge past 30 days." The text actually splits data into two buckets.
User data (the emails and files themselves) can only be stored as the existing Workspace user data policy allows, and only processed "to fulfill active, user-authorized tasks." There's no 30-day allowance for raw content. Google's blog calls it "no permanent raw storage."
Google Technical Information (what your agent derives) can be stored for 30 days at most. The definition lists vector embeddings, memory indexes, user profiles, organizational graphs and findings.
Rules for both buckets:
- Delete everything when the user disconnects your tool or revokes its access.
- No model training, fine-tuning, evaluation dataset building or distillation.
- No building a product "similar to a GWS Service" from the data.
- No scraping or systematic probing of Workspace APIs, MCP servers, skills or docs beyond what a user-authorized task needs.
If your agent keeps a long-lived memory of a user's inbox, change that design: put a 30-day TTL on every embedding and index built from Workspace data, key it by user and connection, and wire disconnect to a hard delete. Google can restrict or suspend access "immediately" if it believes a tool broke these rules.
User confirmations for high-impact actions
External agents must get user confirmation for actions such as sending external email, changing Drive sharing or making bulk edits, following rules the Workspace admin defines.
The mechanism is MCP form elicitation: the MCP server pauses a tool call and asks your client to show the user a form. Google's elicitation guide lists two endpoints per server:
| Endpoint | Who it's for | What you get |
|---|---|---|
/mcp/v1 |
Hosts that support form elicitation | Every tool and full result sets, including tools that always need approval |
/mcp/v1self |
Hosts that can't show approval forms yet | A reduced toolset; searches return only results that need no approval |
If a client calls a tool that needs approval without declaring elicitation support, the server blocks it with a MissingRequiredClientCapability error. Prebuilt hosts with elicitation support, such as Claude Desktop, need no code; a custom host must wire the handler into its UI. The Workspace CLI prompts on standard error and reads answers from standard input.
Admins already can view, audit and revoke AI agents in the admin console. Google says user-facing activity views, time-limited approvals and AI access restrictions for specific Gmail messages and Drive folders are coming soon.
Quotas and billing for Workspace MCP servers
The terms come with a new usage tier model, and its dates line up with the addendum:
| Date | What happens |
|---|---|
| November 24, 2026 | Standard and Scaled Tiers launch; quota dashboard in the Cloud console |
| February 1, 2027 | Addendum takes effect; agents must use MCP servers or the CLI |
| April 1, 2027 | Quota enforcement and Scaled Tier billing begin |
The Standard Tier is free with no billing account: up to 5,000 requests per day, per project, per product on GA MCP servers, plus per-minute limits. Some MCP tools count as several requests, so measure. Over the limit, requests are throttled until the window resets.
The Scaled Tier needs a linked billing account, and its Gmail, Calendar and Drive MCP usage is billed from the first request. Google expects fewer than 1% of developers to need it.
Check your Workspace MCP contract with Apidog CLI
Once you migrate, the MCP server's tool list is your contract. If a tool your agent calls disappears, you want a red build, not a confused agent. Let your coding agent write that check with Apidog CLI.
Set up the CLI once:
npm install -g apidog-cli@latest
apidog login --with-token <YOUR_TOKEN>
npx -y skills add https://apidog.com # pick your agent when prompted
Then give your agent one prompt:
In Apidog project <projectId>, create a test scenario called "Workspace MCP contract
check". Step 1: POST a JSON-RPC tools/list to https://gmailmcp.googleapis.com/mcp/v1
and assert status 200 and that send_message and search_threads are listed. Step 2: the
same against drivemcp, asserting search_files and read_file_content. Step 3: call
search_threads with no OAuth token and assert status 401. Read the CLI schema and
validate the payload before writing, then run it and summarize the result.
The agent reads the schema, validates its file, writes the scenario and runs it:
apidog cli-schema get test-scenario-update
apidog test-scenario create --project <projectId> --name "Workspace MCP contract check" \
--folder-id 0 --priority 1
apidog cli-schema validate test-scenario-update --file steps.json
apidog test-scenario update <scenarioId> --project <projectId> --file steps.json
apidog run -t <scenarioId> --project <projectId> -e <envId> -r cli,junit
Here it is against Google's live servers. tools/list needs no token; the unauthenticated call gets 401:
If your project blocks AI writes on main, pass an AI branch with --branch <branchName>. Add the apidog run line to CI with the pipeline guide; the apidog run reference covers every flag. With an agent OAuth token, add authenticated steps via --env-var.
Apidog doesn't make your agent compliant. It proves the tools you depend on still behave as your code expects.
Running this migration across several agent integrations at once? Sharkly lets your team hand each one out as a task to a coding agent running on your own machines with your own Claude Code or Codex plan, and review the diff before it merges. It's free to start.
What to change before February 1, 2027
- Inventory every service that touches Workspace data and mark the AI-driven ones.
- Create an agent OAuth client in the same Cloud project as the MCP services.
-
Swap REST calls for MCP tools or
gwscli. -
Support form elicitation on
/mcp/v1, or accept the reduced/mcp/v1selftoolset. - Put a 30-day TTL on embeddings, memories and profiles built from Workspace data.
- Delete on disconnect and drop training pipelines that read Workspace data.
- Watch the quota dashboard before April 1, 2027.
For the trade-off between MCP servers and agent skills, see MCP skills over MCP servers.
Conclusion
The Google Workspace API terms for AI agents move every agent to one governed door, put a 30-day clock on what agents learn, and make users approve the actions that matter. You have two months to migrate; start with a test that tells you when the MCP contract changes.
FAQ
Do the new terms apply to my own personal scripts? The addendum covers any AI-driven tool you "use or authorize" and doesn't carve out personal use. Google's setup guide even offers a personal-mode OAuth client for single-account agents.
Can my agent still use the Gmail API after February 1, 2027? Not directly. AI agents must use the Gmail MCP server or the Workspace CLI. Apps not driven by AI can keep calling the REST API.
Does the 30-day limit apply to emails and files? No. The 30 days cover derived data such as embeddings, memory indexes and profiles. Raw user data has stricter rules: store it only as the user data policy allows, use it only for active tasks, and delete it on disconnect.
Are the Workspace MCP servers free? The Standard Tier is free, up to 5,000 requests per day, per project, per product. Scaled Tier billing starts April 1, 2027.
What happens if my client doesn't support MCP elicitation? Calls that need approval fail with MissingRequiredClientCapability. You can connect to the /mcp/v1self endpoint instead, which hides tools that always need approval and returns only results that need none.
What happens if an agent breaks the addendum? Google may immediately restrict or remove the tool's access, or suspend or terminate your access to the Workspace APIs and services involved.




Top comments (0)