Skip to main content
Glama

mcp-gsheets

sheets_batch_get_values

Retrieve values from multiple specified ranges in a Google Sheets spreadsheet using A1 notation, with options for major dimension and value representation.

Instructions

Get values from multiple ranges in a Google Sheets spreadsheet

Input Schema

NameRequiredDescriptionDefault
majorDimensionNoThe major dimension of the values (default: ROWS)
rangesYesArray of A1 notation ranges to retrieve (e.g., ["Sheet1!A1:B10", "Sheet2!C1:D5"])
spreadsheetIdYesThe ID of the spreadsheet (found in the URL after /d/)
valueRenderOptionNoHow values should be represented (default: FORMATTED_VALUE)

Input Schema (JSON Schema)

{ "properties": { "majorDimension": { "description": "The major dimension of the values (default: ROWS)", "enum": [ "ROWS", "COLUMNS" ], "type": "string" }, "ranges": { "description": "Array of A1 notation ranges to retrieve (e.g., [\"Sheet1!A1:B10\", \"Sheet2!C1:D5\"])", "items": { "type": "string" }, "type": "array" }, "spreadsheetId": { "description": "The ID of the spreadsheet (found in the URL after /d/)", "type": "string" }, "valueRenderOption": { "description": "How values should be represented (default: FORMATTED_VALUE)", "enum": [ "FORMATTED_VALUE", "UNFORMATTED_VALUE", "FORMULA" ], "type": "string" } }, "required": [ "spreadsheetId", "ranges" ], "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/freema/mcp-gsheets'

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