Skip to main content
Glama

Google Workspace MCP Server

by ZatesloFL

modify_sheet_values

Update, write, or clear values in a specific range of a Google Sheet. Specify the range, input values, and user email to modify spreadsheet data efficiently.

Instructions

Modifies values in a specific range of a Google Sheet - can write, update, or clear values.

Args: user_google_email (str): The user's Google email address. Required. spreadsheet_id (str): The ID of the spreadsheet. Required. range_name (str): The range to modify (e.g., "Sheet1!A1:D10", "A1:D10"). Required. values (Optional[Union[str, List[List[str]]]]): 2D array of values to write/update. Can be a JSON string or Python list. Required unless clear_values=True. value_input_option (str): How to interpret input values ("RAW" or "USER_ENTERED"). Defaults to "USER_ENTERED". clear_values (bool): If True, clears the range instead of writing values. Defaults to False.

Returns: str: Confirmation message of the successful modification operation.

Input Schema

NameRequiredDescriptionDefault
clear_valuesNo
range_nameYes
spreadsheet_idYes
user_google_emailYes
value_input_optionNoUSER_ENTERED
valuesNo

Input Schema (JSON Schema)

{ "properties": { "clear_values": { "default": false, "title": "Clear Values", "type": "boolean" }, "range_name": { "title": "Range Name", "type": "string" }, "spreadsheet_id": { "title": "Spreadsheet Id", "type": "string" }, "user_google_email": { "title": "User Google Email", "type": "string" }, "value_input_option": { "default": "USER_ENTERED", "title": "Value Input Option", "type": "string" }, "values": { "anyOf": [ { "type": "string" }, { "items": { "items": { "type": "string" }, "type": "array" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Values" } }, "required": [ "user_google_email", "spreadsheet_id", "range_name" ], "type": "object" }

Other Tools from Google Workspace MCP Server

Related Tools

    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/ZatesloFL/google_workspace_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server