Skip to main content
Glama

google-sheets-mcp

update_table_cells_by_range_tool

Modify cell data within a specified range in a Google Sheets table using A1 notation. Provide the spreadsheet, sheet, table names, start and end cells, and 2D array of values to update.

Instructions

Update table cells by range. This tool updates cell data in a specific range within a table. You can specify the exact cell range using A1 notation. Args: spreadsheet_name: Name of the spreadsheet sheet_name: Name of the sheet containing the table table_name: Name of the table to update start_cell: Starting cell reference (e.g., 'A1', 'B2') end_cell: Ending cell reference (e.g., 'C5', 'D10') cell_values: 2D array of values to update (rows x columns) Returns: JSON string with update details

Input Schema

NameRequiredDescriptionDefault
cell_valuesYes2D array of values to update (rows x columns) Must match the range dimensions based on start_cell and end_cell. EXAMPLE: For range 'A1:C2', you need 2 rows x 3 columns: [ ['Value1', 'Value2', 'Value3'], ['Value4', 'Value5', 'Value6'] ]
end_cellYesEnding cell reference (e.g., 'C5', 'D10')
sheet_nameYesThe name of the sheet containing the table
spreadsheet_nameYesThe name of the Google Spreadsheet
start_cellYesStarting cell reference (e.g., 'A1', 'B2')
table_nameYesName of the table to update

Input Schema (JSON Schema)

{ "properties": { "cell_values": { "description": "2D array of values to update (rows x columns)\n \n Must match the range dimensions based on start_cell and end_cell.\n \n EXAMPLE: For range 'A1:C2', you need 2 rows x 3 columns:\n [\n ['Value1', 'Value2', 'Value3'],\n ['Value4', 'Value5', 'Value6']\n ]\n ", "items": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] }, "type": "array" }, "title": "Cell Values", "type": "array" }, "end_cell": { "description": "Ending cell reference (e.g., 'C5', 'D10')", "title": "End Cell", "type": "string" }, "sheet_name": { "description": "The name of the sheet containing the table", "title": "Sheet Name", "type": "string" }, "spreadsheet_name": { "description": "The name of the Google Spreadsheet", "title": "Spreadsheet Name", "type": "string" }, "start_cell": { "description": "Starting cell reference (e.g., 'A1', 'B2')", "title": "Start Cell", "type": "string" }, "table_name": { "description": "Name of the table to update", "title": "Table Name", "type": "string" } }, "required": [ "spreadsheet_name", "sheet_name", "table_name", "start_cell", "end_cell", "cell_values" ], "title": "update_table_cells_by_range_toolArguments", "type": "object" }

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/henilcalagiya/google-sheets-mcp'

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