Learn AI at the cost of chai. Level 1 is free. Founding Pro will be ₹499 for the first year, about one chai a week.Five minutes a day, one AI idea at a time. Free to start, with a Google sign-in.From ML basics to production AI, one card at a time. Free to start, with a Google sign-in.

Blog By 7 min read ai in production backend llm

Google Workspace MCP vs REST API for AI agents

Google Workspace MCP vs REST API: from 1 Feb 2027, AI agents must use MCP. Who counts as an agent, the 5,000 a day quota trap, and how to split OAuth clients.

Updated

Your cron job is fine. Your agent has until 1 February.

On 24 November, Google made its Workspace MCP servers generally available and added a new rule to its API terms. From 1 February 2027, anything that “is or is driven by” an AI agent has to reach Gmail, Drive, Calendar and the rest through Google’s MCP servers or its new Workspace CLI. Not the REST APIs it has been calling for years. Eligible internal projects can still pick REST, MCP or the CLI, if they claim Google’s internal-use exception.

If you’re weighing Google Workspace MCP vs REST API for AI agents, Google already picked for most of us. What’s left to work out is which part of your code counts as the agent, and what that will cost.

Short answer: a REST API is built for deterministic calls from code you wrote. MCP is built for AI agents that discover tools at run time. On Workspace that difference also sets your quota, your bill and your audit trail, and from 1 February 2027 it decides which one an agent may use.

What changes on 1 February 2027?

From Google’s announcement:

  • AI agents “or similar access tools” must use the Workspace MCP servers or the Workspace CLI instead of calling Workspace REST APIs directly. Technical enforcement starts on 1 February. Internal projects that claim Google’s internal-use exception can still pick REST, MCP or the CLI.
  • From that date, an agent that keeps calling REST directly is held to Standard tier quotas, whatever tier its project pays for.
  • OAuth clients used by agents need “Use this client for an AI-powered agent” ticked. Google says traditional non-agent features should sit on a separate OAuth client.

On 1 April 2027, paid Scaled tier billing starts for Gmail, Calendar and Drive.

A plain integration with no model in it stays on REST. Google just wants it on its own client.

What is the difference between MCP and a REST API?

Google’s wording is the clearest. In its November announcement, REST APIs “are designed for deterministic app calls”, while the MCP servers and the Workspace CLI are “purpose-built for dynamic agent workflows”. MCP itself is an open standard for connecting AI applications to outside systems, and its docs compare it to a USB-C port for AI.

In practice, on Workspace, it comes down to four things. All are from Google’s docs, checked on 2 December 2026.

Discovery. An agent finds MCP tools and their schemas at run time, so Google can improve a tool without you changing code. With REST you write each call yourself.

Output. Google says MCP tools return synthesised results inside Workspace’s boundary instead of raw data, which cuts token cost and latency.

Controls. The MCP servers come with user confirmations, audit logging and admin controls built in.

Money. On the free Standard tier, the generally available MCP servers are capped at 5,000 requests a day per project per product, per Google’s Gmail quota page. On the paid Scaled tier, REST has a daily no-charge allowance and Gmail MCP does not, so from 1 April 2027 its calls are billed from the first request.

There is one exception that changes the advice. Google’s pricing guide lets you mark eligible internal projects with an internal-use exception. Its Gmail quota page says internal agentic use cases “aren’t required to use MCP” and can pick REST, MCP or the Workspace CLI. If your agent only serves your own organisation, check this before you rebuild anything.

One retry rule saves you quota. Google says to retry HTTP 429 per-minute errors with truncated exponential backoff. Don’t auto-retry tools/call failures that come back as HTTP 200 with isError: true, such as bad arguments or a declined confirmation. They don’t count toward Scaled billing, but retrying them still burns your per-minute quota and the daily Standard limit.

Does my app count as an AI agent?

The new Workspace AI Tools Addendum defines it wide. An AI agent is a “goal-oriented” AI system or workflow that acts on your behalf, “in a supervised or autonomous manner”. The MCP rule applies to any tool that “is or is driven by an AI Agent, an AI Harness or an AI model or service employing an AI model”. The same clause says you can’t disguise an agent to dodge the label.

