width

MCP tool from MCP Google Sheets by xing5

(optional integer, default 600): Width of the chart in pixels.

How to use it

width is exposed by the MCP Google Sheets MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the width 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@latest
FULL MCP GOOGLE SHEETS LISTING

Other tools in MCP Google Sheets (31)

add_columns
add_rows
batch_update
batch_update_cells
copy_sheet
create_sheet
create_spreadsheet
find_in_spreadsheet
folder_id

(optional string): Google Drive folder ID to search in. Get from its URL. If omitted, uses the configured default folder or searches 'My Drive'.

get_multiple_sheet_data
get_multiple_spreadsheet_summary
get_sheet_data

Read from spreadsheets

get_sheet_formulas
height

(optional integer, default 400): Height of the chart in pixels.

include_grid_data

(optional boolean, default False): If True, returns full grid data including formatting and metadata (much larger). If False, returns values only (more efficient).

list_folders
list_sheets

Navigate tabs

list_spreadsheets

Find spreadsheets

position_x

(optional integer, default 0): Horizontal position offset in pixels from the top-left corner.

position_y

(optional integer, default 0): Vertical position offset in pixels from the top-left corner.

range

(optional string): A1 notation (e.g., 'A1:C10', 'Sheet1!B2:D'). If omitted, reads the whole sheet/tab specified by sheet.

rename_sheet
rows_to_fetch

(optional integer, default 5): How many rows (including header) to preview. Example: 5.

search_spreadsheets
send_notification

(optional boolean, default True): Send email notifications to recipients.

share_spreadsheet
start_column

(optional integer, default 0): 0-based column index to start inserting. If omitted, defaults to 0 (inserts at the beginning).

start_row

(optional integer, default 0): 0-based row index to start inserting rows. If omitted, defaults to 0 (inserts at the beginning).

update_cells

Write to spreadsheets

x_axis_label

(optional string): Label for the X axis (bottom axis). Not applicable for pie charts.

y_axis_label

(optional string): Label for the Y axis (left axis). Not applicable for pie charts.