gworkspace-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_OAUTH_CLIENT_ID | No | OAuth client ID for Google Cloud project. | |
| GOOGLE_CLIENT_SECRET_PATH | No | Full path to the client_secret.json file for OAuth 2.0 Desktop credentials. | |
| GOOGLE_OAUTH_CLIENT_SECRET | No | OAuth client secret for Google Cloud project. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| workspace_connectA | Connect to a Google Spreadsheet and discover everything about it. Args: spreadsheet_url: Spreadsheet URL or ID script_url: Optional. The Apps Script URL or ID (from Extensions > Apps Script). Container-bound scripts don't appear in Drive API (Google limitation), so pass the script URL for full discovery. If omitted, only sheet structure is returned. Returns: sheet structure, and if script_url is provided: all files with functions, triggers, and deployments. |
| script_list_functionsB | List all functions in a script project with their file, signature, and line numbers. |
| script_get_functionB | Get the source code of a specific function by name. |
| script_get_fileC | Get the full source code of a file in the script project. |
| script_edit_functionB | Replace a specific function's source code. Only that function is modified. |
| script_add_functionC | Add a new function to an existing file. Appends at the end. |
| script_delete_functionB | Delete a function from the script project. |
| script_update_fileB | Replace the entire content of a file in the script project. |
| script_create_fileC | Create a new .gs file in the script project. |
| script_runB | Execute a function in a deployed script. Requires API Executable deployment. |
| sheets_readC | Read values from a sheet. Pass spreadsheet URL or ID. |
| sheets_writeC | Write values to a sheet range. values is a 2D array. |
| sheets_appendC | Append rows to the end of a sheet. |
| sheets_describeB | Get full structure of a spreadsheet: sheets, named ranges, protected ranges. |
| sheets_formatC | Format a range. Colors as hex (#RRGGBB). h_align: LEFT/CENTER/RIGHT. |
| sheets_protectC | Protect a sheet or range. If range_a1 is None, protects the entire sheet. |
| sheets_conditional_formatC | Add conditional formatting. rule_type: NUMBER_GREATER, NUMBER_LESS, NUMBER_EQ, TEXT_CONTAINS, TEXT_NOT_CONTAINS, CUSTOM_FORMULA. For CUSTOM_FORMULA, condition_value is the formula (e.g., '=A1>8'). |
| sheets_add_validationC | Add data validation. validation_type: DROPDOWN, CHECKBOX, NUMBER, DATE. For DROPDOWN, pass values as list of options. |
| sheets_add_tableB | Create a Google Sheets Table (the structured table feature, Ctrl+Alt+T). Converts a data range into a formal table with headers, banding, and filtering. |
| sheets_copy_sheetC | Copy a sheet from one spreadsheet to another. |
| drive_copyB | Copy a Drive file (spreadsheet, doc, etc). Returns the new file ID and URL. |
| drive_moveC | Move a file to a different folder. |
| drive_searchB | Search Drive files. Uses Drive query syntax. Examples: "name contains 'report'", "mimeType='application/vnd.google-apps.spreadsheet'". |
| drive_create_spreadsheetB | Create a new Google Spreadsheet. Returns ID and URL. |
| send_emailB | Send an email via Gmail. Set html=True for HTML body. cc/bcc are comma-separated email addresses. |
| send_html_emailC | Send an HTML email with optional plain-text fallback. |
| send_email_previewA | Preview an email without sending it. Returns the formatted message. |
| trigger_listB | List all triggers for a script project. |
| trigger_create_time_drivenB | Create a time-driven trigger via Apps Script execution. Generates and runs trigger setup code in the script. Options:
|
| trigger_deleteA | Delete a trigger by ID. Use trigger_list to find IDs. |
| generate_docsB | Generate functional documentation for a spreadsheet project. Analyzes the spreadsheet structure, script functions, triggers, and manifest to produce a complete technical document. Args: spreadsheet_url: Spreadsheet URL or ID script_url: Optional Apps Script URL or ID output: "sheet" writes a Documentacion tab in the spreadsheet, "text" returns the doc as text |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LeooNic/gworkspace-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server