MCP server for Google Sheets, Drive, Docs, and Apps Script. 82 tools, read/write, OAuth2, for Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI, and any MCP client.
Strong foundation with comprehensive tool coverage (9 sampled tools shown). Tool names follow verb_noun convention (auth_status, script_create, sheets_batch_update). Descriptions are detailed and include WHEN/WHEN-NOT guidance, averaging ~250 chars, above the 194-char baseline. All sampled tools have input schemas with type definitions. However, schema completeness varies: some parameters lack descriptions (e.g., sheets_batch_update 'requests' array items lack per-property documentation), and output schemas are described in prose rather than formal JSON Schema. Error handling guidance is present in descriptions but not formalized in tool definitions. No tool annotations (readOnlyHint/destructiveHint) detected despite clear risk classifications in metadata.
Forces an immediate OAuth2 token refresh using the stored refresh token and returns the new access token expiry. Use when any tool returns a 401 error or when auth_status shows the access token is expired. Use to proactively refresh the token before a long batch operation. Do not use when: the token is still valid - check with auth_status first; no refresh token is stored - a full re-authentication requires restarting the server to trigger the browser OAuth2 flow. Returns: 'Token refreshed successfully.\nNew access token expires at: {isoString}'.
Returns the current OAuth2 token state including expiry timestamp, refresh token presence, credentials file path, and all granted scopes. Use when any tool returns a 401 or authentication error to diagnose whether the token is expired or missing. Use before calling auth_refresh to confirm the token is actually expired. Do not use when: the token is confirmed expired and you need to refresh it - use auth_refresh instead; all tools are working normally - no auth check is needed. Returns: multi-line block with tokens file path, refresh token status, access token expiry (marked EXPIRED if past), credentials file path, and a list of granted OAuth scopes.
Creates a new Apps Script project bound to a spreadsheet using script.projects.create; returns the scriptId needed for all subsequent script_ calls. Use when the user asks to add automation or custom functions to a spreadsheet for the first time. Use as the first step before calling script_update to write code and script_create_version to prepare for deployment. Do not use when: a script already exists for the spreadsheet - use script_get_bound to find it; reading existing script code - use script_get instead; writing code to an existing project - use script_update instead; running a function - use script_run instead; creating a version snapshot - use script_create_version instead; deploying a version - use script_deploy instead. Returns: 'Created Apps Script project\nscriptId: {scriptId}\nBound to spreadsheet: {parentId}\n\nNext: use script_update to add code.'. Parameters: - spreadsheet_id: spreadsheet ID or URL to bind the script to - title: display name for the script project, e.g. 'Inventory Automation' (optional).
sheets_batch_update 'requests' parameter lacks nested schema documentation. Array items are raw API objects with no per-property descriptions, forcing LLMs to consult external Google Sheets API docs.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) present despite clear risk classifications in metadata (READ_ONLY, WRITE). Clients cannot infer safety properties from tool definitions.
Output schemas documented only in prose descriptions, not as formal JSON Schema. LLMs cannot programmatically validate or parse responses; clients cannot auto-generate response handlers.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
Reads all files in an Apps Script project using script.projects.getContent, returning each file's name, type (SERVER_JS, HTML, JSON), and full source code. Use when the user asks to see the current code in a script project. Use when inspecting existing automation before modifying it with script_update. Do not use when: creating a new script project - use script_create instead; writing or replacing code - use script_update instead; finding a script bound to a spreadsheet - use script_get_bound instead; running a function - use script_run instead; creating a version - use script_create_version instead; deploying - use script_deploy instead. Returns: one block per file formatted as '-- {name} ({type}) --\n{source}'; blocks separated by blank lines. Parameters: - script_id: Apps Script project ID.
Finds Apps Script projects bound to a spreadsheet by searching Drive for scripts with the spreadsheet as parent and by name pattern; deduplicates results from both strategies. Use when the user asks whether a spreadsheet already has a script, or when looking up the scriptId before calling script_get or script_update. Use before script_create to avoid creating a duplicate project. Do not use when: creating a new project - use script_create instead; reading a known script's code - use script_get instead; writing code - use script_update instead; running a function - use script_run instead; creating a version - use script_create_version instead; deploying - use script_deploy instead. Returns: 'Found {N} script(s):\n\nscriptId: {id}\nname: {name}' per result; or a not-found message with instruction to use script_create. Parameters: - spreadsheet_id: spreadsheet ID or URL to search against.
Writes or replaces all files in an Apps Script project using script.projects.updateContent; files not included in the call are deleted. Auto-generates the appsscript.json manifest if not provided. Use when the user asks to write, update, or replace automation code in a script project. Use when adding new files or functions after creating a project with script_create. Do not use when: creating a new project - use script_create instead; reading existing code before editing - use script_get first; finding a bound script - use script_get_bound instead; running a function - use script_run instead; creating a snapshot before deploying - use script_create_version instead; deploying the script - use script_deploy instead. Returns: 'Updated {N} file(s): {name (TYPE), name (TYPE), ...}'. Parameters: - script_id: Apps Script project ID - files: array of objects with name (no extension), source (full code), and optional type (SERVER_JS default, HTML, JSON) - time_zone: IANA timezone for auto-generated manifest (optional; default America/New_York).
Sends arbitrary request objects to the Google Sheets API spreadsheets.batchUpdate endpoint directly; this is the raw escape hatch for any operation not covered by the other Sheets tools. Use when the user requires a Sheets API request type that has no dedicated tool, such as updateDeveloperMetadata or setBasicFilter with advanced options. Use when you need to combine several different request types in a single atomic call. Do not use when: a dedicated tool covers the operation - prefer sheets_format_cells, sheets_write_range, sheets_protect_range, sheets_add_conditional_format, sheets_add_sheet, sheets_insert_rows, sheets_resize_columns, sheets_set_validation, or any other specific Sheets tool because they validate inputs and return structured output; building a full table - use sheets_write_table; building a full sheet - use sheets_build_sheet. Returns: 'Batch update: {N} request(s), {N} reply(ies).\n{key IDs and titles extracted from each reply}'. Parameters: - requests: array of Google Sheets API request objects in their raw API shape, e.g. [{"addSheet":{"properties":{"title":"New"}}}].
Builds a formatted dashboard sheet with KPI metric cards, data tables, embedded charts, frozen header, and banded rows in batched API calls; creates or reuses the target tab. Use when the user asks to build an executive dashboard or summary view from structured data in one operation. Use when a sheet needs KPI cards, a data table, and charts composed together in a fixed layout. Do not use when: building a sheet with arbitrary section types and custom layouts - use sheets_build_sheet instead; creating a single formatted data table - use sheets_write_table instead; writing raw data without formatting - use sheets_write_range instead; adding a chart to an existing sheet - use sheets_create_chart instead. Returns: 'Dashboard built in sheet "{sheet}":\n Title: {t}\n KPIs: {N}\n Data tables: {N}\n Charts: {N}\n Formatting requests: {N}'. Parameters: - sheet_name: tab to build in (created if it does not exist) - kpis: array of {label, value} objects for metric cards - data_tables: array of table specs each with headers and rows - charts: array of chart specs referencing data ranges.
Creates an embedded chart in a Google Sheet using spreadsheets.batchUpdate with addChart; the first column of the data range is used as the X-axis domain and remaining columns as series. Use when the user asks to visualize data in a sheet as a bar, line, pie, scatter, area, column, or combo chart. Use when adding a chart to a dashboard sheet after building it with sheets_build_dashboard. Do not use when: removing an existing chart (use sheets_delete_chart with the returned chartId); building a full multi-chart dashboard from scratch (use sheets_build_dashboard); building a full formatted single sheet including optional charts in one declarative call (use sheets_build_sheet); highlighting cells based on rules rather than drawing a chart (use sheets_add_conditional_format or sheets_add_conditional_formats); applying static cell colors or borders for visual emphasis (use sheets_format_cells or sheets_apply_formats). Returns: 'Created {chart_type} chart (chartId: {chartId}) in sheet "{sheet}"'. The returned chartId is required by sheets_delete_chart. Parameters: - chart_type: one of BAR, LINE, PIE, SCATTER, AREA, COLUMN, COMBO - data_range: A1 notation range where the first column is X-axis labels, e.g. 'Sheet1!A1:C20' - sheet: tab name or ID where the chart will be embedded.
sheets_create_chart and sheets_build_dashboard accept complex nested objects (series, data_tables, charts) with minimal inline documentation. Nested parameter schemas lack type definitions for array items.
Error handling in tool descriptions is narrative ('Use when...') but not formalized. No structured error codes, recovery hints, or categorization (retryable vs user-fixable vs fatal) in tool definitions.