mcp-google-workspace
This MCP server connects an AI client to a Google Workspace account and exposes tools for managing Workspace data, permissions, files, and optional Google services.
Connect/disconnect Google Workspace with incremental OAuth scopes, check connection status, refresh the tool catalog, and inspect capabilities or MCP Apps diagnostics.
Search across Drive, contacts, and Gmail; resolve stable Workspace resource URIs; and discover hidden tools with
search_tools/call_tool.Gmail: send, reply, read, search, organize threads/messages, manage drafts, labels, attachments, and extended settings like filters/forwarding/vacation.
Calendar: search/read events and digests, get calendar context, find free time, and create/update/respond to/delete events with conflict checks.
Drive: list/search/read files, upload/download/export, create folders, update metadata, move/copy/delete, manage sharing permissions, and work with Shared Drives.
Sheets, Docs, Slides, and Forms: create/read/update content, use convenience mutations, and perform raw batch updates in the extended tier.
Tasks and People: manage task lists/tasks and personal contacts/contact groups.
Optional integrations: Google Keep, Chat, Meet, and Gemini media tools when enabled.
MCP Apps dashboard and file picker: interactive dashboard views and upload handles usable by Gmail, Drive, and Gemini tools.
Consequential actions support preview/commit one-time tokens; the server also provides progress notifications, background tasks, resources, prompts, stdio, and authenticated Streamable HTTP.
Allows sending, reading, searching emails, managing labels, attachments, drafts, threads, filters, forwarding, vacation settings, and summarizing emails.
Provides tools for managing events, calendars, availability checks, smart scheduling, event attachments, and conflict prevention.
Integration for Google Chat (optional, requires enabling).
Allows fetching and creating documents, appending and replacing text, and raw batch updates.
Provides file/folder CRUD, uploads, downloads, exports, sharing permissions, and Shared Drives operations.
Allows creating, reading, updating forms, managing publish settings, and reading responses.
Integration for Google Keep (optional, requires enabling).
Integration for Google Meet (optional, requires enabling).
Provides spreadsheet metadata, reading/writing values, appending, and raw batch updates.
Allows creating and modifying presentations, slide pages, thumbnails, text replacement, and raw batch updates.
Manages task lists and tasks, including creation, completion, movement, and deletion.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-google-workspaceschedule a meeting with Sarah for next Tuesday at 2pm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-google-workspace
Production-oriented Google Workspace MCP package with:
Gmail MCP: send/read/search emails, attachment handling, label management, batch operations.
Google Calendar MCP: events, availability, create/update/delete operations.
Google Drive MCP: files/folders CRUD, uploads/downloads/exports, sharing permissions, Shared Drives operations.
Google Sheets MCP: spreadsheet metadata, values reads/writes, and raw batch updates.
Google Docs MCP: document fetch/create flows plus convenience text mutations and raw batch updates.
Google Tasks MCP: task lists, tasks, completion, movement, and deletion.
Google People MCP: personal contacts and contact groups.
Google Forms MCP: forms CRUD, publish settings, and response reads.
Google Slides MCP: presentations, slide pages, thumbnails, text replacement, and raw batch updates.
MCP Apps Dashboard: workspace dashboard app-layer tools/resources with interactive UI.
Optional Google Keep MCP, Google Chat MCP, Google Meet MCP, and Gemini media integrations behind feature flags.
FastMCP advanced features: progress updates, background tasks, resources, and prompts on MCP 2026-07-28.
Composed server architecture: Gmail + Calendar + Drive + Sheets + Docs + Tasks + People + Forms + Slides mounted by default, with optional Apps/Keep/Chat/Meet/Gemini namespaces.
Protocol support: MCP 2026-07-28 (modern, no session) plus legacy handshake-era connectivity for 2024-11-05 through 2025-11-25, over both stdio and Streamable HTTP.
Requirements
Python 3.12+
UV package manager
Node.js 20+ and npm (required for MCP Apps UI in
src/mcp_google_workspace/apps/ui)Google Cloud OAuth client credentials (
credentials.json) for a client marked Use this client for an AI-powered agent (see OAuth setup)Google APIs enabled in your Google Cloud project: Gmail, Calendar, Drive, Sheets, Docs, Tasks, People, Forms, and Slides
Optional APIs when enabling feature-flagged integrations: Google Keep, Google Chat, and Google Meet
Gemini Developer API key when enabling Gemini media tools
Related MCP server: Google Workspace MCP Server
Installation
uv sync --all-extras --devIf you are working on MCP Apps UI, install frontend dependencies and build the bundle:
cd src/mcp_google_workspace/apps/ui
npm ci
npm run buildOAuth setup
Create the server's OAuth client as an AI agent client:
In the Google Cloud console, open Google Auth Platform → Clients and create a client: Desktop app for local stdio/MCPB, or Web application with
MCP_GOOGLE_OAUTH_REDIRECT_URLas an authorized redirect URI for HTTP deployments.Select Use this client for an AI-powered agent.
Download the client JSON as
credentials.json.
Google asks developers to mark every OAuth client that an AI agent uses, even one that only calls the Workspace REST APIs, and to keep agent and non-agent workflows on separate client IDs. Use a dedicated client for this server rather than one shared with other apps. The mark grants no extra scopes and does not replace user consent; it lets Workspace administrators apply agent-specific access controls. From November 11, 2026, Google's hosted Workspace MCP servers reject clients that are not marked. This server calls the Workspace REST APIs, not those hosted servers, so an unmarked client still works here. On November 12, 2026, the setting becomes permanent on existing clients: if yours is unmarked after that date, create a new client. See Manage OAuth clients.
To switch an existing installation to a new client, replace credentials.json, then call disconnect_google_workspace (it asks you to confirm) and connect again (each user, over HTTP). Saved grants keep refreshing through the client that issued them until you reconnect.
Place the Google OAuth client credentials.json in one of:
project root:
./credentials.jsonpackage credentials folder:
./src/credentials/credentials.json
Each user's Google refresh token is encrypted separately with Fernet; the MCP never writes a shared token.json.
Local stdio / MCPB: nothing to configure. On first use the server generates the encryption key and keeps it in the OS keychain (Windows Credential Manager, macOS Keychain, or the Secret Service on Linux), never in a file or in the host's extension settings. If no secure keychain is available (for example headless Linux), startup stops and asks you to set MCP_TOKEN_ENCRYPTION_KEY instead. Losing the keychain entry (new machine, OS reinstall) only means reconnecting Google once.
HTTP deployments: configure a versioned key ring from your secret manager. Mount a secret-manager document through MCP_SECRET_FILE; MCP_TOKEN_ENCRYPTION_KEY remains a single-key development option. The keychain is never used over HTTP.
Generate a key once and store it in your secret manager:
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"Mounted secret document:
{
"active_token_encryption_key_id": "2026-07",
"token_encryption_keys": {
"2026-07": "<active Fernet key>",
"2026-04": "<retained previous Fernet key>"
}
}Reads accept retained keys and rewrite ciphertext with the active key. Remove an old key only after a rotation/restore drill confirms all durable records have been rewritten.
Tool tiers
MCP_TOOL_TIER selects how much of the catalog is published:
core(default): the everyday tools of every core service (82 tools).extended: core plus the raw*_batch_update_*tools for Docs, Sheets, Slides and Forms, the Gmail settings tools (gmail_manage_filters,gmail_manage_forwarding,gmail_manage_vacation),drive_update_driveandget_mcp_apps_diagnostics(91 tools).complete: extended plus every optional integration below (Apps dashboard, Chat, Keep, Meet, and Gemini whenGEMINI_API_KEYis set) unless itsENABLE_*flag is explicitlyfalse.
Tools above the active tier are not registered: they are absent from tools/list, a call to one is an unknown tool, and prepare_workspace_action does not offer them. format: raw on sheets_get_spreadsheet, slides_read_presentation and forms_get_form (Google's resource unchanged, to read before a raw batch update) also needs extended or complete; under core it fails with invalid_input. get_google_connection_status reports the active tier under server.tool_tier.
Consent
Calls that are hard to undo or reach other people ask the user first: sending mail, replies, drafts, invitations and Chat messages; sharing and unsharing; permanent deletion; forwarding, forwarding or trashing filters and the auto-reply; disconnecting; and changes to 10 or more items in one call. Reads and ordinary reversible edits do not ask. No tool argument skips the question; arguments that change what happens (mode: permanent, send_updates, the recipients) decide whether it is asked.
A client that supports elicitation shows the question with a preview of exactly what will happen. Other clients get a confirmation_required error whose next step is prepare_workspace_action, which returns the same preview and a one-time token; commit_workspace_action then runs that exact call once. For those clients the host's own permission prompt on commit_workspace_action is the point where a person approves, so do not auto-approve that tool. gmail_modify_messages, gmail_delete and the *_batch_update_* tools take dry_run: true to return the preview without changing anything.
Variable | Default | Effect |
|
|
|
|
| Recipient count from which a send preview flags a large send. It does not decide whether a send asks: every send asks. |
Classification is per call; the table is in src/mcp_google_workspace/common/consent.py and the model in docs/CONSENT.md.
Optional service feature flags
Sheets, Docs, Tasks, People, Forms, and Slides are mounted by default and their scopes are always requested. When scopes change, reconnect the affected user so their encrypted per-user token receives the expanded grant.
Google Keep OAuth scope can return invalid_scope in standard user OAuth flows.
Keep integration is therefore disabled by default.
Enable Keep when your Google Workspace setup supports it:
$env:ENABLE_KEEP="true"Google Chat OAuth scopes also commonly require Google Workspace accounts. Chat integration is therefore disabled by default.
Enable Chat when your Google Workspace setup supports it:
$env:ENABLE_CHAT="true"Google Meet integration is also disabled by default. Enable it only after enabling the Meet API for the same OAuth client:
$env:ENABLE_MEET="true"Gemini media integration is also disabled by default. Enable it with a Gemini Developer API key:
$env:ENABLE_GEMINI="true"
$env:GEMINI_API_KEY="your-api-key"Capability-specific Gemini model defaults:
$env:GEMINI_IMAGE_GENERATE_MODEL="gemini-3.1-flash-image-preview"
$env:GEMINI_IMAGE_EDIT_MODEL="gemini-3.1-flash-image-preview"
$env:GEMINI_VIDEO_UNDERSTANDING_MODEL="gemini-3-flash-preview"
$env:GEMINI_AUDIO_UNDERSTANDING_MODEL="gemini-3-flash-preview"
$env:GEMINI_REASONING_MODEL="gemini-3.1-pro-preview"Whenever you enable an optional integration or otherwise change scopes, reconnect each affected user.
Apps dashboard rollout flag
The MCP app-layer dashboard namespace is opt-in for controlled rollout.
Enable apps namespace:
$env:ENABLE_APPS_DASHBOARD="true"Run (STDIO)
uv run python -m mcp_google_workspaceLocal stdio trust boundary
A local stdio server (including the MCPB bundle) serves exactly one trusted user: the
person running it. There is no bearer token, so every request runs as one explicit
trusted-local principal (MCP_LOCAL_PRINCIPAL, default local-user). That principal owns
the Google grant, the picker uploads, and the dashboard views of this process.
Dashboard view handles and upload IDs are still unguessable (256-bit and 192-bit random
values) and are checked on every call, but over stdio they only keep one view's state
apart from another view's. They are not multitenant isolation: anything that can talk
to this stdio process already acts as that user. Serve more than one user only through
the authenticated Streamable HTTP entrypoint, where every handle and upload is bound to
the verified (issuer, subject) of the bearer token.
MCP Bundle (MCPB)
This repository now includes a native uv-based MCP Bundle manifest and packaging assets.
Install on Claude Desktop:
Download the latest
.mcpbfrom GitHub Releases.In Claude Desktop, open the MCP bundle install flow.
Select the downloaded
mcp-google-workspace-*.mcpbfile.Choose the credentials directory that contains
credentials.json(a Desktop app client marked as an AI agent client; see OAuth setup), or leave it empty to use the repo defaults.Enable optional integrations only if your Google Workspace account and OAuth client support their scopes.
Finish the install and authenticate in the browser on first launch.
Gemini media tools are API-key-based rather than OAuth-based. If you enable Gemini in the bundle UI, also set the Gemini API key and optional model defaults there.
Build a local .mcpb archive only if you are developing or testing bundle changes:
uv run python scripts/build_mcpb.pyThe packaging command runs npm ci and rebuilds the Apps UI from the exact
frontend lock before creating the archive. It fails instead of packaging a
stale generated UI.
Note: Claude Desktop currently rejects extra server metadata keys such as package_manager, python_version, and working_dir, so this bundle keeps the uv server block to the manifest fields Claude accepts.
Bundle-specific documentation, runtime settings, and validation steps live in docs/MCPB.md.
Run (Streamable HTTP)
The remote server speaks MCP Streamable HTTP for protocol 2026-07-28 and keeps FastMCP's built-in compatibility path for every handshake-era (legacy) client version: 2024-11-05, 2025-03-26, 2025-06-18, and 2025-11-25. /version reports both the full supported set and the pair this repository's suite actively tests (2025-11-25 and 2026-07-28). Modern requests are self-contained POSTs with no session: a response is JSON unless the tool reports progress or runs long, in which case it becomes a request-scoped SSE stream, and closing that stream cancels the tool. Legacy requests keep the initialize handshake and an Mcp-Session-Id session. Durable long-running work runs as MCP Tasks on the Redis queue. It requires an OIDC bearer-token issuer and refuses to start without this configuration:
$env:MCP_HOST="0.0.0.0"
$env:MCP_PORT="8000"
$env:MCP_HTTP_BASE_URL="https://mcp.example.com"
$env:MCP_HTTP_JWT_ISSUER="https://issuer.example.com"
$env:MCP_HTTP_JWT_AUDIENCE="google-workspace-mcp"
$env:MCP_HTTP_JWKS_URI="https://issuer.example.com/.well-known/jwks.json"
$env:MCP_GOOGLE_OAUTH_REDIRECT_URL="https://mcp.example.com/google/oauth/callback"
$env:MCP_USER_TOKEN_DIR="/srv/mcp-google-workspace/tokens"
$env:MCP_SECRET_FILE="/run/secrets/mcp-google-workspace.json"
uv run python -m mcp_google_workspace.server_httpClients connect with an OIDC bearer JWT. The server validates its signature (JWKS), issuer, audience and expiry, and requires iss, sub and exp; the verified iss + sub selects an isolated encrypted Google token. MCP bearer tokens are never forwarded to Google. A request without a valid token gets 401 with a WWW-Authenticate challenge whose resource_metadata points to the RFC 9728 document served at /.well-known/oauth-protected-resource<base path>/mcp, which names the issuer as the authorization server (the server does not implement an authorization server or dynamic client registration). Each user calls connect_google_workspace, opens its returned URL and completes Google consent; tools/list reflects the caller's current grants on every request (get_google_connection_status reports them). The callback is PKCE-protected, one-time, checks the RFC 9207 iss parameter when present, and cannot connect Google credentials to a different MCP principal.
Docker / GHCR
Every GitHub release publishes a signed multi-architecture image for
linux/amd64 and linux/arm64:
docker pull ghcr.io/guinacio/mcp-google-workspace:latest
docker pull ghcr.io/guinacio/mcp-google-workspace:2.1.0The image runs the authenticated Streamable HTTP entrypoint on port 8000. It does not replace the local stdio/MCPB installation. To run it locally:
cp .env.example .env
# Configure the OIDC, Google OAuth redirect, and encryption values in .env.
# Place the Google OAuth client at ./credentials.json.
docker compose up -d
curl http://localhost:8000/health/liveThe Compose service persists encrypted Google tokens and upload metadata in a
named volume. For production, terminate TLS in front of the container, use a
versioned image tag, mount a versioned MCP_SECRET_FILE, and configure the
distributed Redis/S3 contract described under Production operations when
running multiple replicas.
Release images include signed GitHub build provenance. Verify a tag with:
gh attestation verify \
oci://ghcr.io/guinacio/mcp-google-workspace:2.1.0 \
-R guinacio/mcp-google-workspaceNotable MCP tools
The catalog is organised around tasks rather than Google API methods: one tool per job, with typed parameters, and an action enum where a resource has several operations. The default core tier publishes 82 tools (80 for the model plus two app-only upload callbacks); see Tool tiers for the rest.
Gmail (namespaced as gmail_* in composed server):
search_emails(Gmail query plus sender, recipient, subject, unread, attachment and age filters;group_by_threadlists conversations)get_mail_digest,check_mail_updates(unbiased received/sent feeds, including routed and automated mail)read_emails(one to 100 messages at one detail level; attachments carry theirdownload_id),get_thread,download_attachmentsend_email,reply(true Gmail-thread replies with RFC reply headers;reply_allcopies everyone)modify_messages: labels by name or ID, read/unread, archive or back to the inbox, spam/not spam and restore from Trash, for messages or a whole threaddelete: Trash (default) or permanent deletion of messages or a threadDrafts:
save_draft(create, or rewrite withdraft_id),list_drafts(draft_idreads one),send_draft,delete_draftLabels:
list_labels,manage_labels(create,update,delete)Extended tier:
manage_filters,manage_forwarding,manage_vacation
Label parameters accept names as shown in Gmail ("Clients/Acme") or IDs; system labels such as INBOX, UNREAD or STARRED match case-insensitively. A name costs one users.labels.list per call; an unknown or ambiguous name fails with not_found and the candidate labels, and no label is ever created implicitly.
Calendar (namespaced as calendar_*):
search_events,read_events,get_calendar_digestget_calendar_context: the account time zone and current time, plus the user's calendarsfind_free_time: one FreeBusy query that reports whether a window is free for everyone (all_free, busy periods per calendar) and suggests slots of a given length inside working hourscreate_event,update_event(add_meet_link,reminder_minutesorreminderswith popup and email methods,send_updates, color, visibility, transparency, attendees, attachments, recurrence),respond_to_event,delete_eventset_event_attachments: add and remove attachments in one change; attached Drive files download throughdrive_download_fileConflict prevention: create/update run overlap checks and fail with
conflictwhen the slot is unavailable; updates exclude the event being movedRetry safety: pass a stable
idempotency_keytocreate_event; the App does this automatically and Google Calendar stores a deterministic event ID
find_free_time takes participants (calendar IDs or attendee emails, as a native JSON array), time_min/time_max, slot_duration_minutes (default 30), granularity_minutes (15), max_results (10), time_zone and working_hours_start/working_hours_end (08:00/17:00). To check one proposed time, pass it as the window and read all_free.
Drive (namespaced as drive_*):
Find and read:
list_files(Drive query plusfolder_id,kind,modified_afterandfull_textfilters),get_file(metadata plus how the content can be retrieved),read_file(text of Docs, Sheets, Slides and text files)Write:
upload_file(new file from an upload or local path, replace an existing file's content withfile_id, or an empty/native Google file from metadata alone),create_folder,update_file_metadata,move_file,copy_file,delete_fileSave locally:
download_file(stored files, and Google files exported to PDF orexport_mime_type; local stdio only)Sharing:
list_permissions,share_file(new grant, or change one withpermission_id),unshare_fileShared drives:
list_drives; extended tier:update_drive(hide or unhide)Progress reporting:
upload_fileanddownload_fileemit MCP progress updates
Sheets (namespaced as sheets_*):
get_spreadsheet(format: rawin the extended tier: Google's Spreadsheet resource, paged by sheet),create_spreadsheetValues:
read_sheet_values(one or many ranges),update_sheet_values,append_sheet_valuesExtended tier:
batch_update_spreadsheet(raw request escape hatch)
Docs (namespaced as docs_*):
read_document(text,markdown,outlinewith the indices batch updates need, orraw),create_documentConvenience text mutations:
append_document_text,replace_document_textExtended tier:
batch_update_document
Tasks (namespaced as tasks_*):
Task lists:
list_tasklists(tasklist_idreads one),create_tasklistTasks:
list_tasks(task_idreads one),tasks_digest,create_task,update_task(fields, completion, and moves within or across lists),delete_task; every task tool defaults to the account's default list
People (namespaced as people_*):
Contacts:
search_contacts(withoutqueryit lists every contact),get_contact,create_contact,update_contact,delete_contactContact groups:
manage_contact_groups(list,create,modify_members)Scope note: v1 is personal contacts only; Workspace directory lookup is intentionally excluded
Forms (namespaced as forms_*):
get_form(format: rawin the extended tier: Google's Form resource, paged by item),create_form,set_form_publish_settingsResponses:
list_form_responses(response_idreads one)Extended tier:
batch_update_form
Slides (namespaced as slides_*):
read_presentation(outline with each slide's text and notes;slide_idsadds element geometry;format: rawin the extended tier: Google's Presentation, or the Pages ofslide_ids, paged),create_presentation,get_slide_thumbnailText mutation:
replace_text_in_presentation; extended tier:batch_update_presentation
Apps (namespaced as apps_*, mounted when ENABLE_APPS_DASHBOARD=true):
State/navigation:
get_state,set_state,patch_state,today,next_range,prev_rangeDashboard:
get_dashboardWeekly calendar layout:
get_weekly_calendar_view(Google Calendar-like week columns)Detail views:
get_event_detail,get_email_detail,get_email_attachmentCalendar mutations are provided only by the core
calendar_*tools; the App namespace contains view/state tools only.
Keep (namespaced as keep_*):
create_note,get_note,list_notes,delete_noteshare_note,unshare_notecompatibility stubs for unsupported Keep v1 operations:
update_notearchive_note,unarchive_notelist_keep_labels,create_keep_label,delete_keep_labelchecklist mutation helpers
Note: Keep tools/resources are mounted only when ENABLE_KEEP=true.
Chat (namespaced as chat_*):
list_spaces,get_spacelist_messages,get_messagecreate_message,update_message,delete_message
Note: Chat tools/resources are mounted only when ENABLE_CHAT=true.
Meet (namespaced as meet_*, mounted when ENABLE_MEET=true):
Spaces:
create_space,get_space,update_space,end_active_conferenceConference records:
list_conference_records,get_conference_record
Gemini (namespaced as gemini_*, mounted when ENABLE_GEMINI=true):
generate_image,edit_imagedescribe_video,analyze_audiolocal filesystem or Drive file ID inputs for media tools
generated images are written locally under
GEMINI_OUTPUT_DIRArtifacts and attendance metadata:
list_conference_participants,list_conference_recordings,list_conference_transcriptsv1 scope boundary: metadata only; transcript or recording file downloads still belong in Drive if added later
MCP Resources and Prompts
Gmail resources:
gmail://inbox/summarygmail://labelsgmail://email/{message_id}
Calendar resources:
calendar://todaycalendar://week
Drive resources:
drive://recentdrive://shared-drivesdrive://file/{file_id}
Keep resources:
keep://notes/recentkeep://note/{note_id}
Chat resources:
chat://spaceschat://space/{space_id}/messageschat://space/{space_id}/memberschat://users/{user_ref}chat://users/me
Apps resources (mounted when ENABLE_APPS_DASHBOARD=true; the root composition adds the apps namespace prefix, matching the mounted ui://apps/dashboard-ui address below):
apps://apps/dashboard/currentapps://apps/dashboard/day/{ymd}apps://apps/dashboard/week/{ymd}apps://apps/calendar/week/{ymd}
Prompts:
compose_email_promptreply_email_promptsummarize_inbox_promptsummarize_keep_note_promptextract_actions_from_keep_notes_promptdraft_chat_announcement_promptsummarize_chat_thread_prompt
Production operations
The remote runtime exposes unauthenticated minimal operational endpoints:
/health/live— event-loop/process liveness/health/ready— draining, encryption, token storage, Redis, S3, app state, task queue, operation records, operation lease and (for a fleet) continuation keys and shared storage; advisory checks are listed underwarnings/version— package/build/MCP protocol versions without secrets/metrics— Prometheus/OpenTelemetry-compatible low-cardinality metrics
Admission control is principal- and tool-cost-aware. Per-principal limits are fleet-wide (enforced in Redis) whenever MCP_REDIS_URL is set, and process-local otherwise (MCP_ADMISSION_BACKEND=auto|local|redis); process limits always apply per process. Background-task executions take the same concurrency slots as foreground calls and count toward draining; the request rate is charged once, at submission. Rejections are JSON-RPC errors (-32005 rate limited, -32006 draining/unavailable); the deadline and every Google or validation failure are isError tool results with a stable error envelope.
Variable | Default | Scope | Purpose |
|
| principal (fleet) | Sliding one-minute request rate |
|
| principal (fleet) | Active calls and task executions per principal |
|
| principal (fleet) | Wait for a fleet concurrency slot before refusing |
|
| process | Active tool calls and task executions in this process |
|
| process | Maximum retained process-local admission identities |
|
| process | Idle admission-state retention |
|
| process | Gemini/download/export/batch calls |
|
| call | Standard deadline (also bounds a task's runtime) |
|
| call | Expensive-tool deadline; must stay below |
|
| process | In-flight request and task drain interval |
Google provider calls have a failure-window circuit breaker and expose logical-call versus HTTP-attempt metrics so retries are measurable. Logs include hashed principals and correlation IDs, never tokens, message bodies, prompts, filenames, recipient lists or continuation state. A valid W3C traceparent/tracestate in the request _meta parents the tool span; malformed values are ignored and baggage is never accepted. A multi-round-trip question is recorded as outcome input_required (a round, span attribute mcp.tool.round), separately from completed logical operations (mcp_workspace_logical_operations_total).
The HTTP boundary validates Host and Origin (defaults derived from MCP_HTTP_BASE_URL; MCP_ALLOWED_HOSTS, MCP_ALLOWED_ORIGINS), bounds request bodies while they stream (MCP_MAX_REQUEST_BYTES, 36 MiB, enough for one 25 MiB picker upload after base64 encoding; chunked bodies are refused with 413 before being buffered) and lets the SDK reject MCP-Protocol-Version / Mcp-Method / Mcp-Name mismatches (-32020) and unsupported versions (-32022) before any tool runs. MCP_HTTP_RESPONSE_MODE=json disables request-scoped SSE for intermediaries that cannot pass it (no progress, and disconnects no longer cancel tools). Change subscriptions (subscriptions/listen) are not advertised.
Deployment
A single stdio (MCPB) process or a single-process Streamable HTTP deployment needs none of the distributed infrastructure below: app state, uploads, operation records and the task queue all use in-memory backends, and Redis is not required. Redis (and S3-compatible object storage for uploads) becomes required only when you run more than one HTTP process or replica behind a load balancer, as described next. For a dedicated walkthrough of that fleet topology (Redis/S3 contract, reverse proxy, and running workers), see the multi-replica runbook.
For more than one HTTP process or replica, declare the fleet (MCP_WORKERS for processes per replica, MCP_REPLICAS for single-worker replicas; setting MCP_REDIS_URL implies a fleet too) and set MCP_REDIS_URL, MCP_UPLOAD_S3_BUCKET, MCP_REQUEST_STATE_KEYS and FASTMCP_TASKS_ENCRYPTION_KEY identically on every replica and worker. Redis then stores encrypted Google credentials, one-time PKCE state, distributed refresh locks, operation records, upload metadata, dashboard view state (encrypted with the same key ring), fleet admission counters and the task queue. Modern (2026-07-28) clients need no session affinity: every request is independent, and views, uploads, confirmations and tasks are addressed by server-issued handles or sealed continuations that any replica can verify. Only handshake-era (legacy) clients hold an Mcp-Session-Id session in one process; if you serve them behind several replicas, pin them to one replica at the load balancer (a hash of that header does not work; see the multi-replica runbook) and set MCP_SESSION_AFFINITY=true (readiness reports it as an advisory legacy_session_affinity check). Set MCP_TOKEN_REDIS_URL only when OAuth state must use a separate Redis deployment. Readiness fails unless OAuth state is Redis-backed and the complete distributed contract is reachable. Task-enabled tools run through the MCP Tasks extension (io.modelcontextprotocol/tasks), registered once on the root server by one shared factory for HTTP, stdio, and workers: the queue is FASTMCP_DOCKET_URL when set, otherwise MCP_REDIS_URL (except in the local stdio bundle), otherwise an in-process memory:// queue; the queue name defaults to mcp-google-workspace (FASTMCP_DOCKET_NAME overrides it). Set the same FASTMCP_TASKS_ENCRYPTION_KEY on every server and worker so queued caller-credential snapshots are encrypted (tool arguments and results are not). Additional workers run with uv run mcp-google-workspace-worker against the same Redis queue.
Clients without elicitation complete consequential calls with prepare_workspace_action and commit_workspace_action (see Consent). The one-time token is principal-bound and bound to the validated arguments, expires after MCP_CONFIRMATION_TTL_SECONDS (10 minutes by default), and comes with the same preview the elicitation would show. The bound action runs at most once: repeating a commit that already ran returns its saved result, and a call whose outcome is uncertain after a timeout or disconnect returns outcome_unknown with verification steps instead of being retried (see docs/migration/W4_CONFIRMATION_POLICY.md). Stable resource handles (gdrive:///..., gmail-message:///..., and related schemes) are included where applicable and can be refreshed through resolve_workspace_resource.
Emergency principal invalidation accepts hashed principal storage keys through MCP_REVOKED_PRINCIPALS or the Redis set mcp:revoked_principals. Redis-backed validation fails closed if revocation state cannot be checked.
MCP Client-Dependent Features
These features depend on active MCP client support and may be silently unavailable in clients that do not implement the corresponding MCP capabilities.
MCP Apps File Picker
The composed server exposes uploads_file_manager, built with FastMCP Prefab and delivered through the standard MCP Apps wire protocol. Its model-visible tool references a generated ui://prefab/tool/.../renderer.html resource served as text/html;profile=mcp-app; the rendered app provides drag-and-drop and native file selection. It is intended for hosted clients such as Claude where a server-local path is not useful and sending binary data through the model context is wasteful.
Typical flow:
Call
uploads_file_managerand let the user choose one or more files (up to 25 MiB each).Use the opaque
upl_...handle returned by the picker asuploaded_filein a Workspace tool.display_nameis presentation-only.The integration reads the bytes directly from scoped server storage; the binary payload does not pass through the model context.
uploaded_file is supported by:
Gmail
send_email,replyandsave_draftattachmentsDrive
upload_file(new files and content replacement)Gemini
edit_image,describe_video, andanalyze_audio
Local/stdio uploads live in process memory, scoped to the trusted-local principal (not to an MCP connection, so they survive across requests) and use the same upl_... handles, TTL, quota, and content checks as remote uploads; see Local stdio trust boundary. A single remote instance can use encrypted filesystem objects plus SQLite metadata through MCP_UPLOAD_DB. Multi-worker production uses Redis metadata and S3-compatible encrypted object storage by configuring MCP_REDIS_URL and MCP_UPLOAD_S3_BUCKET (plus optional MCP_UPLOAD_S3_ENDPOINT and MCP_UPLOAD_S3_PREFIX). Uploads use opaque handles, expire after one hour, and have a 250 MiB per-principal aggregate quota by default. Configure MCP_UPLOAD_TTL_SECONDS and MCP_UPLOAD_QUOTA_BYTES as needed. Uploads are MIME-sniffed, archive expansion is bounded, checksums are verified, and MCP_REQUIRE_MALWARE_SCAN=true enforces ClamAV through MCP_CLAMAV_HOST/MCP_CLAMAV_PORT. Raw host paths are absent from the remote catalog and rejected at runtime.
Uploads expire on their own; uploads_list_files lists them a page at a time (limit, cursor).
get_mcp_apps_diagnostics (extended tier) reports the UI resource, renderer mode, generated hidden callback addresses, and can run a temporary store/delete self-test with run_self_test=true.
The picker always serves the self-contained renderer bundled in the locked prefab-ui version (every transport, not only the MCPB), so its resource declares no CSP domains and loads nothing from a CDN. uploads_list_files and uploads_read_file are model-only; uploads_store_files and uploads_delete_file are the picker's app-only callbacks.
Requires: an MCP client with MCP Apps/iframe rendering support. Clients without Apps support can still use Google Drive file IDs or trusted local/stdio paths.
Progressive Tool Discovery
Both stdio and authenticated Streamable HTTP use FastMCP's BM25 Tool Search transform by default. The model-visible catalog is reduced to the connection and consent tools, search_workspace, the main read entry point of each core service (gmail_search_emails, gmail_get_mail_digest, calendar_search_events, calendar_get_calendar_digest, drive_list_files, tasks_tasks_digest), plus search_tools and call_tool; hidden tools, including the upload picker and diagnostics, remain callable after discovery. HTTP additionally hides namespaces whose OAuth capability is not granted and removes host-filesystem-only tools and parameters. The catalog is sorted and evaluated against the caller's current grants on every request (and re-checked when a tool is called, so a stale catalog cannot run a revoked capability); after a consent, list tools again (get_google_connection_status reports the grants; no notification is sent).
Configuration:
MCP_TOOL_SEARCH=auto(default): enable progressive discovery unlessMCP_CLIENT_MODELcontainsclaude.MCP_TOOL_SEARCH=on: always enable progressive discovery.MCP_TOOL_SEARCH=off: expose the complete catalog.MCP_CLIENT_MODEL=claude: disable progressive discovery in auto mode for Claude's current tool/App routing behavior.
The official MCPB manifest declares MCP_CLIENT_MODEL=claude, so Claude Desktop receives the complete catalog. For a manual Claude Desktop stdio configuration, add the same environment variable explicitly.
get_google_connection_status reports, besides the user's grants, the active tool tier, enabled namespaces, OAuth capability names, and supported file-input strategies. search_workspace searches Drive (names and content), contacts, and Gmail concurrently and returns normalized hits: Gmail hits carry subject, sender, date and snippet. docs_read_document and drive_read_file return a document or file as text (Docs also as Markdown) in pages, with the same next_offset, body_chars and body_sha256 paging fields as email bodies, so a remote client can read content without the server's filesystem.
Incremental Google Consent
connect_google_workspace accepts a capabilities list such as ["drive"], ["gmail", "calendar"], or ["people"]. When omitted it requests Gmail only. Tools build clients with service-specific scopes and return an actionable reconnect error when that capability has not yet been granted. get_google_connection_status accepts an optional capability to verify one grant and reports all currently granted capabilities. Disconnect attempts to revoke the Google grant before deleting encrypted local credentials.
Response and Error Contracts
All model-visible tools publish documented input schemas with closed objects; open input objects are limited to an audited set of genuine Google polymorphic batch maps. Argument size limits (1,000,000 characters per string, 10,000 items per array or properties per object) are enforced on every call but not repeated in the schemas. Every response is normalized by the server (snake_case keys, dates in the account's time zone, people as {name, email}, a resource handle per Workspace item carrying only what the item does not already say) and publishes an open output schema; batch-update tools keep Google's per-request replies inside that envelope. Every list-shaped response (list and search tools, digests, thread reads) carries the same count, has_more, next_page_token and fetched_at fields next to its resource-named list, plus account_timezone when its items carry dates; status appears only on results of changes. Uncaught tool failures use a machine-readable envelope with code, message, retryable, retry_after, executable required_action, provider_status, and field_errors.
Drive, Calendar, and Gemini Drive-media downloads stream through bounded temporary files instead of buffering complete files in memory. MCP_MAX_DOWNLOAD_BYTES controls the per-download ceiling (default 250 MiB, maximum 10 GiB). Setting MCP_REDIS_URL makes prepare/commit records cross-replica and atomic.
MCP Apps (UI Dashboard)
When ENABLE_APPS_DASHBOARD=true, the apps_get_dashboard and apps_get_weekly_calendar_view tools carry _meta.ui.resourceUri pointing to ui://apps/dashboard-ui (the nested key only; the flat ui/resourceUri alias and the old ui://dashboard-ui/apps://dashboard/ui addresses were removed). MCP clients that support the stable MCP Apps protocol (2026-01-26), such as Claude Desktop, embed an interactive workspace dashboard alongside the tool response. The dashboard applies the host's theme, colors, fonts, safe area and container size, and loads nothing from the network (no web fonts, no CDN), so the host's default CSP applies.
The UI is a vanilla TypeScript view built on MCP Apps SDK 2 (@modelcontextprotocol/ext-apps 2.0.3 with the split @modelcontextprotocol/client/core 2.1.0). It talks only to the host through the Apps ui/* channel and:
takes the host's tool input/result as the invocation context and never opens a second view while the launch call is opening one; it handles cancellation and teardown and ignores stale or late responses;
checks the host's capabilities before optional actions: links, downloads (draft
ui/download-file, bounded to 10 MiB inline), "Reply in chat" (ui/message), model context updates and full screen are offered only when supported, and a declined action is reported with a usable alternative instead of forcing another path;offers a write only when the server's operation manifest (
_meta["mcp-google-workspace/operations"]on launch results) lists it for your account; without a manifest it only reads;reports tool failures by their typed code and undoes optimistic changes when an action fails.
The two launch tools are visible to the model and the view; the dashboard callbacks (apps_get_state, apps_set_state, apps_patch_state, apps_next_range, apps_prev_range, apps_today, apps_get_event_detail, apps_get_email_detail, apps_get_email_attachment) are app-only. The server still authorizes every call. Details, the capability matrix and the manifest format: docs/RICH_OUTPUTS.md.
It renders:
A weekly calendar view (all-day events + timed event columns)
An inbox summary with email detail drill-down
Scheduling action buttons (RSVP, reschedule, cancel)
Each dashboard view has its own server-side state (current view, anchor date, selected calendars, inbox query, weekend visibility), addressed by a server-issued view handle:
apps_get_dashboardorapps_get_weekly_calendar_viewcalled withoutview_handleopens a new view. The result carries{handle, revision, expires_at, ttl_seconds}in_meta["mcp-google-workspace/view"](what the Apps UI reads) and asviewin the structured content. Passview_handleto reopen an existing view.apps_get_state,apps_set_state,apps_patch_state,apps_next_range,apps_prev_range, andapps_todayrequireview_handle. Writes acceptexpected_revision; if the view changed since that revision nothing is written and the call returns aview_state_conflicttool error with the current state (the UI refetches). Without it, the change is applied atomically on top of the latest state.Unknown, expired, malformed, or another user's handles return a
view_handle_invalidtool error; the UI then opens one fresh view and retries once.Views expire after
MCP_APP_VIEW_TTL_SECONDSof inactivity (default 86400, sliding). State lives in process memory over stdio and in Redis (MCP_REDIS_URL) for the HTTP fleet. Each view is isolated from every other view, including other views of the same user.
Requires: MCP client with App/iframe rendering support.
Progress Notifications
Long-running tools emit incremental notifications/progress messages via ctx.report_progress(current, total, description). Clients that handle progress notifications can display progress bars or status messages during API-heavy operations.
Tools that emit progress:
Namespace | Tools |
Drive |
|
Apps |
|
Chat |
|
Requires: MCP client that handles notifications/progress.
Tool Input Contract
The published JSON Schema is the runtime contract. Send a native JSON object using the documented field names and native arrays/objects. Unknown keys, camelCase aliases, JSON-stringified objects, comma-delimited arrays, and legacy parameter aliases are rejected rather than silently coerced.
Google Keep API limitations
Google Keep API v1 currently exposes create, get, list, and delete for notes, plus permission batch create/delete. It does not expose a direct update/patch endpoint, archive/unarchive endpoints, or dedicated label endpoints in v1. The MCP server returns explicit unsupported responses for those operations.
Marketplace packaging
This repo includes:
.claude-plugin/marketplace.json.claude-plugin/plugin.json
and a compatibility manifest at:
plugins/google-workspace/.claude-plugin/plugin.json
Reference docs:
Install with Claude Code marketplace
From within Claude Code:
/plugin marketplace add guinacio/mcp-google-workspace
/plugin install google-workspace@google-workspace-mcpLocal checkout flow (from this repository root):
/plugin marketplace add .
/plugin install google-workspace@google-workspace-mcpOptional refresh after updates:
/plugin marketplace update google-workspace-mcpClaude Desktop JSON (mcpServers)
If you want to run it directly in Claude Desktop without marketplace install, add this to your Claude Desktop config JSON under mcpServers.
Windows config file:
%APPDATA%\Claude\claude_desktop_config.json
macOS config file:
~/Library/Application Support/Claude/claude_desktop_config.json
Linux config file:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-workspace": {
"command": "uv",
"args": [
"run",
"--directory",
"c:/path/to/mcp-google-workspace",
"python",
"-m",
"mcp_google_workspace"
],
"env": {
"ENABLE_APPS_DASHBOARD": "true",
"ENABLE_KEEP": "false",
"ENABLE_CHAT": "false",
"ENABLE_MEET": "false"
}
}
}
}Replace c:/path/to/mcp-google-workspace with your local repo path.
Tests
uv run pytest -qThis includes the golden wire-contract fixtures (tests/wire/, raw JSON-RPC over HTTP and the
in-memory stdio-equivalent transport, modern and legacy) and the feature-flag matrix
(tests/test_feature_flag_matrix.py, startup + list + one safe call per optional integration,
independently and together). Regenerate the wire fixtures deliberately after a reviewed
protocol/behavior change with UPDATE_WIRE_FIXTURES=1 uv run pytest tests/wire.
Verify the packaged MCPB bundle actually runs standalone (build, extract, stdio lifecycle: start, list, a safe call, picker store/list/read/delete, close, reconnect):
uv run python scripts/verify_mcpb_bundle.pyDashboard browser regression tests (from src/mcp_google_workspace/apps/ui):
npm ci
npx playwright install chromium
npm run build
npm testThese tests embed the generated UI bundle in an AppBridge host with fixture data; Google credentials are not required.
Apps smoke test:
# in-process mode (auto-enables apps namespace)
uv run python scripts/qa_apps_smoke.py
# or against a running Streamable HTTP server
uv run python scripts/qa_apps_smoke.py --http-url http://127.0.0.1:8001/mcpExisting calendar project reference
Available Tools
15 toolscalendar_get_calendar_digestCalendar Get Calendar DigestARead-onlyIdempotent
Summarize the user's upcoming schedule: events on the primary calendar from now until the given number of days ahead, with recurring events expanded. Use it for "what is on my calendar" and pending invitations; for another calendar or a specific window use calendar_search_events. Returns events (compact, earliest first), count, account_timezone, and requires_response: the events whose invitation the user has not answered yet, which calendar_respond_to_event can answer.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Length of the window in days, starting now. | |
| max_results | No | Maximum events to return, earliest first; events past this count are left out. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| events | No | |
| has_more | No | Whether another page is available. |
| fetched_at | No | RFC3339 time when this response was fetched. |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No | |
| window_day_count | No | |
| requires_response | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower; the description still adds real behavior beyond them by stating recurring events are expanded, results are compact and earliest-first, and by explaining what the requires_response field means. It stops short of describing truncation behavior when max_results is hit or any cost/latency characteristics, which keeps it at 4 rather than 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and scope are front-loaded in the first clause, followed by usage routing and return semantics in a logical order with no filler sentences. The second sentence is clause-dense (return fields, ordering, requires_response, follow-up tool) and could be split for faster scanning, which is the only deduction.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-optional-parameter read tool with an output schema and full annotation coverage, the description is close to complete: purpose, alternatives, ordering, and the meaning of the non-obvious return field are all present. Only the behavior at the max_results boundary is left implicit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so both parameters are already documented as window length and earliest-first cap. The description restates the window and ordering semantics without adding syntax or edge-case guidance, so the baseline 3 for schema-covered parameters is the right score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb plus resource ('Summarize the user's upcoming schedule') and pins the scope precisely: primary calendar only, from now to N days ahead, recurring events expanded. It explicitly names the neighboring capability it is not ('for another calendar or a specific window use calendar_search_events'), so an agent can choose between them without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives both an affirmative use case ('what is on my calendar' and pending invitations) and the exclusion condition plus the named alternative (calendar_search_events for a non-primary calendar or a specific window). It also routes the follow-up action by naming calendar_respond_to_event for the unanswered invitations it returns.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calendar_search_eventsCalendar Search EventsARead-onlyIdempotent
Find events on one calendar in a time window, given as a range_preset or explicit time_min/time_max. For the user's upcoming week plus pending invitations use calendar_get_calendar_digest, and for full details of known events use calendar_read_events. Returns compact events (id, title, start and end in the account time zone, all_day, status, organizer, my_response, requires_response, meeting_url, location, is_recurring, updated_at), count, next_page_token, account_timezone and the effective_time_min/effective_time_max that were applied.
| Name | Required | Description | Default |
|---|---|---|---|
| order_by | No | 'startTime' sorts by start (applied only when single_events is true; otherwise no order is requested) or 'updated' sorts by last modification time. | startTime |
| time_max | No | RFC3339 time with offset, e.g. '2026-03-08T00:00:00Z'; returns events that start before it. Overrides the end of range_preset. | |
| time_min | No | RFC3339 time with offset, e.g. '2026-03-01T00:00:00Z'; returns events that end after it. Overrides the start of range_preset; with no time_min, time_max or range_preset the list is unbounded and starts at the calendar's oldest events. | |
| page_token | No | The next_page_token from the previous response of this same call; omit for the first page. Keep every other argument the same; range_preset 'next_7_days' moves with the clock, so page with the effective_time_min/effective_time_max of the first response. | |
| calendar_id | No | Calendar ID: 'primary' for the user's main calendar, or an ID from calendar_get_calendar_context's calendars (often an email address). | primary |
| max_results | No | Maximum events per page, 1 to 2500; next_page_token continues the list. | |
| range_preset | No | Window in the account's time zone: 'today' or 'tomorrow' (midnight to midnight), 'this_week' (Monday 00:00 for 7 days) or 'next_7_days' (from now). Fills only the bound that time_min or time_max leaves unset. | |
| single_events | No | True expands recurring events into their individual occurrences (instance IDs). False returns each series once, as its master event. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| events | No | |
| has_more | No | Whether another page is available. |
| fetched_at | No | RFC3339 time when this response was fetched. |
| range_preset | No | |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No | |
| effective_time_max | No | |
| effective_time_min | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by saying it returns compact events, count, next_page_token, account_timezone, and the effective time bounds that were applied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded and organized around purpose, alternatives, and return shape. The return-field list is somewhat long and partly duplicates the output schema, but it remains readable and useful as a quick summary.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity, the annotations, the output schema, and 100% parameter coverage, the description is complete enough for correct invocation. It covers scope, alternatives, time-window semantics, pagination, and return shape without leaving material gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already explains all eight parameters in detail, including precedence and pagination behavior. The description adds only high-level meaning about the time window and presets, which is sufficient but not substantially beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: find events on one calendar within a time window using either range_preset or explicit time_min/time_max. It also clearly distinguishes this search behavior from calendar_get_calendar_digest and calendar_read_events, so an agent can select it without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly names two alternatives and the conditions that select them: use calendar_get_calendar_digest for the upcoming week plus pending invitations, and calendar_read_events for full details of known events. This is exactly the routing guidance needed for a search/list tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
call_toolCall ToolB
Call a tool by name with the given arguments.
Use this to execute tools discovered via search_tools.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the tool to call | |
| arguments | No | Arguments to pass to the tool |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations at all, the description carries the full burden for a generic proxy that can invoke arbitrary (potentially destructive) tools, yet says nothing about side effects, permissions, or reversibility. It also omits operational behavior an agent needs: what happens on an unknown tool name, whether arguments are validated against the target's schema, and whether the target tool's result is returned verbatim or wrapped.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero padding, with the action stated first and the routing hint second. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For an unannotated, no-output-schema dispatcher, the description should cover argument conformance to the target schema, error semantics for bad names/arguments, and roughly what comes back. None of that is present, leaving real ambiguity for a tool whose behavior depends entirely on inputs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so 'name' and 'arguments' are already documented and the baseline of 3 applies. The description adds no meaning beyond the schema — notably it never states that 'arguments' must conform to the target tool's input schema, which is the single most important semantic constraint for this parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a concrete verb+resource ('Call a tool by name with the given arguments') and implicitly distinguishes execution from discovery by pointing at search_tools. It never mentions get_tool_schema, the other obvious sibling, so an agent can't fully tell whether it needs to inspect a schema first.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Use this to execute tools discovered via search_tools" gives a clear triggering condition tied to a named sibling, which is more than most definitions offer. It gives no guidance on the prerequisite step of fetching argument shapes via get_tool_schema, and no exclusions or failure conditions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
commit_workspace_actionCommit Workspace ActionADestructiveIdempotent
Run the call prepared with prepare_workspace_action, with exactly the bound arguments, at most once; this is the step that carries out a consequential action, so call it only after the user has seen the preview and agreed. A client that can ask the user directly is still asked here. A token that is invalid, expired or another user's is rejected. Returns status 'committed' with tool and the bound tool's result, that tool's error result if it failed, or its confirmation question if it asks one.
| Name | Required | Description | Default |
|---|---|---|---|
| commit_token | Yes | One-time, principal-bound token from prepare_workspace_action's response; expires 10 minutes after issuance by default (MCP_CONFIRMATION_TTL_SECONDS). The bound action runs at most once: repeating a commit that already ran returns its saved result, and a confirmation question keeps the token valid for the answering call. |
Output Schema
| Name | Required | Description |
|---|---|---|
| tool | No | |
| result | No | |
| status | No | Machine-readable operation status. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it explains token rejection conditions (invalid, expired, another user's), the at-most-once replay behavior, and the three possible response shapes (committed with result, bound tool's error, or a confirmation question that keeps the token alive). That is substantive behavioral disclosure not recoverable from the annotation flags.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the action and constrained to four dense sentences, each carrying real information. The one weak spot is 'A client that can ask the user directly is still asked here', which is slightly cryptic on first read and could be phrased more plainly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter, destructive, one-time commit tool this covers the prerequisites (a prepared token), the safety gate (user agreement), the failure modes (bad token), and the return variants. An output schema exists, yet the short return summary still orients the agent to the three possible outcomes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single commit_token parameter is already fully documented, including its 10-minute TTL and at-most-once replay semantics. The description adds only supporting context (which tool mints the token, what the bound arguments are) rather than new parameter-level meaning, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Run the call prepared with prepare_workspace_action') and immediately distinguishes itself from the sibling prepare tool by naming it as the source of the bound call. An agent can tell this is the execution step, not the preparation step, without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to call ('only after the user has seen the preview and agreed') and when not to, plus the at-most-once constraint. It even closes the loophole of a client that could ask the user out-of-band by stating it 'is still asked here', which is exactly the kind of routing rule that prevents misuse.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
connect_google_workspaceConnect Google WorkspaceA
Connect the user's Google account, or add services to an existing connection, so Workspace tools can run. In local mode (no remote OAuth callback configured) it runs Google's browser consent flow on the server machine and waits up to 180 seconds by default, unless the stored grant already covers every enabled service. In remote mode it returns a one-time authorization_url, valid for 10 minutes, for the user to open. Returns state, connected and granted_capabilities locally, or authorization_url, expires_at and requested_scopes remotely; after remote consent call get_google_connection_status.
| Name | Required | Description | Default |
|---|---|---|---|
| capabilities | No | Services to request access for; omit for ['gmail']. In remote mode these scopes are added to the ones already granted; in local mode the names are only validated and every enabled service is requested. |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | No | |
| state | No | |
| action | No | |
| connected | No | |
| expires_at | No | |
| capabilities | No | |
| after_consent | No | |
| granted_scopes | No | |
| requested_scopes | No | |
| authorization_url | No | |
| granted_capabilities | No | |
| newly_requested_scopes | No | |
| requested_capabilities | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Adds substantial behavior beyond the annotations: a blocking browser consent flow with a 180-second default wait in local mode, a one-time authorization_url valid for 10 minutes in remote mode, and the short-circuit when grants already exist. These are exactly the operational traits an agent needs and none are derivable from readOnlyHint/openWorldHint.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose is front-loaded and the mode split is logically ordered, with no filler. The enumeration of return fields (state, connected, granted_capabilities, authorization_url, expires_at, requested_scopes) partly duplicates the existing output schema, which is the only wasted clause.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For an OAuth connection tool with side effects this covers both execution modes, timing/expiry limits, the no-op path, and the follow-up call. Return values are covered by the output schema, so nothing an agent needs is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the capabilities property already documents the default ['gmail'] and the mode-dependent scoping rules. The description reinforces the mode distinction but adds no syntax or semantics the schema lacks, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Connect the user's Google account, or add services to an existing connection') plus the downstream payoff ('so Workspace tools can run'), which clearly separates it from disconnect_google_workspace and get_google_connection_status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit routing: remote mode returns an authorization_url and the agent must then call get_google_connection_status. It also explains the no-op case (stored grant already covers enabled services). It does not say whether to check connection status before calling, so not quite a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
disconnect_google_workspaceDisconnect Google WorkspaceADestructiveIdempotent
Disconnect the calling user's Google account: revoke the grant at Google and delete this user's stored credentials; other users' connections are untouched. The user is asked to confirm first, and the call returns status 'cancelled' if declined. Returns status 'disconnected' with grant_revoked and revocation_error; the stored credentials are deleted even when revocation fails. Reconnect later with connect_google_workspace.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| status | No | Machine-readable operation status. |
| grant_revoked | No | |
| revocation_error | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the destructiveHint annotation, the description explains exactly what is destroyed: the Google grant is revoked and the calling user's stored credentials are deleted. It also discloses the confirmation flow, cancellation behavior, return statuses, and the important edge case that credentials are deleted even when revocation fails.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the main action and scope, then adds confirmation, return, failure, and reconnection details. It is somewhat dense but every sentence adds operationally relevant information for a destructive tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that annotations already mark the operation destructive and the output schema exists, the description still provides the critical behavioral details an agent needs: confirmation, cancellation, statuses, failure handling, and reconnection guidance. Nothing essential for safe invocation appears to be missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes no parameters, so there is no parameter semantics burden beyond confirming the implicit target. The description correctly makes clear that the target is the calling user's Google account, not an arbitrary user or workspace.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: disconnect the calling user's Google account by revoking the Google grant and deleting that user's stored credentials. It also clearly scopes the effect to the calling user by noting that other users' connections are untouched.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives clear usage context, including that the user must confirm first and that declining returns 'cancelled'. It also routes the agent to connect_google_workspace for reconnection, though it does not explicitly enumerate when not to use this tool beyond the per-user scope.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
drive_list_filesDrive List FilesARead-onlyIdempotent
Search or list Drive files in My Drive, shared with the user and in shared drives, by folder, kind, modification time, full text or a raw Drive query, all combined with AND. For a quick name lookup across Drive, contacts and Gmail at once use search_workspace, and for one known file use drive_get_file. Returns files (id, name, kind, mime_type, modified_at, parent_ids, owners, web_url, trashed, can_edit), count and next_page_token for the next page; trashed files are included unless the query says trashed = false.
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only files of this kind, the same values as each result's kind: folder, document (Google Doc), spreadsheet (Google Sheet), presentation (Google Slides), form (Google Form), or image, video or audio (any stored file of that media type). | |
| query | No | Raw Drive search query in Drive's q syntax, terms joined with and/or, e.g. "name contains 'budget' and trashed = false" or "starred = true"; combined by AND with folder_id, kind, modified_after and full_text when those are given. Omit it and every filter to list every file the user can access, trashed files included. | |
| drive_id | No | Shared drive ID from drive_list_drives: search only that shared drive. Omit to search My Drive, files shared with the user and every shared drive they belong to. | |
| order_by | No | Comma-separated sort keys, each optionally followed by ' desc': createdTime, folder, modifiedByMeTime, modifiedTime, name, name_natural, quotaBytesUsed, recency, sharedWithMeTime, starred, viewedByMeTime; e.g. 'folder,modifiedTime desc'. Omit for Google's default order. | |
| folder_id | No | Only the direct children of this folder (not files in its subfolders); a folder ID from drive_list_files with kind 'folder', or a shared drive ID for its top level. | |
| full_text | No | Only files whose name, description or content contains these words (Drive's fullText search); quotes in the text are escaped for you. | |
| page_size | No | Files per page, 1 to 1000. | |
| page_token | No | The next_page_token from the previous response of this same call; omit for the first page. | |
| modified_after | No | Only files last modified after this time: RFC3339 such as '2026-11-01T09:00:00-03:00', or a date such as '2026-11-01' (midnight); a date or a time without an offset is read in the account time zone. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| files | No | |
| has_more | No | Whether another page is available. |
| fetched_at | No | RFC3339 time when this response was fetched. |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive and open-world, so the bar is lower; the description still adds real behavior by disclosing that trashed files are included unless the query says trashed = false, and by enumerating the returned fields. It does not discuss rate limits or result caps, keeping it short of a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences: capability and scope first, then sibling routing, then return shape and the trashed default. Dense with zero filler and front-loaded where it matters most.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 9-parameter search tool with an output schema and full annotation coverage, the description supplies everything an agent needs: scope, sibling routing, AND semantics, pagination token, and the non-obvious trashed default. Nothing material is left to inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does reinforce that all filters combine with AND and that omitting everything lists every accessible file, but that same combination and omission semantics is already stated in the query parameter's schema description, so the added meaning is marginal.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Search or list Drive files') plus the exact scope (My Drive, shared with the user, shared drives) and the filter axes. It explicitly names the two siblings it is not, so an agent can pick it without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete routing: use search_workspace for a quick name lookup across Drive, contacts and Gmail, and drive_get_file for one known file. That is an explicit when-to-use-this vs when-to-use-alternative statement, which is rare.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_google_connection_statusGet Google Connection StatusARead-onlyIdempotent
Check whether the calling user has a stored Google connection and which services it grants, and what this server offers, without calling Google. Use it before connect_google_workspace, after a consent finishes, or to learn the active tool tier; for remote users tools/list already reflects the current grants, so list tools again after consent. Returns state (connected, refresh_required, missing_scopes, reauth_required, not_connected or error), connected, granted_capabilities, granted_scopes, expires_at, an action hint when the user must reconnect, and server (tool_tier, enabled_namespaces, optional_namespaces, oauth_capabilities, file_inputs, tool_search).
| Name | Required | Description | Default |
|---|---|---|---|
| capability | No | One service to verify, e.g. 'calendar'; if the grant lacks its scopes, state is missing_scopes. Omit to report the overall connection only. |
Output Schema
| Name | Required | Description |
|---|---|---|
| state | No | |
| action | No | |
| server | No | |
| connected | No | |
| expires_at | No | |
| granted_scopes | No | |
| required_scopes | No | |
| checked_capability | No | |
| granted_capabilities | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare this a read-only, idempotent, non-destructive call, and the one genuinely additive behavioral fact is 'without calling Google' plus the note that remote clients should re-list tools after consent. The rest of the sentence enumerates return fields that the output schema already defines, so the marginal disclosure is modest.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and usage before the long return-field enumeration; every sentence carries information. It is slightly heavy because the trailing list of state values and server sub-fields duplicates the output schema and could be trimmed.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-required-parameter read tool with full schema coverage, annotations, and an output schema, this covers purpose, timing, and the remote-client caveat thoroughly. The only soft spot is repeating return fields instead of relying on the declared output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the sole 'capability' parameter already has a full enum with its own description explaining the missing_scopes behavior. The description's 'which services it grants' restates that in looser terms rather than adding syntax or edge-case detail, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource (check the calling user's Google connection and granted services) plus a second scope (what the server offers), and explicitly notes it does not contact Google. That distinguishes it cleanly from connect_google_workspace and disconnect_google_workspace without needing to open any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit triggers: before connect_google_workspace, after a consent finishes, or to learn the active tool tier. It also flags the alternative path for remote users (tools/list already reflects grants, so re-list after consent), which is the kind of when-not guidance that rarely appears.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gmail_get_mail_digestGmail Get Mail DigestARead-onlyIdempotent
List the mail received and sent in a recent time window (default the last 3 days) as one feed with snippets, with no category or importance filtering; drafts, Spam and Trash are left out. Use it to catch up on recent mail; use gmail_search_emails to find mail by sender, subject or any Gmail query, and gmail_check_mail_updates to poll for new mail since a saved checkpoint. Returns messages (id, thread_id, from, subject, date, snippet, unread, has_attachments, direction 'received' or 'sent'), count, window and account_timezone; there is no next page. Read bodies with gmail_read_emails.
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Lookback window as '<int><unit>' where unit is d (days), h (hours), or w (weeks), e.g. '24h' or '2w'; default is '3d'. Mail received or sent since now minus the window is listed. | 3d |
| max_items | No | Maximum messages to return, 1 to 100 (default 25). There is no next page: when the window holds more, shorten it or page through gmail_search_emails instead. | |
| unread_only | No | When true, only unread messages are listed (adds is:unread); by default read and unread both are. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| window | No | |
| has_more | No | Whether another page is available. |
| messages | No | |
| fetched_at | No | RFC3339 time when this response was fetched. |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), yet the description still adds real behavioral facts: Spam/Trash/drafts excluded, no category or importance filtering applied, and critically 'there is no next page' — a truncation behavior an agent would otherwise misjudge. It stops short of mentioning auth requirements, rate limits, or what happens when the window exceeds max_items beyond the schema's own note, so it is strong but not exhaustive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose, then alternatives, then return shape — a sensible ordering with no filler sentences. The inline enumeration of every returned field (id, thread_id, from, subject, date, snippet, unread, has_attachments, direction) is the one wasteful part, since an output schema already exists and duplicates it.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a zero-required-parameter read tool with full schema coverage and an output schema, the description covers everything an agent needs: what it returns at a high level, how truncation behaves, what is excluded, and which sibling to use instead. Nothing material is left to inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds meaning above the schema: it restates the default 3-day window as behavior rather than a field default, and pairs the 'no next page' constraint with the implied consequence that a large window is silently truncated. It does not explain unread_only filtering in prose, leaving that entirely to the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List the mail received and sent') plus scope ('recent time window, default last 3 days'), and immediately bounds it with exclusions ('no category or importance filtering; drafts, Spam and Trash are left out'). The addition of 'as one feed with snippets' makes the output shape distinguishable from a search tool without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly gives the primary use case ('catch up on recent mail') and names two discriminating alternatives with their conditions: gmail_search_emails for sender/subject/Gmail queries, and gmail_check_mail_updates for polling since a checkpoint. The agent can route correctly on the first read.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
gmail_search_emailsGmail Search EmailsARead-onlyIdempotent
Find Gmail messages, or with group_by_thread whole conversations, by a Gmail search query, labels (names or IDs) and helper filters (sender, recipient, subject, unread, attachments, age), ANDed together, a page at a time; Spam and Trash are left out unless include_spam_trash is true. Use gmail_get_mail_digest for a plain recent feed and gmail_check_mail_updates to poll for new mail since a saved checkpoint. Returns messages (id, thread_id, from, subject, date, snippet, unread, has_attachments, is_draft, is_sent) or threads (the same plus message_count), next_page_token, result_size_estimate and effective_query. Read bodies with gmail_read_emails or gmail_get_thread.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Gmail search query in the same syntax as the Gmail search box, e.g. 'from:ana@example.com newer_than:7d has:attachment'. It is wrapped in parentheses and ANDed with the helper filters; with no query, labels or filters, all mail outside Spam and Trash matches. | |
| labels | No | Only mail that carries every one of these labels, given by name as shown in Gmail (e.g. 'Clients/Acme') or by ID; system labels such as INBOX or UNREAD match case-insensitively. An unknown or ambiguous name fails with not_found and the candidate labels. | |
| to_email | No | Recipient filter, added to the query as to:"<value>", e.g. 'team@example.com'. | |
| is_unread | No | When true, adds is:unread so only unread messages match; false adds nothing, so read mail matches too. | |
| from_email | No | Sender filter, added to the query as from:"<value>"; an address or part of a name, e.g. 'ana@example.com'. | |
| page_token | No | The next_page_token from the previous response of this same call; omit for the first page. | |
| max_results | No | Messages (or, with group_by_thread, conversations) per page, 1 to 500 (default 25); each hit is fetched separately, so large pages are slower. | |
| has_attachment | No | When true, adds has:attachment so only messages with attachments match; false adds nothing. | |
| group_by_thread | No | When true, returns conversations instead of messages: threads, each summarized by its newest message plus message_count. Default false returns individual messages. | |
| newer_than_days | No | Only mail from the last N days, 1 to 3650, translated to Gmail's newer_than:{N}d query operator. | |
| subject_contains | No | Phrase that must appear in the subject line, added to the query as subject:"<value>". | |
| include_spam_trash | No | Also return items in Spam and Trash; by default they are excluded. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| threads | No | |
| has_more | No | Whether another page is available. |
| messages | No | |
| fetched_at | No | RFC3339 time when this response was fetched. |
| effective_query | No | |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No | |
| result_size_estimate | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety bar is covered. The description still adds real behavioral context beyond them: Spam and Trash are silently excluded unless include_spam_trash is true, results are paged, and the return payload's shape including next_page_token and effective_query is disclosed. It does not mention the per-hit fetch cost or latency caveat, which lives only in the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Every clause carries information and the purpose is front-loaded before the sibling routing, with no filler. However, it is delivered as one long semicolon-chained sentence, which makes the return-field list and pagination notes harder to scan than they need to be.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 12-parameter search tool with an output schema and full annotation coverage, the description covers purpose, filter combination logic, exclusions, pagination entry point, sibling routing and follow-up read tools. Nothing an agent needs in order to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage the baseline is 3, and the description genuinely adds meaning beyond the schema by stating that all query parts are ANDed together and that an empty call matches all mail outside Spam and Trash. It also notes labels accept names or IDs and that group_by_thread changes both the unit of results and the page size semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource ('Find Gmail messages'), states the full scope (query, labels, helper filters, ANDed, paged), and calls out the group_by_thread variant explicitly. It is easily distinguished from gmail_get_mail_digest and gmail_check_mail_updates, which are named.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly routes the agent: use gmail_get_mail_digest for a plain recent feed, gmail_check_mail_updates to poll since a checkpoint, and gmail_read_emails or gmail_get_thread to read bodies. That is concrete when-to-use-this-vs-alternatives guidance covering three siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
prepare_workspace_actionPrepare Workspace ActionARead-onlyIdempotent
Preview a consequential call (sending mail, sharing, permanent deletion, forwarding, a bulk change) and bind it to a one-time commit token, for clients that cannot ask the user directly: a direct call of such a tool fails with confirmation_required and names this tool as the next step. Nothing runs here. Returns status 'prepared', action, preview (the exact text to show the user before committing), commit_token, expires_at (epoch seconds, 10 minutes ahead by default) and next_action; a call that needs no consent fails with invalid_input naming the direct call.
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | Yes | The arguments for tool_name exactly as in a direct call, as in that required_action. They are validated now and bound to the token; they cannot be edited afterwards. | |
| tool_name | Yes | Published name of the tool to run, as in the required_action of its confirmation_required error, e.g. 'gmail_send_email'. |
Output Schema
| Name | Required | Description |
|---|---|---|
| action | No | |
| status | No | Machine-readable operation status. |
| preview | No | |
| expires_at | No | |
| next_action | No | |
| commit_token | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), it discloses that nothing executes, that the token is one-time and expires (epoch seconds, 10 minutes by default), that arguments are validated now and immutable afterwards, and which error codes signal which recovery path. This is fully consistent with the read-only, non-destructive annotation profile.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the purpose then the failure/recovery flow, and every sentence carries information. It is dense but somewhat run-on, packing return fields and error behavior into long clauses that could be split for faster scanning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers trigger, non-trigger, immutability constraint, token lifetime, and the recovery path, which is everything an agent needs for a two-parameter confirmation broker. Listing the return fields is mildly redundant given the output schema, but it usefully frames the next_action handoff rather than just restating types.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so both parameters are already documented in the schema, including that arguments must match the direct call and cannot be edited after binding. The description reinforces the recovery flow but adds no new syntax or format detail beyond what the schema and the required_action error already provide.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Preview a consequential call ... and bind it to a one-time commit token') and enumerates the covered cases (sending mail, sharing, permanent deletion, forwarding, bulk change). It is clearly distinguishable from the sibling commit_workspace_action, since this tool explicitly says 'Nothing runs here.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives the exact trigger condition: a direct call of such a tool fails with confirmation_required and names this tool as the next step, and it targets clients that cannot ask the user directly. It also states the negative case – a call needing no consent fails with invalid_input naming the direct call – so the agent knows when to skip this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resolve_workspace_resourceResolve Workspace ResourceARead-onlyIdempotent
Turn a resource URI from an earlier result's resource handle back into a handle with current metadata. Drive files are re-read for a fresh name, mime_type, modified_at (account time zone), web_url and etag, and Gmail messages are checked to still exist; threads, events, contacts and tasks are only parsed, without a Google call. Returns resource and verified (true when Google confirmed the resource exists); pass resource.id to the matching service tool for content.
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The uri of a resource handle from an earlier result, e.g. 'gdrive:///<file_id>' or 'gmail-message:///<message_id>'; other schemes are rejected. |
Output Schema
| Name | Required | Description |
|---|---|---|
| resource | No | |
| verified | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes well beyond the readOnly/idempotent/openWorld annotations by disclosing per-scheme behavior: Drive files are re-read over the network for fresh name, mime_type, modified_at, web_url and etag, Gmail messages are existence-checked, and threads, events, contacts and tasks are parsed locally with no Google call. It also explains the verified flag's meaning, which is real behavioral context an agent cannot infer elsewhere.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the core operation and then the per-scheme behavioral detail and return values. The first sentence is dense with parallel clauses, but every element (fresh metadata, existence check, no-call cases) carries information the agent needs.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, yet the description still notes the returned resource and verified fields, and it fully covers the tricky part of a single-parameter tool: how behavior varies by URI scheme. Nothing an agent needs in order to invoke it correctly appears to be missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the uri parameter is well documented there, so the baseline would be 3. The description adds value by tying each URI scheme to different side effects and freshness guarantees, which tells the agent more about the parameter than its type and format alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: turning a stale resource URI from an earlier result back into a handle with current metadata. It is clearly distinguishable from siblings like search_workspace or the service tools because it operates on an existing handle rather than searching or fetching content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage context is clear: this is for handles obtained from an earlier result, and the closing clause directs the agent to pass resource.id to the matching service tool to get actual content. It stops short of naming which sibling tool to use per scheme or stating when refreshing is unnecessary, so it is strong but not fully explicit about alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_toolsSearch ToolsB
Search for tools using natural language.
Returns matching tool definitions ranked by relevance, in the same format as list_tools.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query to search for tools |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full disclosure burden. It usefully discloses the ranking behavior ('ranked by relevance') and the return shape, but says nothing about matching semantics (lexical vs semantic), result limits, or whether the search space covers all registered tools.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with no filler, and the core action is front-loaded before the return-format note. Slightly more structure (e.g. a single sentence) would be equally clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so return values need not be explained, and the single parameter is fully documented. What remains missing is routing context: an agent cannot tell from this description when to search for a tool rather than directly invoke call_tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single 'query' parameter, so the schema already explains it. The description's 'natural language' phrasing adds only marginal semantics beyond the schema and gives no guidance on query formulation or specificity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Search for tools') and adds the input modality ('natural language'), which is more than a restatement of the name. However, it never distinguishes itself from sibling call_tool, which is the obvious competing path for an agent that already knows which tool to invoke.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The reference to 'the same format as list_tools' implies this is a filtered alternative to a full listing, but list_tools is not among the provided siblings, so that anchor may not resolve for the agent. No explicit when-to-use or when-not-to-use guidance is given relative to call_tool or the research_* tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_workspaceSearch WorkspaceARead-onlyIdempotent
Search Drive, the user's saved contacts and Gmail with one query, for a first look when the right service is unclear. Drive matches names and content (name matches first, no shared drives); Gmail takes Gmail query syntax and each hit is read in one metadata request. For full queries and paging use drive_list_files, people_search_contacts or gmail_search_emails. Returns matches (service, id, kind, resource; Drive name, mime_type, modified_at, web_url; contact name, email; Gmail thread_id, subject, from, date, snippet, unread), count, account_timezone and errors per failed service; the call fails only when every service fails.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text, must not be blank. Drive matches it against file names and content (fullText contains, plus name contains for name prefixes), contacts by prefix of names, emails, phone numbers or organizations, and Gmail treats it as a Gmail search query, e.g. 'from:alice invoice'. | |
| services | No | Services to search: any of 'drive', 'people' (the user's saved contacts) and 'gmail'; omit to search all three. | |
| max_results_per_service | No | Maximum hits from each searched service, 1 to 25. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| query | No | |
| errors | No | |
| matches | No | |
| has_more | No | Whether another page is available. |
| services | No | |
| fetched_at | No | RFC3339 time when this response was fetched. |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent and open-world, but the description adds real operational context: Drive ranks name matches first and excludes shared drives, Gmail hits cost one metadata request each, and the call degrades gracefully (fails only if every service fails). That partial-failure semantics is the kind of behavior annotations cannot express.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads scope, then matching behavior, then sibling routing, then return shape — a logical order with no filler. It is dense and long for a single paragraph, but nearly every clause carries new information; only the return-value enumeration is partially redundant with the output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers scope, per-service matching semantics, cost per hit, partial-failure behavior, and result fields, which is everything needed to call a three-service fan-out search correctly. Since an output schema exists, the return summary is a bonus rather than a requirement.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description still adds value by clarifying Drive's matching model ('name matches first, no shared drives') and the Gmail query-syntax treatment of the query string. It does not restate the max_results bound or the services enum, which the schema already covers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb and three resources ('Search Drive, the user's saved contacts and Gmail with one query') and immediately differentiates itself from the per-service siblings. An agent can tell exactly what this tool spans without reading the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States the selecting condition ('for a first look when the right service is unclear') and names the exact alternatives for deeper use: drive_list_files, people_search_contacts, gmail_search_emails, with the reason 'full queries and paging'. Explicit when-to-use and when-not-to-use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tasks_tasks_digestTasks DigestARead-onlyIdempotent
Triage one task list's open tasks into overdue, upcoming and unscheduled work; it reads the default list unless tasklist_id names another one from tasks_list_tasklists. For completed tasks or custom filters use tasks_list_tasks. Returns overdue (due before today in the account time zone), upcoming (due from today through the window, soonest first) and unscheduled (no due date), each a list of tasks shaped as in tasks_list_tasks, plus count (tasks in the three groups), tasklist_id (the list's real ID when Google reports it), window_days and account_timezone.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days ahead of today whose due tasks go in 'upcoming'; tasks due later appear in no group. | |
| max_results | No | Maximum open tasks to read from the list, 1 to 100; there is no paging, so tasks past this are left out. | |
| tasklist_id | No | Task list ID from tasks_list_tasklists; omit for the account's default list. |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | No | Number of items in this response. |
| overdue | No | |
| has_more | No | Whether another page is available. |
| upcoming | No | |
| fetched_at | No | RFC3339 time when this response was fetched. |
| tasklist_id | No | |
| unscheduled | No | |
| window_days | No | |
| next_page_token | No | Opaque token for the next page, or null. |
| account_timezone | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description adds operational context beyond that: the grouping semantics, time-zone handling, sorting of 'upcoming', truncation behavior via max_results in the schema, and the exact shape of returned groups and counts.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded, followed immediately by the alternative tool and then the return-value contract. The text is dense but every sentence carries information needed to select and interpret the tool; there is no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only digest with a full input schema, annotations, and an output schema, the description is complete. It explains grouping, default-list behavior, alternative tool routing, sorting, time zone, and output structure without over-explaining fields already covered elsewhere.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema carries most parameter meaning. The description still adds value by tying 'days' to the 'upcoming' group and clarifying that upcoming results are sorted soonest first, though it does not elaborate on max_results truncation beyond what the schema already says.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and scope: 'Triage one task list's open tasks into overdue, upcoming and unscheduled work.' It explicitly distinguishes this digest from a general filtered-list tool by naming tasks_list_tasks for completed tasks or custom filters.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states the default behavior ('reads the default list unless tasklist_id names another one') and names the alternative tool for different needs ('For completed tasks or custom filters use tasks_list_tasks'). This leaves little ambiguity about when to call this digest versus a task-list tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
19 tool updates
v2.1.0- Added
calendar_get_calendar_digest - Added
calendar_search_events - Changed
commit_workspace_action12 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - changed
Input schema / properties / commit_token / descriptionPrevious value: -"One-time, principal-bound token from prepare_workspace_action's response; expires 5 minutes after issuance and is consumed on first use."New value: +"One-time, principal-bound token from prepare_workspace_action's response; expires 10 minutes after issuance by default (MCP_CONFIRMATION_TTL_SECONDS). The bound action runs at most once: repeating a commit that already ran returns its saved result, and a confirmation question keeps the token valid for the answering call." - removed
Input schema / properties / commit_token / maxLengthRemoved value: -1000000 - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Documented structured response returned by this MCP tool." - removed
Output schema / properties / contextRemoved value: -{ - "description": "Identifying request arguments echoed back with an error.", - "type": "object" -} - removed
Output schema / properties / errorRemoved value: -{ - "description": "Error message or structured error details when the call failed.", - "type": [ - "object", - "string" - ] -} - removed
Output schema / properties / provider_statusRemoved value: -{ - "description": "HTTP status code returned by the Google API for a failed call.", - "type": "integer" -} - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - removed
Output schema / properties / result / descriptionRemoved value: -"Response field: result." - removed
Output schema / properties / tool / descriptionRemoved value: -"Response field: tool." - removed
Output schema / titleRemoved value: -"Commit Workspace Action response"
- Changed
connect_google_workspace34 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - removed
Input schema / properties / capabilities / anyOfRemoved value: -[ - { - "items": { - "maxLength": 1000000, - "type": "string" - }, - "maxItems": 10000, - "type": "array" - }, - { - "type": "null" - } -] - removed
Input schema / properties / capabilities / defaultRemoved value: -null - changed
Input schema / properties / capabilities / descriptionPrevious value: -"Google Workspace capability names to request scopes for, e.g. ['calendar', 'chat', 'docs', 'drive', 'forms', 'gmail', 'keep', 'meet', 'people', 'sheets', 'slides', 'tasks']; defaults to ['gmail'] when omitted."New value: +"Services to request access for; omit for ['gmail']. In remote mode these scopes are added to the ones already granted; in local mode the names are only validated and every enabled service is requested." - added
Input schema / properties / capabilities / itemsAdded value: +{ + "enum": [ + "calendar", + "chat", + "docs", + "drive", + "forms", + "gmail", + "keep", + "meet", + "people", + "sheets", + "slides", + "tasks" + ], + "type": "string" +} - added
Input schema / properties / capabilities / typeAdded value: +"array" - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Structured response returned by this MCP tool." - removed
Output schema / properties / action / descriptionRemoved value: -"Response field: action." - changed
Output schema / properties / after_consent / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / properties / after_consent / descriptionRemoved value: -"Response field: after consent." - removed
Output schema / properties / after_consent / properties / arguments / descriptionRemoved value: -"Response field: arguments." - removed
Output schema / properties / after_consent / properties / tool / descriptionRemoved value: -"Response field: tool." - removed
Output schema / properties / authorization_url / descriptionRemoved value: -"Response field: authorization url." - removed
Output schema / properties / capabilities / descriptionRemoved value: -"Response field: capabilities." - removed
Output schema / properties / capabilities / itemsRemoved value: -{} - removed
Output schema / properties / capabilities / typeRemoved value: -"array" - removed
Output schema / properties / connected / descriptionRemoved value: -"Response field: connected." - removed
Output schema / properties / expires_at / descriptionRemoved value: -"Response field: expires at." - removed
Output schema / properties / granted_capabilities / descriptionRemoved value: -"Response field: granted capabilities." - removed
Output schema / properties / granted_capabilities / itemsRemoved value: -{} - removed
Output schema / properties / granted_capabilities / typeRemoved value: -"array" - removed
Output schema / properties / granted_scopes / descriptionRemoved value: -"Response field: granted scopes." - removed
Output schema / properties / granted_scopes / itemsRemoved value: -{} - removed
Output schema / properties / granted_scopes / typeRemoved value: -"array" - removed
Output schema / properties / mode / descriptionRemoved value: -"Response field: mode." - removed
Output schema / properties / newly_requested_scopes / descriptionRemoved value: -"Response field: newly requested scopes." - removed
Output schema / properties / requested_capabilities / descriptionRemoved value: -"Response field: requested capabilities." - removed
Output schema / properties / requested_capabilities / itemsRemoved value: -{} - removed
Output schema / properties / requested_capabilities / typeRemoved value: -"array" - removed
Output schema / properties / requested_scopes / descriptionRemoved value: -"Response field: requested scopes." - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - removed
Output schema / properties / state / descriptionRemoved value: -"Response field: state." - removed
Output schema / titleRemoved value: -"Connect Google Workspace response"
- Changed
disconnect_google_workspace9 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - removed
Input schema / properties / confirmRemoved value: -{ - "default": false, - "description": "Whether to enable confirm.", - "type": "boolean" -} - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Structured response returned by this MCP tool." - removed
Output schema / properties / actionRemoved value: -{ - "description": "Response field: action.", - "type": "string" -} - removed
Output schema / properties / grant_revoked / descriptionRemoved value: -"Response field: grant revoked." - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - removed
Output schema / properties / revocation_error / descriptionRemoved value: -"Response field: revocation error." - removed
Output schema / titleRemoved value: -"Disconnect Google Workspace Tool response"
- Added
drive_list_files - Removed
files_file_manager - Removed
files_list_files - Removed
files_list_files_page - Changed
get_google_connection_status21 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - removed
Input schema / properties / capability / anyOfRemoved value: -[ - { - "maxLength": 1000000, - "type": "string" - }, - { - "type": "null" - } -] - removed
Input schema / properties / capability / defaultRemoved value: -null - changed
Input schema / properties / capability / descriptionPrevious value: -"Single capability name to check granted scopes for, e.g. 'gmail' or 'calendar'; omit to report overall connection state without a per-capability scope check."New value: +"One service to verify, e.g. 'calendar'; if the grant lacks its scopes, state is missing_scopes. Omit to report the overall connection only." - added
Input schema / properties / capability / enumAdded value: +[ + "calendar", + "chat", + "docs", + "drive", + "forms", + "gmail", + "keep", + "meet", + "people", + "sheets", + "slides", + "tasks" +] - added
Input schema / properties / capability / typeAdded value: +"string" - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Structured response returned by this MCP tool." - removed
Output schema / properties / action / descriptionRemoved value: -"Response field: action." - removed
Output schema / properties / checked_capability / descriptionRemoved value: -"Response field: checked capability." - removed
Output schema / properties / connected / descriptionRemoved value: -"Response field: connected." - removed
Output schema / properties / expires_at / descriptionRemoved value: -"Response field: expires at." - added
Output schema / properties / expires_at / typeAdded value: +[ + "string", + "null" +] - removed
Output schema / properties / granted_capabilities / descriptionRemoved value: -"Response field: granted capabilities." - removed
Output schema / properties / granted_scopes / descriptionRemoved value: -"Response field: granted scopes." - removed
Output schema / properties / principal_keyRemoved value: -{ - "description": "Response field: principal key." -} - removed
Output schema / properties / required_scopes / descriptionRemoved value: -"Response field: required scopes." - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - added
Output schema / properties / serverAdded value: +{ + "additionalProperties": true, + "properties": { + "enabled_namespaces": { + "items": {}, + "type": "array" + }, + "file_inputs": { + "additionalProperties": true, + "properties": { + "drive": { + "type": "string" + }, + "local": { + "type": "string" + }, + "remote": { + "type": "string" + } + }, + "required": [], + "type": "object" + }, + "oauth_capabilities": { + "items": {}, + "type": "array" + }, + "optional_namespaces": { + "additionalProperties": true, + "properties": { + "apps": { + "type": "boolean" + }, + "chat": { + "type": "boolean" + }, + "gemini": { + "type": "boolean" + }, + "keep": { + "type": "boolean" + }, + "meet": { + "type": "boolean" + } + }, + "required": [], + "type": "object" + }, + "tool_search": { + "type": "boolean" + }, + "tool_tier": { + "type": "string" + }, + "tool_tiers": { + "items": {}, + "type": "array" + } + }, + "required": [], + "type": "object" +} - removed
Output schema / properties / state / descriptionRemoved value: -"Response field: state." - removed
Output schema / titleRemoved value: -"Get Google Connection Status response"
- Removed
get_mcp_apps_diagnostics - Removed
get_workspace_capabilities - Added
gmail_get_mail_digest - Added
gmail_search_emails - Changed
prepare_workspace_action18 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - changed
Input schema / properties / arguments / descriptionPrevious value: -"Exact keyword arguments to bind and later execute unchanged for tool_name."New value: +"The arguments for tool_name exactly as in a direct call, as in that required_action. They are validated now and bound to the token; they cannot be edited afterwards." - removed
Input schema / properties / arguments / maxPropertiesRemoved value: -10000 - changed
Input schema / properties / tool_name / descriptionPrevious value: -"Full name of the consequential tool to prepare; must be one of ['calendar_update_event', 'drive_create_permission', 'gmail_batch_modify', 'gmail_send_email', 'sheets_batch_update_spreadsheet']. Other tools do not use the prepare/commit protocol."New value: +"Published name of the tool to run, as in the required_action of its confirmation_required error, e.g. 'gmail_send_email'." - removed
Input schema / properties / tool_name / maxLengthRemoved value: -1000000 - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Documented structured response returned by this MCP tool." - added
Output schema / properties / actionAdded value: +{ + "type": [ + "string", + "null" + ] +} - removed
Output schema / properties / commit_token / descriptionRemoved value: -"Response field: commit token." - removed
Output schema / properties / contextRemoved value: -{ - "description": "Identifying request arguments echoed back with an error.", - "type": "object" -} - removed
Output schema / properties / errorRemoved value: -{ - "description": "Error message or structured error details when the call failed.", - "type": [ - "object", - "string" - ] -} - removed
Output schema / properties / expires_at / descriptionRemoved value: -"Response field: expires at." - removed
Output schema / properties / impactRemoved value: -{ - "description": "Response field: impact.", - "type": "object" -} - removed
Output schema / properties / next_action / descriptionRemoved value: -"Response field: next action." - added
Output schema / properties / previewAdded value: +{} - removed
Output schema / properties / provider_statusRemoved value: -{ - "description": "HTTP status code returned by the Google API for a failed call.", - "type": "integer" -} - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - removed
Output schema / titleRemoved value: -"Prepare Workspace Action response"
- Removed
refresh_workspace_catalog - Changed
resolve_workspace_resource10 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - changed
Input schema / properties / uri / descriptionPrevious value: -"Stable Workspace resource URI previously returned in a tool response's 'resource' field."New value: +"The uri of a resource handle from an earlier result, e.g. 'gdrive:///<file_id>' or 'gmail-message:///<message_id>'; other schemes are rejected." - removed
Input schema / properties / uri / maxLengthRemoved value: -1000000 - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Structured response returned by this MCP tool." - removed
Output schema / properties / next_actionsRemoved value: -{ - "description": "Response field: next actions.", - "items": {}, - "type": "array" -} - removed
Output schema / properties / resource / descriptionRemoved value: -"Response field: resource." - removed
Output schema / properties / statusRemoved value: -{ - "description": "Machine-readable operation status.", - "type": "string" -} - added
Output schema / properties / verifiedAdded value: +{ + "type": "boolean" +} - removed
Output schema / titleRemoved value: -"Resolve Workspace Resource response"
- Changed
search_workspace21 fields changed- removed
Input schema / maxPropertiesRemoved value: -10000 - changed
Input schema / properties / max_results_per_service / descriptionPrevious value: -"Maximum results per service to include in the result."New value: +"Maximum hits from each searched service, 1 to 25." - changed
Input schema / properties / query / descriptionPrevious value: -"Search or filter expression used to narrow the results."New value: +"Search text, must not be blank. Drive matches it against file names and content (fullText contains, plus name contains for name prefixes), contacts by prefix of names, emails, phone numbers or organizations, and Gmail treats it as a Gmail search query, e.g. 'from:alice invoice'." - removed
Input schema / properties / query / maxLengthRemoved value: -1000000 - removed
Input schema / properties / services / anyOfRemoved value: -[ - { - "items": { - "maxLength": 1000000, - "type": "string" - }, - "maxItems": 10000, - "type": "array" - }, - { - "type": "null" - } -] - removed
Input schema / properties / services / defaultRemoved value: -null - changed
Input schema / properties / services / descriptionPrevious value: -"Subset of services to search: any of 'drive', 'people', 'gmail'; omit to search all three."New value: +"Services to search: any of 'drive', 'people' (the user's saved contacts) and 'gmail'; omit to search all three." - added
Input schema / properties / services / itemsAdded value: +{ + "enum": [ + "drive", + "people", + "gmail" + ], + "type": "string" +} - added
Input schema / properties / services / typeAdded value: +"array" - changed
Output schema / additionalPropertiesPrevious value: -falseNew value: +true - removed
Output schema / descriptionRemoved value: -"Structured response returned by this MCP tool." - added
Output schema / properties / account_timezoneAdded value: +{} - removed
Output schema / properties / errors / descriptionRemoved value: -"Response field: errors." - removed
Output schema / properties / matches / descriptionRemoved value: -"Response field: matches." - removed
Output schema / properties / query / descriptionRemoved value: -"Response field: query." - removed
Output schema / properties / resourceRemoved value: -{ - "additionalProperties": false, - "description": "Stable cross-tool Workspace resource handle when applicable.", - "properties": { - "etag": { - "description": "Provider entity tag.", - "type": [ - "string", - "null" - ] - }, - "id": { - "description": "Provider resource identifier.", - "type": "string" - }, - "kind": { - "description": "Workspace resource kind.", - "type": "string" - }, - "mime_type": { - "description": "MIME type when applicable.", - "type": [ - "string", - "null" - ] - }, - "modified_at": { - "description": "Last modification time.", - "type": [ - "string", - "null" - ] - }, - "name": { - "description": "Human-readable name.", - "type": [ - "string", - "null" - ] - }, - "uri": { - "description": "Stable Workspace resource URI.", - "type": "string" - }, - "web_url": { - "description": "Provider web URL.", - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "kind", - "id", - "uri" - ], - "type": "object" -} - removed
Output schema / properties / services / descriptionRemoved value: -"Response field: services." - removed
Output schema / properties / services / itemsRemoved value: -{} - removed
Output schema / properties / services / typeRemoved value: -"array" - removed
Output schema / properties / statusRemoved value: -{ - "description": "Machine-readable operation status.", - "type": "string" -} - removed
Output schema / titleRemoved value: -"Search Workspace response"
- Added
tasks_tasks_digest
4 tool updates
v0.3.10- Changed
commit_workspace_action3 fields changed- added
Output schema / properties / contextAdded value: +{ + "description": "Identifying request arguments echoed back with an error.", + "type": "object" +} - added
Output schema / properties / errorAdded value: +{ + "description": "Error message or structured error details when the call failed.", + "type": [ + "object", + "string" + ] +} - added
Output schema / properties / provider_statusAdded value: +{ + "description": "HTTP status code returned by the Google API for a failed call.", + "type": "integer" +}
- Changed
get_workspace_capabilities6 fields changed- removed
Output schema / properties / optional_namespaces / properties / apps / itemsRemoved value: -{} - changed
Output schema / properties / optional_namespaces / properties / apps / typePrevious value: -"array"New value: +"boolean" - added
Output schema / properties / optional_namespaces / properties / chat / typeAdded value: +"boolean" - added
Output schema / properties / optional_namespaces / properties / gemini / typeAdded value: +"boolean" - added
Output schema / properties / optional_namespaces / properties / keep / typeAdded value: +"boolean" - added
Output schema / properties / optional_namespaces / properties / meet / typeAdded value: +"boolean"
- Changed
prepare_workspace_action3 fields changed- added
Output schema / properties / contextAdded value: +{ + "description": "Identifying request arguments echoed back with an error.", + "type": "object" +} - added
Output schema / properties / errorAdded value: +{ + "description": "Error message or structured error details when the call failed.", + "type": [ + "object", + "string" + ] +} - added
Output schema / properties / provider_statusAdded value: +{ + "description": "HTTP status code returned by the Google API for a failed call.", + "type": "integer" +}
- Changed
resolve_workspace_resource1 field changed- added
Output schema / properties / resource / typeAdded value: +"object"
15 tool updates
v0.3.7- First observed
call_tool - First observed
commit_workspace_action - First observed
connect_google_workspace - First observed
disconnect_google_workspace - First observed
files_file_manager - First observed
files_list_files - First observed
files_list_files_page - First observed
get_google_connection_status - First observed
get_mcp_apps_diagnostics - First observed
get_workspace_capabilities - First observed
prepare_workspace_action - First observed
refresh_workspace_catalog - First observed
resolve_workspace_resource - First observed
search_tools - First observed
search_workspace
TDQS
Scored across 15 tools
The service-specific search/digest tools are explicitly differentiated in their descriptions, and the prepare/commit/connect/disconnect/status tools have distinct roles. Minor overlap remains between search_tools, search_workspace, and the per-service search tools, but the descriptions generally steer selection well.
Most names are snake_case with service prefixes, but conventions are mixed: doubled prefixes appear in calendar_get_calendar_digest and tasks_tasks_digest, while generic meta-tools such as search_tools, call_tool, and get_google_connection_status break the verb_noun service pattern. The set is still readable overall.
Fifteen tools is a reasonable size for a tiered Google Workspace surface and avoids an unwieldy list. A few tools are meta or action scaffolding rather than direct domain operations, but each still earns a role.
The surface is heavily weighted toward read/search and connection management, with no create, update, delete, send, or share operations exposed directly. Several tools are referenced but absent, including gmail_read_emails, drive_get_file, calendar_read_events, tasks_list_tasks, and people_search_contacts, leaving many common workflows as dead ends.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
One MCP server for all your work accounts: Slack, Teams, Google Chat, Jira, ClickUp, digest, tasks.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for automating Google Workspace applications including Sheets, Apps Script, Drive, Docs, and Gmail. It enables users to manipulate spreadsheets, edit scripts, manage files, and send emails directly from conversational AI interfaces.31MIT
- FlicenseNot gradedqualityDmaintenanceA complete MCP server integrating Gmail and Google Docs, enabling email management (list, send, search, reply) and document operations (create, edit, search, share) through natural language.-
- AlicenseBqualityDmaintenanceComprehensive Google Workspace MCP server with Gmail, Drive, Calendar, and Contacts integration.2615 npmMIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to manage Google Workspace (Gmail and Calendar) through natural language, including reading/sending emails, managing events, and checking availability.-