x_axis_label
(optional string): Label for the X axis (bottom axis). Not applicable for pie charts.
How to use it
x_axis_label is exposed by the MCP Google Sheets MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the x_axis_label tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Google Sheets
uvx mcp-google-sheets@latestOther tools in MCP Google Sheets (31)
(optional string): Google Drive folder ID to search in. Get from its URL. If omitted, uses the configured default folder or searches 'My Drive'.
Read from spreadsheets
(optional integer, default 400): Height of the chart in pixels.
(optional boolean, default False): If True, returns full grid data including formatting and metadata (much larger). If False, returns values only (more efficient).
Navigate tabs
Find spreadsheets
(optional integer, default 0): Horizontal position offset in pixels from the top-left corner.
(optional integer, default 0): Vertical position offset in pixels from the top-left corner.
(optional string): A1 notation (e.g., 'A1:C10', 'Sheet1!B2:D'). If omitted, reads the whole sheet/tab specified by sheet.
(optional integer, default 5): How many rows (including header) to preview. Example: 5.
(optional boolean, default True): Send email notifications to recipients.
(optional integer, default 0): 0-based column index to start inserting. If omitted, defaults to 0 (inserts at the beginning).
(optional integer, default 0): 0-based row index to start inserting rows. If omitted, defaults to 0 (inserts at the beginning).
Write to spreadsheets
(optional integer, default 600): Width of the chart in pixels.
(optional string): Label for the Y axis (left axis). Not applicable for pie charts.