Skip to main content
Glama
toantran201
by toantran201

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOOLSNoComma-separated list of tools to expose (blank = all)
USER_NAMENoName stamped onto add_rows writes
GOOGLE_PRIVATE_KEYNoPrivate key for service account (from JSON key file)
GOOGLE_OAUTH_CLIENT_IDNoOAuth client ID for per-user authentication
GOOGLE_OAUTH_CLIENT_SECRETNoOAuth client secret for per-user authentication
GOOGLE_SERVICE_ACCOUNT_EMAILNoService account email for headless authentication

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_spreadsheet_infoA

Returns metadata about a spreadsheet: title, sheet names, IDs, and dimensions.

get_sheet_schemaA

Returns the structural schema of a sheet tab: column names, dropdown options, checkboxes, data types (date/number/currency), formula-protected fields, and instructional notes. Use this before write operations to understand column constraints.

create_sheetB

Creates a new sheet tab in the spreadsheet.

rename_sheetA

Renames a sheet tab. Identify the sheet by sheet_id or old_title.

get_sheet_dataB

Reads cell values from a range in A1 notation (e.g. 'Sheet1!A1:D10' or 'Sheet1' for the entire tab).

find_rowsA

Searches a sheet tab for rows whose cell value matches query and returns each match with its 1-based sheet row index (feed straight into update_row / delete_rows). Restrict to one column by 1-based column index OR by column_header name (resolved via header_row); omit both to search every column. Matches the raw unformatted value (numbers/dates by their underlying value, not displayed text). The header_row is treated as headers and excluded from matches.

add_rowsB

Appends rows to the bottom of a sheet tab.

add_columnsA

Inserts empty columns into a sheet tab at a position, or appends them at the right edge.

update_rowA

Overwrites cells in a single row, left to right, starting at start_column (default column A). Only the cells covered by values are written — cells outside that span are left untouched, so you can update specific columns without rewriting the whole row.

delete_rowsA

Permanently deletes a contiguous block of rows from a sheet tab, shifting the rows below upward. Deletes count rows (default 1) starting at the 1-based start_row. Destructive — cannot be undone via the API.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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

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