The easy cases sort themselves. Claude or Codex with a Gmail plugin is an agent. A nightly export to a warehouse isn’t.

The messy case is the one most of us ship. Say your code pulls emails over REST, an LLM summarises them, and the model’s answer decides which thread gets labelled or which doc gets fetched next.

Google hasn’t drawn that line in public. My reading, and it’s only mine: once model output decides which Workspace call happens next, you’re “driven by” a model. If your code makes every call and the model only reads text you hand it, you look more like a normal app. That’s not legal advice. If a contract depends on it, ask Google.

Google Workspace MCP vs REST API: the quota math

On the free Standard tier, each Workspace MCP server gets 5,000 requests a day, per project, per product. That’s per project, not per user.

Some calls also count as more than one. On the Gmail quota page, search_threads and list_drafts each count as 10 requests. An agent that only searches gets 500 searches a day, shared by every user of your product. A chatty agent that searches three times per question runs out before lunch.

Need more? You move the whole Cloud project to the Scaled tier with a billing account. From 1 April 2027, Gmail, Calendar and Drive MCP calls on Scaled are billed from the first request. REST calls on the same tier get daily free allowances first: 70 million Light Gmail requests a day per billing account, for example.

The agent path is the metered one. The boring path is nearly free.

That changes a habit. Over REST, a lazy agent loop cost you latency. Over MCP it costs quota, and from April, money. Treat each tool call like a query in a hot path. Count them per task, cap them per user, and back off properly when you get throttled. Retrying into a throttle is how one busy customer turns into everyone’s outage, which is why I keep going on about capping failover. And as with the prompt cache timer, a price without its limit next to it is half a price.

The 30-day rule for agent memory

The addendum has a line RAG builders will read twice. You can’t store “Google Technical Information” for more than 30 days, and the definition lists “vector embeddings, memory indexes, user profiles, organizational graphs”. You also can’t keep Workspace user data or that information after the user disconnects, or use any of it for training, fine-tuning, eval datasets or distillation.

If your pitch is “an AI that remembers every email you got last year”, it now has an expiry date. Rebuild indexes on a schedule, or keep them short-lived from day one.

It’s the same theme as zero data retention. A retention promise only means something if you can show where the data lives and when it dies. Now Google expects you to show it.

How should you split your integration before February?

  1. List every Workspace call your product makes. Next to each one, write who decides it: your code or a model.
  2. Put the agent on its own OAuth client with the agentic box ticked. Google’s setup guide says to create a new client if you can’t change an old one, or if it also serves non-agent features. I’d go one step further and give the agent its own Cloud project, because the Scaled tier applies to a whole project. One meter per thing keeps the bill readable.
  3. Keep deterministic jobs on REST, on their own client, with no model anywhere in the loop.
  4. Budget tool calls per task, per user, per day. Log them.
  5. Assume the inbox is hostile. Google’s own MCP setup guide warns about indirect prompt injection, and your agent reads strangers’ email for a living. Keep a human confirmation on sending and sharing. Workspace admins can now set rules that make users confirm sensitive actions in third-party AI tools. It’s the lesson from the 1Password breach again: limit how far one bad input can travel.

Is this good or bad for builders?

Both.

The security case is real. A REST token with Gmail scopes can’t tell whether a human or a prompt-injected model is holding it. A gateway with audit logs, DLP and confirmations can at least see what the agent did.

It’s also Google choosing the road, the toll and the speed limit for its own data. The addendum even bans using Workspace data to build something “similar to a GWS Service”. Read that before you build the next Gmail.

None of it moves the deadline.

My Rule for 2026: If a model decides the call, it goes through the front door. If your code decides, keep it boring. Never let one OAuth client do both.

So, in your stack today, can you point at the exact line where your code stops deciding and the model starts?

Get the next one by email.

Sent when a post is ready. Never filler.

Free / One email per post / Unsubscribe in one click

Next issue // when it is ready

No filler.

One lesson from production per issue. What broke, why, and the rule I took from it. No roundups. No launch-day cheerleading.