Skip to content

Conversation

@iqdoctor
Copy link
Contributor

  • Add optional boolean include_grid_data to get_sheet_data
    • True: use Sheets API with includeGridData to return full grid data with metadata
    • False (default): use Values API to return values only (more efficient)
  • Update docstring and README to document the new parameter and differing return shapes

- Add optional boolean `include_grid_data` to [get_sheet_data](/src/mcp_google_sheets/server.py:124:0-175:17)
  - True: use Sheets API with `includeGridData` to return full grid data with metadata
  - False (default): use Values API to return values only (more efficient)
- Update docstring and README to document the new parameter and differing return shapes
@iqdoctor
Copy link
Contributor Author

tnx

@iqdoctor
Copy link
Contributor Author

see: #31

@xing5
Copy link
Owner

xing5 commented Aug 21, 2025

This has been an issue for some use cases, thanks for the solution.

@iqdoctor
Copy link
Contributor Author

tnx for brilliant mcp!

cuzelac pushed a commit to cuzelac/mcp-google-sheets that referenced this pull request Sep 22, 2025
- Add optional boolean `include_grid_data` to [get_sheet_data](/src/mcp_google_sheets/server.py:124:0-175:17)
  - True: use Sheets API with `includeGridData` to return full grid data with metadata
  - False (default): use Values API to return values only (more efficient)
- Update docstring and README to document the new parameter and differing return shapes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants